Lantronix PNT Series PNT-SG3FS GNSS Module Software User Guide - Page 24
Firmware Update Algorithm Protocol
View all Lantronix PNT Series manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 24 highlights
2. Firmware Version Firmware Update Algorithm Protocol The PNT-SG3FS supports firmware upgrades. Both the Host and PNT-SG3FS have to follow a well-defined protocol. Warning: Ensure that the Voltage VCC and VCC_IO are applied and stable throughout the firmware upgrade process; a power outage, during the firmware upgrade procedure, could force PNT-SG3FS in an unrecoverable state. Firmware upgrade has a preliminary phase to synchronize the Host and the PNT-SG3FS. Just after the synchronization with the device, the Host must send the binary image options. These options are packed inside a structure; below there's the description and the specific values: struct ImageOptions { unsigned char reserved_0; unsigned char reserved_1; unsigned char chunk_size; unsigned char reserved_2; unsigned int firmwareSize;unsigned int firmwareCRC; unsigned int reserved_3; unsigned int reserved_4; } img_option = { .reserved_0 = 1, .reserved_1= 0, .chunk_size = , .reserved_2= 1, .firmwareSize = , .firmwareCRC = , .reserved_3 = 0x00100000, .reserved_4 = 0x00100000, }; PNT-SG3FS GNSS Module Software User Guide 24