If I manually alter a .hex file with a hex editor and then upload it to a microcontroller (Maxim MAXQ610A), will the code run? Or is there a checksum buried in the .hex file that will prevent the binary from running if I manually alter it?
I'm making a device that will have a device ID (4 byte string) hard coded into the firmware, but the device ID needs to be changed for each device. The device ID is used by the firmware during operation. My thought was I would have the compiler output a .hex file, then manually edit the .hex file with a hex editor to alter the device ID before uploading the .hex file to each chip. What I don't know is if the chip does any validation on the code before running it, such as comparing against an expected checksum that is also stored in the .hex file, etc.. This is my first foray into this type of project and I would be grateful to anyone who can help with any info or tips.
I'm making a device that will have a device ID (4 byte string) hard coded into the firmware, but the device ID needs to be changed for each device. The device ID is used by the firmware during operation. My thought was I would have the compiler output a .hex file, then manually edit the .hex file with a hex editor to alter the device ID before uploading the .hex file to each chip. What I don't know is if the chip does any validation on the code before running it, such as comparing against an expected checksum that is also stored in the .hex file, etc.. This is my first foray into this type of project and I would be grateful to anyone who can help with any info or tips.