HEX code on Arduino Nano Every with MEGA4805

Hello professionals,

I have a hex file, which I have previously installed on the (old) Arduino with Studio7 and the six-pin connector.
Now I have bought the new Arduino Nano Every with the processor MEGA4809 and had to find out that the six-pin connector has been omitted. It cannot be retrofitted due to the lack of holes.

How can I load my HEX file on this Arduino? Is this also possible via the USB socket? I am grateful for any tips.
Joachim

Hallo Fachleute,

ich habe ein Hex-File, was ich bisher mit Studio7 und den sechspoligen Connector auf den (alten) Arduino aufgespielt habe.
Jetzt habe ich den neuen Arduino Nano Every mit dem Prozessor MEGA4809 gekauft und musste feststellen, dass der sechspolige Connector entfallen ist. Er ist auch wegen fehlender Bohrungen auch nicht nachrüstbar.

Wie kann ich bei diesem Arduino mein HEX-File laden? Geht das auch über die USB-Buchse? Für jegliche Tipps bin ich dankbar.
Joachim

Did the HEX file was compiled for the same controller - MEGA4809 ?

What exactly is the HEX file ?

If it is the compiled sketch that runs on the old Arduino then it is vey unlikely to run on the new one

No, for the old prozessor.

OK, understood. But if I have a HEX file compiled for the new processor, how can I load it?

To load the firmware to Atmega4809 you need an UPDI programmer:

Hi @achim1152. You can use the AVRDUDE uploader tool to upload the .hex file to the Nano Every through its USB cable (the board has a built-in UPDI programmer).

Make sure to add an -r flag to the avrdude command so that it will perform the "1200 bps touch" that is required to put the Nano Every's USB interface chip into its UPDI programmer mode:

https://avrdudes.github.io/avrdude/7.3/avrdude_4.html#index-Option-_002dr

Hello,

funny idea. You have a compiled program for an old controller. Which one anyway? You can't flash a program to another controller. That does not work. Your program is not written for the ATmega4809 and also not compiled.
You must rewrite the program code for the Nano Every / ATmega4809, then compile it and then flash it.

Thank you.
Joachim

and please correct the subject line
ATmega4809

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.