cancel
Showing results for 
Search instead for 
Did you mean: 

How to write plain intel hex to flash?

gfxfloro
Senior

Hi,

I would like to copy the exact contents of a hex file to the flash memory of my f446 nucleo, complete with byte count, address info ....

Is there any way to do this? Using ST-Link I can only find options to actually flash the hex file or manually alter single hex addresses.

Thanks!

21 REPLIES 21
gfxfloro
Senior

Thank you all for your answers, I think I will implement some form of the AN4286 protocol after all, this also leaves it up to the master to interpret the file type and it's a well documented protocol.

Picking JWs answer as best, since this is what comes closest to be the solution for my original problem.

>>Why not just transmit the binary?

Or regenerate a Motorola, Intel or Tektronix HEX file data stream on-the-fly?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..