A different bootloader? Cool. Got some links?
I just tried flashing Soarer's Converter onto my blue Pro Micro (at last). The GND+RST reset thing is a bit of a pain to do. But I did manage to get the .hex onto it via avrdude, following some instructions Scott told me a while ago.
For notes to remind myself what I just learned:
On OS X, you install
CrossPack to get Avrdude. Then you identify the port to flash to by running this command in Terminal, while zapping those pins to get the Pro Micro in loader mode:
ls -l /dev/cu.*
In my case three things turned up, and the only one that wasn't a built in device on my Mac was:
/dev/cu.usbmodem1451
So for me the flashing command is:
avrdude -p atmega32u4 -P /dev/cu.usbmodem1451 -c avr109 -U flash:w:filename.hex
A few attempts at flashing it with Soarer's Converter then followed:
- Code: Select all
Johns-MacBook-Pro:~ John$ avrdude -p atmega32u4 -P /dev/cu.usbmodem1451 -c avr109 -U flash:w:/Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
Johns-MacBook-Pro:~ John$ avrdude -p atmega32u4 -P /dev/cu.usbmodem1451 -c avr109 -U flash:w:/Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1451": No such file or directory
Eavrdude: butterfly_recv(): programmer is not responding
Johns-MacBook-Pro:~ John$ avrdude -p atmega32u4 -P /dev/cu.usbmodem1451 -c avr109 -U flash:w:/Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9587
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "/Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex"
avrdude: input file /Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex auto detected as Intel Hex
avrdude: writing flash (14414 bytes):
Writing | ################################################## | 100% 1.09s
avrdude: 14414 bytes of flash written
avrdude: verifying flash memory against /Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex:
avrdude: load data flash data from input file /Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex:
avrdude: input file /Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex auto detected as Intel Hex
avrdude: input file /Users/John/Dropbox/Keybored/Soarer_Converter_v1.10/firmware/Soarer_at2usb_v1.12_atmega32u4.hex contains 14414 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.12s
avrdude: verifying ...
avrdude: 14414 bytes of flash verified
avrdude: safemode: Fuses OK (H:CB, E:D8, L:FF)
avrdude done. Thank you.
Yay! Soarer's utilities seem to kinda sorta work. For instance:
- Code: Select all
Johns-MacBook-Pro:10.6 intel John$ ./scwr ../10.5\ ppc/SpaceInvader
scwr v1.10
scwr: looking for Soarer's Converter: found
scwr: reading file: 179 bytes: ok
scwr: sending info request: ok
device: failed to respond
Huh? Okay, let's reboot the converter.
- Code: Select all
Johns-MacBook-Pro:10.6 intel John$ ./scboot
scboot v1.10
scboot: looking for Soarer's Converter: found
scboot: sending boot request: ok
device: failed to respond
Nope. Right, let's try getting some info:
- Code: Select all
Johns-MacBook-Pro:10.6 intel John$ ./scinfo
scinfo v1.10
scinfo: looking for Soarer's Converter: found
scinfo: sending info request: ok
device: failed to respond
Ugh. How about hid_listen?
- Code: Select all
Johns-MacBook-Pro:10.6 intel John$ ./hid_listen
Waiting for device:...
Listening:
wEE
remaining: FFFC
Keyboard ID: 0000
Code Set: 1
Mode: PC/XT
^C
Well, that's something at least. I need to hook up an actual keyboard to see if this is really working. One good thing is that startup is instant for Soarer on this thing. Phew!
But why is that orange LED on the whole time? Hmm…