I’ve got an emonTx connected to the onboard serial on a a RasPi.
This works for comms, but presumably to be able to program the ATMega328 on the emonTx from the Pi, I need a way of resetting the ATMega.
https://wiki.openenergymonitor.org/index.php/EmonPi shows the EmonPi uses GPIO4 for that. Does that go to the reset pin on the ATMega328?
How does avrdude know that’s on GPIO 4? - the examples don’t seem to include anything on the command line to supply that?
Is it easier to use a USB serial adapter and connect up the DTR pin?