Hello! I'm very new to Arduino. I'm trying to program my device through the command line by using the "avrdude" and "avrdude.conf" copied from the ide.
I can program with the ide, it generates this command:
C:\Users\goku6\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\goku6\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega4809 -cjtag2updi -PCOM3 -b115200 -e -D -Uflash:w:C:\Users\goku6\AppData\Local\Temp\arduino_build_293019/basn_core_v1_test.ino.hex:i -Ufuse2:w:0x01:m -Ufuse5:w:0xC9:m -Ufuse8:w:0x00:m {upload.extra_files}
I took the files it's referencing, copied them into a different folder, and ran this version of the command:
avrdude -C avrdude.conf -v -p atmega4809 -c jtag2updi -PCOM3 -b115200 -e -D -Uflash:w:basn_core_v1_test.ino.hex:i -Ufuse2:w:0x01:m -Ufuse5:w:0xC9:m -Ufuse8:w:0x00:m {upload.extra_files}
When I run the second command I get this output:
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is avrdude.conf
Using Port : COM3
Using Programmer : jtag2updi
Overriding Baud Rate : 115200
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
Any idea on how I can fix this? I feel like I'm missing some step, but not sure what. Thank you in advance!