Hi, sometimes things go wrong….for example if you try to burn owSilProg into an Arduino Nano (for programming an ESC with BlHeli later) and you don’t choose the right bootloader….. 😦 😦 😦
That’s happened to me last day, one of the leds was blinking so fast and the Nano was not responding…. so I made a few google search and found a lot of info about getting Nano back to life but all the info involved the use of another Arduino board. The solution is easy, just use your USBAsp programmer stick to fix the Nano. If you have a Turnigy or similar 9x radio and you have loaded custom firmware like OpenTX or Er9x I’m sure you have a USBAsp stick in your aresenal.
First you have to “link” USBAsp with the Arduino Nano
Just follow the schem and put 6 wires from:
Nano USBAsp
GND GND
Vcc Vcc
Miso Miso
SCK SCK
RST RST
Mosi Mosi
Next step is download this pack and UnZip it
DOWNLOAD
Connect the USBAsp into an USB port
Open a command windows (cmd)
Go tot the folder which contains de unzipped pack
Type :
avrdude -p m168 -c usbasp -U flash:w:BLHeliBox_v120_lcd4884_no5_m328p_16MHz_pb3pb4.hex -U lock:w:0x0f:m
Press Intro
You'll see something like this:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9406
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 "BLHeliBox_v120_lcd4884_no5_m328p_16MHz_pb3pb4.hex"
avrdude: input file BLHeliBox_v120_lcd4884_no5_m328p_16MHz_pb3pb4.hex as Intel Hex
avrdude: writing flash (16294 bytes): Writing | ################################################## | 100% lock data: Reading | ################################################## | 100% 0.01s avrdude: verifying ..
............................................................................................
avrdude: 1 bytes of lock verified avrdude: safemode: Fuses OK avrdude done. Thank you.
ATENTION: I've used BLHeliBox_v120_lcd4884_no5_m328p_16MHz_pb3pb4.hex as my bootloader because my Arduino nano works its a 168 Atmega 16Mhz clock but you must use the one which fits yours.
READY !!! Back to Life :) Your Arduino Nano should be ready to be flashed again, just follow the Olliw Tutorial http://www.olliw.eu/2012/owsilprog-tutorials/