I need to load some changes I’ve made to firmware. The instructions say
# Grab latest firmware for RFM69Pi and perform the upload via serial $ git clone https://github.com/openenergymonitor/RFM2Pi.git $ cd RFM2Pi/firmware/RFM69CW_RF_Demo_ATmega328/ $ sudo service emonhub stop $ avrdude -v -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 38400 -U flash:w:RFM69CW_RF12_Demo_ATmega328.cpp.hex $ sudo service emonhub start
I’ve downloaded the latest firmware from git hub for RFM2Pi and this seems to be at version 1.4 slightly odd as my RFM69pi was brought recently yet no updates have been made for two years if I’m reading things correctly. Anyway useful to test my upload.
I’ve downloaded the pio and used pio run to build new firmware
However the command I need to use is actually:
avrdude -v -c arduino -p ATMEGA328P -P /dev/ttyS0 -b 38400 -U flash:w:firmware.hex
As the firmware seems to be name firmware.hex and the serial line is different.
Running this command however just seems to hang. If I break in after a few minutes it terminates and the device still works but its stall at version 1.3. I assume I should see some output.