Forum breadcrumbs - You are here:ForumGeneral: HelpHex File
You need to log in to create posts and topics.

Hex File

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.

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.