I’m trying to upgrade the firmware on my EmonTx3 which is currently at version 1.5. I have a USB to TTL converter not bought from the OEM shop (they don’t seem to have any!). It has 5v, GND,TX and RX lines (and 3v3) but no RST output. I’ve connected it to the EmonTx3 and used tio
to list the configuration, check the version etc. No problem. However when I plug it into the EmonPi and use the Admin interface to update the firmware, I get the following:
-------------------------------------------------------------
emonTxV34CM_jeelib Firmware Upload
-------------------------------------------------------------
Downloading firmware from:
https://github.com/openenergymonitor/EmonTxV3CM/releases/download/2.0.0/firmware.hex
Downloaded file:
-rw-r--r-- 1 pi pi 78K Dec 7 2021 /opt/openenergymonitor/data/firmware/emonTxV34CM_jeelib.hex
EmonHub is running, stopping EmonHub
Uploading emonTxV34CM_jeelib on serial port ttyUSB0
Attempt 1...
avrdude-original: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude-original done. Thank you.
avrdude-original: Using autoreset DTR on GPIO Pin 7
avrdude-original: Using autoreset DTR on GPIO Pin 7
ERROR: Not in sync
Restarting EmonHub
Looking through some posts it seems as though I might need to use the RST pin (there are references to ‘wire up the RST pin’ on some topics relating to serial comms out of the EmonTx3) but I can’t find any explanation of what this means, or how to upgrade firmware using a non-OEM USB adapter.
Can anyone point me in the right direction?