Want to update one address location in hex file

Thread Starter

ep.hobbyiest

Joined Aug 26, 2014
201
In my one project i want to give some serial number and want to store it in the flash for the first time while flashing.
I don't want to build the project again for updating the serial number.

Is it possible to update the address location in .bin using any tool command line and flash the updated binary to the board?
 

Papabravo

Joined Feb 24, 2006
21,159
When you say "hex file" do you mean an Intel HEX format file as opposed to a binary file where you would use something like HxD?
 

Thread Starter

ep.hobbyiest

Joined Aug 26, 2014
201

bug13

Joined Feb 13, 2012
2,002
I mean to say .bin binary file. Yes i am trying HxD tool. I am having linux. So for that tool i am arranging windows machine.

Yes, this is what i am looking for. But i am using stm32 processor for this project.
If you don't have to have to serial number in order, you maybe able to use the UID in stm32. From memory it's 96 bits unique ID globally.
 
Top