system
October 26, 2008, 10:09am
1
i reset the passkey on my arduino bt several months ago by changing the bootloader.
apparently i forgot the passkey, and now everytime i try to pair the device with my MacBook Pro running Leopard, it tells me the passkey is incorrect.
any suggestions???
system
October 26, 2008, 3:49pm
2
Maybe you can use avrdude to download the contents of the flash to your computer and search for the passkey
avrdude -F -v -v -v -v -pm168 -cstk500v1 -P/dev/ttyUSB0 -b19200 -D -Uflash:r:program.bin:r
This will download the contents of the flash on your ATmega chip to your PC as binary and write it to program.bin
It works on Linux, on other operating systems change your USB port in the -P accordingly
You can use the "strings" command to find text inside the binary file, which should help you find the passkey
You can also use a parallel programmer to upload a new bootloader sketch to the Arduino. You don't need a passkey for that. A cheap and easy solution is the USBtinyISP from ladyada.
Hans.