Editing Firmware file format (.gdf)
Your changes will be displayed to readers once an authorized user accepts them. (help) |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 28: | Line 28: | ||
/* GDF version 400 format | /* GDF version 400 format | ||
* ---------------------- | * ---------------------- | ||
− | |||
− | |||
− | |||
* | * | ||
* Binary file contents | * Binary file contents | ||
Line 38: | Line 35: | ||
* | * | ||
* 4 ASCII string = "GDFW" | * 4 ASCII string = "GDFW" | ||
− | * 2 | + | * 2 version = 400 |
− | * 2 | + | * 2 backwards compatible version = 400 |
− | * 4 | + | * 4 target device type ID |
* 4 number of data chunks in file = N | * 4 number of data chunks in file = N | ||
* | * | ||
* repeat N times: | * repeat N times: | ||
− | |||
− | |||
* 4 data chunk type | * 4 data chunk type | ||
* 4 data chunk option bits | * 4 data chunk option bits | ||
Line 56: | Line 51: | ||
* data chunk types | * data chunk types | ||
* ---------------- | * ---------------- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* 100=main MCU FW binary, S=any | * 100=main MCU FW binary, S=any | ||
− | * 101=main MCU FW unique identifier number | + | * 101=main MCU FW unique identifier number, S=4 |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
* 200=secondary MCU FW binary, S=any | * 200=secondary MCU FW binary, S=any | ||
− | |||
− | |||
* | * | ||
* data chunk option bits | * data chunk option bits | ||
* ---------------------- | * ---------------------- | ||
* bit 0: if 1, GDF loading application must support/understand the chunk type to use this file | * bit 0: if 1, GDF loading application must support/understand the chunk type to use this file | ||
− | |||
* | * | ||
− | */</pre> | + | */ |
+ | </pre> | ||
For practical reading software implementation, see devicedeployment.c from SimpleMotion library. | For practical reading software implementation, see devicedeployment.c from SimpleMotion library. | ||
− | |||
− | |||
− | |||
− |