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 1: | Line 1: | ||
+ | Argon firmware file contains embedded software for [[Argon (servo drive)]]. Firmware file is generated by makefirmware utily. | ||
==File format byte by byte== | ==File format byte by byte== | ||
All multibyte integers are stored LSB first. | All multibyte integers are stored LSB first. | ||
− | |||
===Header=== | ===Header=== | ||
IDString - 4 bytes, always="GDFW" | IDString - 4 bytes, always="GDFW" | ||
− | BLFileVersion - 2 bytes, | + | BLFileVersion - 2 bytes, current=300 |
− | TargetDriveType - 2 bytes, Argon=4000, Ion= | + | TargetDriveType - 2 bytes, Argon=4000, Ion=5000 |
HostFWbytes - 4 bytes, number of bytes for STM32 CPU | HostFWbytes - 4 bytes, number of bytes for STM32 CPU | ||
− | GCFWbytes - 4 bytes, number of bytes for GraniteCore CPU or | + | GCFWbytes - 4 bytes, number of bytes for GraniteCore CPU or 0 if not included |
− | + | ||
===Data=== | ===Data=== | ||
Data of HostFW begins. Amount of bytes is HostFWbytes | Data of HostFW begins. Amount of bytes is HostFWbytes | ||
− | Data of | + | Data of GCW begins. Amount of bytes is GCFWbytes |
− | + | ||
===File checksum=== | ===File checksum=== | ||
FileCksum - 4 bytes calculated from the current file. Simply sum of all unsigned bytes in file except CKSum itself | FileCksum - 4 bytes calculated from the current file. Simply sum of all unsigned bytes in file except CKSum itself | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |