Changes between Version 4 and Version 5 of ak2tousb


Ignore:
Timestamp:
Aug 30, 2010, 8:58:41 PM (14 years ago)
Author:
pulkomandy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ak2tousb

    v4 v5  
    3636 * The caps-lock key is handled by the keyboard, which means it send a "key pressed" event when it is enabled and a "key released" even when it is disabled. However, the PC wants to get "pressed then released" at both times. So we have to cheat and build up events for this key.
    3737 * Some keys on the amiga keyboard doesn't exist on the pc. We remap Help to F12, and \| (azerty) on F11. There are others, more suitable keycodes for them in HID (there is a help keycode for example) but Windows doesn't handle them.
     38
     39== Upgrading the firmware ==
     40
     41Here are instructions on how to upgrade the firmware :
     42 * You need a PC with windows or linux, or another OS that can run avrdude.
     43 * You need another keyboard to control the computer while the adapter is in upgrade mode
     44 * You need AVRDude ( http://savannah.nongnu.org/projects/avrdude ) or another software that can handle 'usbasp' programming
     45 * You need the latest firmware .hex file
     46
     47Now how to actually do it :
     48 * Unplug the adapter from the computer
     49 * Open the adapter
     50 * Inside there is a jumper, when the jumper is closed te adpater will enter upgrade mode, when it is open the adapter works as expected
     51 * Close the jumper
     52 * Plug in the adapter again. It should be detected as 'usb asp', not 'amikey'.
     53 * Run the firmware upgrade command :
     54{{{
     55avrdude -c usbasp -p atmega8 -Uflash:w:keyboard.hex
     56}}}
     57 * Wait for it to finish. It is not too long.
     58 * Unplug the adapter
     59 * Open the jumper
     60 * Close the box
     61 * Replugthe adapter.
     62
     63And you're done!