So before my PC software starts loading a new upgrade image I want it to check two things :
1. That the file selected is a valid firmware file.
2. What the upgrade image version number is.
It looks like the first 4 bytes of an upgrade image binary are always 0x7B, 0x8A, 0xFF, 0x00 which will probably help with (1), but I'm not sure how to do (2).
Is there a document somewhere which describes the upgrade image binary format so I can extract this information from the binary on a PC before I try to load it?
Checking upgrade flash image
-
- XCore Addict
- Posts: 131
- Joined: Wed Aug 03, 2011 9:13 am
-
- XCore Addict
- Posts: 158
- Joined: Thu Mar 20, 2014 8:04 am
Try using the 'libflash api's available in 'xTIMEcomposer-User-Guide.pdf' to get the version details and upgrade operations.
Actual format of the image stored does not seem to be readily available as a documented notes.
Actual format of the image stored does not seem to be readily available as a documented notes.