I’m trying covert a hex document data from a different file format and having the data start from a specific address that stated within the code. ive tried using a python script using intel hex but only seem to get text documents that add the address added onto each line. but once converted in notepad plus the address will be added to the dump instead of changing the address. does anyone know any solution to this, open to using different languages if need be.
ih = IntelHex()
ih.loadhex(‘address file’)
ihdict = ih.todict()
data = []
startAddress = 0x0001F400
while ihdict.get(startAddress) is not None:
data.append(ihdict.get(startAddress))
startAddress += 1
heres what ive currently have
user25330688 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.