I have everything working and I am able to upload a hex file to my Uno chip, but I’m not sure why it’s saying the device signature is invalid.
Apparently I’m supposed to use a custom version of avrdude?
If possible I’d really like to get this working with no warnings just using the standard build of avrdude.
Does anyone know how to achieve this?
Here are the commands being issued during reset/upload.
for STTYF in 'stty --file' 'stty -f' 'stty <' ; \ do $STTYF /dev/tty >/dev/null 2>/dev/null && break ; \ done ;\ $STTYF /dev/ttyACM0 hupcl ;\ (sleep 0.1 || sleep 1) ;\ $STTYF /dev/ttyACM0 -hupcl /usr/bin/avrdude -q -V -p atmega328p -C /etc/avrdude.conf -c stk500v1 -b 115200 -P /dev/ttyACM0 -F \ -U flash:w:build-cli/helloworld.hex:i avrdude: AVR device initialized and ready to accept instructions avrdude: Device signature = 0x000000 avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATMEGA328P is 1E 95 0F avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "build-cli/helloworld.hex" avrdude: writing flash (2212 bytes): avrdude: 2212 bytes of flash written avrdude: safemode: Fuses OK avrdude done. Thank you.