October 17, 2009
about 5 years ago
I am trying (unsuccessfully) to flash the firmware in my OpenLog using usbtiny.
I have connected MISO, MOSI SCK, VCC, and GND pins of OpenLog to corresponding pins of the programming cable. I am using this avrdude syntax:
avrdude -c usbtiny -p atmega328p -P usb -F -U flash:w:main.hex:i
And getting this:
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude done. Thank you.
I have noticed that we have 1k resistor on SCK pin (17). Is it the reason? will simply removing it fix the problem? or should I somehow remove the bootloader first?
N.B. I can program stand alone AVR’s…
I just received my openLog. Unfortunately, I see only empty files or files with 32kb of giberish (as seen in emacs). I am using 2Gb microSD card from Samsung. At the power-up the first led flashes and then he second flashes and stays on. I did verify that the card is FAT16 formated.
I do not have FTDI Basic so I can’t really debug with a terminal.
Question: is the default to start logging data or to wait for a command from terminal?
No public wish lists :(
Forgot your password?
No account? Register one!