debug fresh build

edited February 2015 in Troubleshooting
So maybe I am a little rusty but I cant seem to get up and running from a blank chip:

Voltages all check out, SD card formatted and plugged in

Flash AVR with 


avrdude -B 100 -V -p m644 -c avrispmkII -P usb -e -u -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfc:m

avrdude -B 1 -V -p m644 -c avrispmkII -P usb -e -u -U flash:w:bootloader.hex:i

avrdude -B 1 -V -p m644 -c avrispmkII -P usb -e -u -U lock:w:0x2F:m 

Press the encoder on reset and nothing.  Did I miss a step somewhere?



Comments

  • edited February 2015
    my guess is the -e option is the culprit here.
    this tells avrdude to make a full "chip erase"
    so the 3rd step will erase the software that was flashed in the 2nd step

    I would also remove the "-V" option, so the content of the AVR will be verified after programming it.

    I don't know what the "-u remove safemode" option does.


  • that did it.  thanks (sweeping out cobwebs)
Sign In or Register to comment.