DvMega update with AVRDUDE from RaspberryPI
apt-get install avrdude
quindi fare riferimento a questo link
https://github.com/openenergymonitor/avrdude-rpi ( default is PIN7 on the RPI ( GPIO4 ) )
Per la DvMega aggiungere il collegamento come nella foto sotto per simulare il DTR quindi
root@raspberrypi:/home/dvmega # avrdude -p m328p -c arduino -P /dev/ttyAMA0 -b 115200 -F -U flash:w:DVMEGA_HB_V223_UNO.cpp.hex -v
Here the DvMega mod
here is Rasperry pinout