I’m have a working system whit remote Log.
Now I am trying to make a Pi working for local Logging. Therefore have a second Pi whit a RFM112B.
I can’t get inputs on the Pi. The led on the RFM12B is not blinking but burns continued.
Therefore I tried to update the RFM12B following next lines.
Upgrading RFM12Pi Firmware Direct from the Pi
Since the Raspberry Pi lacks a DTR pin that makes it oh-so-easy to upload your hex files into the avr, we need this hack to make it just as easy. Thanks to JCW from JeLabs for working this out and Martin Harizanov for implementing it for the RFM12Pi.
$ sudo apt-get update
$ sudo apt-get install arduino
$ sudo apt-get install python-dev&&python-rpi.gpio
$ git clone https://github.com/mharizanov/avrdude-rpi.git
$ cd avrdude-rpi
$ sudo cp autoreset /usr/bin
$ sudo cp avrdude-autoreset /usr/bin
$ sudo mv /usr/bin/avrdude /usr/bin/avrdude-original
$ sudo ln -s /usr/bin/avrdude-autoreset /usr/bin/avrdude
$ cd /home/pi
$ git clone https://github.com/openenergymonitor/RFM2Pi
$ cd RFM2Pi/firmware/RF12_Demo_atmega328
$ sudo service emonhub stop
$ avrdude -v -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 38400 -U flash:w:RF12_Demo_atmega328.cpp.hex
$ sudo service emonhub start
I find out that the directory “RF12_Demo_ATmega328” in the Image 2017 not exist but is named RFM69CW_RF_Demo_ATmega328
I tried following line;
avrdude -v -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 38400 -U flash:w:RFM69VW_RF_Demo_atmega328.cpp.hex
But this is not working. What I doing wrong?