Upgrading RFM12Pi Firmware Direct from the Pi not working

Hi everyone,

I just received my RFM12Pi v2 daughterboard and I've started playing with it.

Ultimately I would like to be able to communication with La Cross Technology IT+ sensors, so I'm preparing to modify the Arduino code running on the board.

I've followed the directions here first: http://wiki.openenergymonitor.org/index.php?title=RFM12Pi_V2#Upgrading_RFM12Pi_Firmware_Direct_from_the_Pi so that I can validate the way I upload Arduino code to the board, but it's not working :-(

Here is the output of the flash command:

root@rpi:/home/alexandre/weather/RFM2Pi/firmware/RF12_Demo_atmega328# avrdude -v  -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 38400 -U flash:w:RF12_Demo_atmega328.cpp.hex

avrdude-original: Version 5.11.1, compiled on May 23 2012 at 11:08:25
                  Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                  Copyright (c) 2007-2009 Joerg Wunsch

                  System wide configuration file is "/etc/avrdude.conf"
                  User configuration file is "/root/.avrduderc"
                  User configuration file does not exist or is not a regular file, skipping

                  Using Port                    : /dev/ttyAMA0
                  Using Programmer              : arduino
                  Overriding Baud Rate          : 38400
done with autoreset
avrdude-original: stk500_getsync(): not in sync: resp=0xe0

After that my Raspberry becomes unresponsive and I have to reboot it to regain access. I've also tried to interact with the board through serial port via a little Python script but I did not get some convincing results, except turning on and off the activity LED...

Am I missing something here?


mharizanov's picture

Re: Upgrading RFM12Pi Firmware Direct from the Pi not working



see if this can help, the second part of the post contains info on how to flsh new firmware:



cybergibbons's picture

Re: Upgrading RFM12Pi Firmware Direct from the Pi not working

Is the console to serial disabled?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.