I want to change the start address of the IntelHex file and also update the checksum. I am new to intelhex format and so I went through the documentation. I saw a attribute called start_addr and used it. But after that. it is not reflecting in the first line of the intelhex file.
PS: Pardon my writing style its my first time on stackoverflow.
My code -:
from intelhex import IntelHex
hx = IntelHex()
hx.fromfile('copy.hex', format='hex')2
hx.start_addr = {'EIP': 2149580800}
The first line of the intelhex file is -:
:0200000480007A
After running the code, the first line remains unchanged. Please help.
You are never actually saving your changes to any file: