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 22: | Line 22: | ||
− | ==GDF version | + | ==GDF version 310 - draft== |
===Header=== | ===Header=== | ||
− | + | IDString - 4 bytes, always="GDFW" | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | BLFileVersion - 2 bytes, value=310 | |
− | + | TargetDriveType - 2 bytes, Argon=4000, Ion=11000, Atomi=14000 | |
− | + | HostFWbytes - 4 bytes, number of bytes for STM32 CPU | |
+ | |||
+ | GCFWbytes - 4 bytes, number of bytes for GraniteCore CPU or 0xffffffff if not included | ||
+ | |||
+ | BLBackwardsCompatibilityVersion - 2 bytes. Value indicates if file is backwards comaptible with older versions (i.e. BLFileVersion may be >310 but if BLBackwardsCompatibilityVersion==310, then software supporting only up to 310 will be able to use this file) | ||
+ | |||
+ | AdditionalHeaderVariabalesAmount - 4 bytes, number of following structures in the header | ||
+ | |||
+ | ''Following items are optional - following ValueID & Value pairs repeats AdditionalHeaderVariabalesAmount times'' | ||
+ | |||
+ | ValueID - 2 bytes, specifies type of data | ||
+ | |||
+ | Value - 4 bytes | ||
+ | |||
+ | ''List of currently supported ValueIDs'' | ||
+ | * ValueID=100: Value contains unique binary file ID used by SimpleMotion deployment tool API | ||
+ | |||
+ | ===Data=== | ||
+ | Data of HostFW begins. Amount of bytes is HostFWbytes | ||
+ | |||
+ | Data of GCFW begins. Amount of bytes is GCFWbytes | ||
+ | |||
+ | ===File checksum=== | ||
+ | FileCksum - 4 bytes calculated from the current file. Simply sum of all unsigned bytes in file except CKSum itself |