How to upload hexadecimal file in arduino?

Hello everyone, can someone tell me how to upload the .hex file to an Arduino either through the IDE or a different application. Or if it is possible to create an application in Visual Studio (I know how to program in visual basic) to upload the file.
thanks in advance!

Hello dear, I downloaded AVRDUDESS and I see that it is an older version, in this I do not see the option for the Arduino programmer only. I have tried selecting several programmers and it does not work.

Select "Arduino for bootloader using STK500 v1 protocol"

It's strange, it stops at this step.
I am using an Arduino Leonardo "ATMega32U4"

I've only used it for the 328 but for the 32u4 i think you need to select
"Atmel for bootloader using AppNote AVR109/911"

Assuming that you want to upload over USB:
You will first have to reset the board to invoke the bootloader; this can be done by (double) tapping the reset or by opening and closing the serial port at 1200 baud. After that you have 8 seconds to upload via USB.
The command line tool to upload to a Leonardo is called avrdude; you can find the exact command if you enable verbose output during upload in the IDE and do an upload.

It works now, selecting UpNote AVR109/911 and tapping the reset button twice.

I have one last question, why in the PC device manager the Arduino Leonardo is in COM10 and COM13 appears in the IDE output

Thank you both for your help

The Leonardo bootloader has a different pid (in vid/pid) than the Leonardo that runs the sketch. The rest is up to the operating system.

I want to use AVRDUDESS so that a client can upload updates to his project, so I will only send him the .hex and not the .ino, but since he does not have the IDE installed, he will only be able to see the port number in the device manager, but this is not the same one he should put in AVRDUDESS, how could he know which port to put?

Double tap reset (a single tap is probably enough) and observe the change in Windows Device Manager. A different port labeled "Arduino Leonardo bootloader (COMx)" will show.

You can automate the process using Powershell in combination with avrdude (maybe also with avrdudess or maybe that reset is built-in in avrdudess; you'll have to look around).

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