Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Question about .hex file with or without a bootloader (Read 797 times)
jirkaptr
Junior Member
**
Offline


Posts: 14
Location: CZ
Joined: Dec 14th, 2016
Question about .hex file with or without a bootloader
Mar 31st, 2023 at 6:55pm
Print Post  
In my experience, Build (always?) creates both versions of the files (<project>.ino.hex and <project>.ino.bootloader.hex).
What decides which of the two *.hex files gets uploaded by command "Build and Upload" or "Upload the last build"?
« Last Edit: Mar 31st, 2023 at 8:02pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Question about .hex file with or without a bootloader
Reply #1 - Mar 31st, 2023 at 8:05pm
Print Post  
All build and upload commands use whetever is specified in the core of the board package that you have installed. The correct .hex file is found in the build folder. The build folder can be seen in the verbose output or by enable "vMicro>Compiler>Show build folder"

If you have enabled the vMicro>Compiler>Export function that also creates a special version of the hex with bootloader. It replicates the functionality of the arduino ide. The file is for your own use via a custom uploader. It might not be applicable for some boards.

« Last Edit: Mar 31st, 2023 at 8:06pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint