Hi,
I am trying to program the ATmega128A-AU microcontroller via an arduino UNO with ISP in windows 11. I have use the below method before some years (in windows 10) and worked on the same MCU. Now always I am getting the same error "avrdude: stk500_getsync(): not in sync: resp=0x00".
The ATmega128A-AU is a brand new chip and also the Arduino Uno can be programmed from the Arduino IDE v2.3.4, so the bootloader of the arduino it works fine I assume. Any ideas?
Running AVRDUDEhttps://www.ladyada.net/learn/avr/avrdude.htmlWrite CMD commands:avrdude -c arduino -b 19200 -p m128 -P COM3 -U flash:w:mega128_flash.hex:i //Flash Write
avrdude -c arduino -b 19200 -p m128 -P COM3 -U eeprom:w:mega128_eeprom.hex:i //Eeprom Write
avrdude -c arduino -b 19200 -p m128 -P COM3 -U hfuse:w:mega128_hfuse.hex:i //High Fuse Write
avrdude -c arduino -b 19200 -p m128 -P COM3 -U lfuse:w:mega128_lfuse.hex:i //Low Fuse Write
avrdude -c arduino -b 19200 -p m128 -P COM3 -U efuse:w:mega128_efuse.hex:i //Extended Fuse Write
Arduino as ISP and Arduino Bootloaders
https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP/