avrdudes / avrdude

AVRDUDE is a utility to program AVR microcontrollers
GNU General Public License v2.0
758 stars 139 forks source link

"programmer atmelice_updi and part ATmega4809 have no programming modes in common" #1928

Closed chetbox closed 1 month ago

chetbox commented 1 month ago

I got the following error:

Error: programmer atmelice_updi and part ATmega4809 have no programming modes in common
use -c? -p ATmega4809 to see all possible programmers for ATmega4809

Which seems to be contradicted by the list of available programmers:

$ avrdude -c '?' -p ATmega4809      

Valid programmers for part ATmega4809 are:
  adafruit_gemma     = Trinket Gemma bootloader disguised as USBtiny (SPM)
  arduino            = Arduino bootloader using STK500 v1 protocol (SPM)
  arduino_gemma      = Arduino Gemma bootloader disguised as USBtiny (SPM)
  atmelice_updi      = Atmel-ICE (UPDI)
  ...

Avrdude version 8.0 with macOS 15.0 M1 MacBook Pro.

Note that I am using an Avrdude config designed for version 6 and attempting to use it with version 8.

I also see the following errors above the one mentioned ☝🏼 but I'm not sure if they're related:

Warning: avr_mem_order[] does not know data; add to array and recompile
Error: unable to locate AVR8X family common values's signature in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:324]
Error: unable to locate AVR8X family common values's prodsig in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:324]
Error: unable to locate AVR8X family common values's data in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:324]
Error: unable to locate AVR8X mega family common values's signature in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:342]
Error: unable to locate AVR8X mega family common values's prodsig in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:342]
Error: unable to locate AVR8X mega family common values's data in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:342]
Error: unable to locate ATmega4809's signature in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:366]
Error: unable to locate ATmega4809's prodsig in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:366]
Error: unable to locate ATmega4809's data in multi-memory address space
Warning: revise fileio_mem_offset(), avrdude.conf entry or memory type assignment [avrdude.conf:366]
Warning: system wide configuration file version ()
does not match Avrdude build version (8.0)
MCUdude commented 1 month ago

Note that I am using an Avrdude config designed for version 6 and attempting to use it with version 8.

This is the problem. Use a configuration file that's designed to work with 8.0