Inspecting ActiveGPS flash memory
ActiveGPS flashloader shows Flash content + EEPROM content. I removed EEPROM content from the end of the dump (*** EEPROM .....) and copy-pasted content into txt file Python code to convert hex to bin file import binascii with open("agps-flash-eeprom.txt") as fd_in, open("agps-fw.bin", "wb") as fd_out: for line in fd_in: line = line.strip() line = line.replace('\n', '') line = line.replace('\r', '') line = line[7:] line = line.replace(' ', '') chunk = binascii.unhexlify(line) fd_out.write(chunk) print("Ok") Inspecting the bin file with Ghidra (PIC18)