×

SparkFun Electronics will be closed on November 26, 2020 and November 27, 2020 for the Thanksgiving holiday. We will begin normal operations at 9:00 AM Mountain Time on November 30, 2020.

×

Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

NewJersey

Member Since: October 17, 2009

Country: United States

  • Gentlemen!
    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?
    Thank you,
    James
    N.B. I can program stand alone AVR's...

  • never mind!

  • Hi,
    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 :(