Giter VIP home page Giter VIP logo

kinesis-freestyle-fw-hack's Introduction

Kinesis Freestyle Firmware Hacking

Hardware

On the underside of the right half of the keyboard (the side where the USB cable comes out), remove the black label covering the FW Update connector. From the side we're looking, the pinout is:

---------------
\  5   4   3  /
 \   2   1   /
  -----------

1: VCC (3v3)
2: EEPROM Write Protect (high = protected)
3: SCL
4: SDA
5: GND

Connect the Bus Pirate accordingly, in I2C 100kHz mode.

Read FW

Read the whole EEPROM with [0xa0 0x00][0xa1 r:1025] (disregard last byte).

Write FW

To write the whole EEPROM, put pin 2 low (use BP aux pin), group in sets of 16 bytes, then issue these commands to the bus pirate:

[ 0xa0 0x00 <byte> ... <byte> ] %:500
[ 0xa0 0x10 <byte> ... <byte> ] %:500
...
[ 0xa0 0xf0 <byte> ... <byte> ] %:500
[ 0xa2 0x00 <byte> ... <byte> ] %:500
[ 0xa2 0x10 <byte> ... <byte> ] %:500
...
[ 0xa2 0xf0 <byte> ... <byte> ] %:500
[ 0xa4 0x00 <byte> ... <byte> ] %:500
...
[ 0xa4 0xf0 <byte> ... <byte> ] %:500
[ 0xa6 0x00 <byte> ... <byte> ] %:500
...
[ 0xa6 0xf0 <byte> ... <byte> ]

And that's all. Note the address bytes are 0xa0, 0xa2, 0xa4, 0xa6, each is repeated 16 times. The second byte is the address within that block, in 16 increments each (since we're giving 16 bytes in each command). In total, 16 bytes x 16 addrs per block x 4 blocks = 1024 bytes = THE WHOLE ADDRESS SPACE! See write-mac-flash.txt with an example.

Alternative keymaps

I did an experimental remap to the Colemak layout, at the firmware level. Configure your keyboard as a standard QWERTY US in OSX, and flash the Kinesis-Mac-Colemak into the freestyle's EEPROM. There's also a write-mac-colemak-flash.txt script ready for the Bus Pirate.

Software

I haven't played with SW yet. Some info can be found in this blogpost.

kinesis-freestyle-fw-hack's People

Contributors

rbasoalto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.