main
Last change
on this file since 3fde1f7 was 3fde1f7, checked in by PulkoMandy <pulkomandy@…>, 6 months ago |
pcw2hid: Fixup programming instructions
Use a very slow SCK clock for loading up the fuses
Use a somewhat slow clock for loading up the bootloader
This allows to get both of them loaded reliably.
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[a6ad6e8] | 1 | Amstrad PCW keyboard to HID adapter
|
---|
| 2 | ===================================
|
---|
[f8899ff] | 3 |
|
---|
[a6ad6e8] | 4 | This adapter allows to connect the keyboard from the Amstrad PCW to a modern computer using USB.
|
---|
[f8899ff] | 5 |
|
---|
| 6 | It is powered by an AT90USB AVR microcontroller, because these implement USB in
|
---|
| 7 | hardware and make it easy to implement an HID device.
|
---|
| 8 |
|
---|
| 9 | You need the LUFA USB stack to compile this project. I am not including it to
|
---|
| 10 | avoid code duplication. Download and extract it yourself, or set the LUFA_PATH variable
|
---|
| 11 | to where you already have it when compiling.
|
---|
[cde4666] | 12 |
|
---|
| 13 | TODO
|
---|
| 14 | ====
|
---|
| 15 |
|
---|
| 16 | - Finalize keymap
|
---|
[3fde1f7] | 17 |
|
---|
| 18 | Programming the device
|
---|
| 19 | ======================
|
---|
| 20 |
|
---|
| 21 | Connect the board to the STK500 programmer ISP6 connector, make sure the clock is running, if not,
|
---|
| 22 | connect the crystal from the STK500 to the board crystal outermost pin.
|
---|
| 23 |
|
---|
| 24 | pushd code ; make fuse ; popd
|
---|
| 25 | pushd bootloader ; make avrdude ; popd
|
---|
| 26 |
|
---|
| 27 | Then connect the board by USB. It should be in DFU mode
|
---|
| 28 |
|
---|
| 29 | pushd code ; make flash ; popd
|
---|
| 30 |
|
---|
| 31 | Disconnect and reconnect the board, it should still be in DFU mode
|
---|
| 32 |
|
---|
| 33 | Finally connect the keyboard to the board and reconnect it, this time it should show up as keyboard.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.