Device programming with AVR Dragon not found ATmega1609?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

HI everybody.

 

I have a board with a ATmega1609. I have installed the package needed for it to compile in atmel studio, but when I open up the Device Programming section and select my AVR Dragon I can't find the ATmega1609. Do I need to install another package of some sort? Do I need another programmer?

 

Cheers!

Code is everything, code is life :D
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gproduct wrote:
Do I need another programmer?
Yes

ATMEGA1609 - 8-bit Microcontrollers (Development Environment tab, Programmers button)

Atmel ICE - preferred for AVR

MPLAB PICkit 4 - set it to EDBG by selecting a former Atmel MCU in MPLAB X or MPLAB X IPE; it's not tested for mega1609 in MPLAB X v5.25 (is tested for mega3209 and mega4809) though will likely be functional.

MPLAB Snap - tested for a significant number of PIC

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:

gproduct wrote:
Do I need another programmer?
Yes

ATMEGA1609 - 8-bit Microcontrollers (Development Environment tab, Programmers button)

Atmel ICE - preferred for AVR

MPLAB PICkit 4 - set it to EDBG by selecting a former Atmel MCU in MPLAB X or MPLAB X IPE; it's not tested for mega1609 in MPLAB X v5.25 (is tested for mega3209 and mega4809) though will likely be functional.

MPLAB Snap - tested for a significant number of PIC

 

 

Yeah just realized it myself with research, good thing the UDPI pin is exposed.

 

I can't really get to any of those programmers, but can this work? https://github.com/ElTangas/STK2...

Code is everything, code is life :D
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:

Yes

 

 

Alright thanks!

Code is everything, code is life :D
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

gproduct wrote:
I can't really get to any of those programmers, but can this work? https://github.com/ElTangas/STK2...

 

Unfortunately, no, it just works with the tiny AVR-0/1 series, not the mega. This is because it has some hardcoded values unsuitable for the mega series.

This program is mostly an hack, and I'm not actively developing it anymore.

 

If you want a "free" programmer, I highly recommend that you use one of these instead:

jtag2updi - a development of the previous program. It uses avrdude to do most of the hard work - https://github.com/ElTangas/jtag...

PyUPDI - written by mraardvark from Atmel/Microchip - https://github.com/mraardvark/py...

 

Problem is, you will need to configure Studio to use external tools.

 

edit: I think pyupdi is not yet updated to work with the mega1609, but I'm sure if you request it to mraardvark it will be updated easily.

Last Edited: Sat. Aug 31, 2019 - 11:26 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

El Tangas wrote:
Problem is, you will need to configure Studio to use external tools.
Arduino to Atmel Studio 7 external programmers, ISP and serial programming | AVR Freaks

 

"Dare to be naïve." - Buckminster Fuller