This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

One cause for error 61: illegal hex module

Hi every body,

I use uVision 4 to load an existing H86 binary file into an XC2336 MCU. The issue I have encountered exists probably for other architectures (ARM...)
The project doesn't contain any source file, but only settings to flash a given binary.

I had the following error in the Build Output window, when trying to load the firmware.

Load "C:\\firmware.H86"
*** error 61: illegal hex module

Actually, the file was in UNIX format, i.e. that the Carriage Return were missing.
Not a big issue, but the error message was not explicit enough.

I hope that my post will help people the encounter the same issue.

0