Reputation: 525
I have a HEX file for my application on dsPIC33, now I want to send the file over to microcontroller via serially.
As the HEX file generated by the compiler are intel hex format, I tried to convert it to binary with arm-none-eabi-objcopy
, which, as expected does not work.
Is there any tool to convert HEX or ELF files to raw binary for dsPIC33?
Upvotes: 1
Views: 1981
Reputation: 1
So I have to look through/read .hex files on occasion, much easier when they are in .bin. If you have a linux host, install hex2bin, and then just simply execute "./hex2bin <filename.hex>", then use something like GHex to read through the file.
Upvotes: 0
Reputation: 4288
You could use the MPLAx IPE.
When you load your .hex
file and bulid an environment you will get an .bin
file,
Upvotes: 1