Hex File

Quote from 23005590 on April 2, 2025, 4:37 pmWhen i try to run code while using an atmega328 AVR I get an error saying a hex file doesn't exist how do I fix this.
When i try to run code while using an atmega328 AVR I get an error saying a hex file doesn't exist how do I fix this.

Quote from LWT98709 on April 4, 2025, 2:28 amDo you already have the .hex file?
If you already have the .hex file, right-click on the Atmega and select "load firmware" to find your .hex file.How did you compile the program to get a .hex file?
On the page "https://simulide.com/p/compiler/", you can find a complete explanation of how to do this with SimulIDE.
Personally, for Arduinos, I use the Arduino IDE compiler, not SimulIDE. In Arduino IDE, you have to do "Sketch > Export Compiled Binary," which produces a .hex file.
Do you already have the .hex file?
If you already have the .hex file, right-click on the Atmega and select "load firmware" to find your .hex file.
How did you compile the program to get a .hex file?
On the page "https://simulide.com/p/compiler/", you can find a complete explanation of how to do this with SimulIDE.
Personally, for Arduinos, I use the Arduino IDE compiler, not SimulIDE. In Arduino IDE, you have to do "Sketch > Export Compiled Binary," which produces a .hex file.