4 - Commands
4.6
Command 0x0711 – Download Firmware File
The iDynamo5 Gen III API and physical interfaces impose a limit on the complete message size,
restricting it to less than 64k. Given that the firmware file size is reported to be approximately 128k, the
file needs to be transmitted in large chunks using multiple commands. Each command may require
further packetization based on the specific interface rules. To ensure compatibility with interface
restrictions, the parameter data length should be kept below the maximum allowable size. It is advised to
maintain a parameter data length in the range of approximately 1k to 16k.
File loading can be terminated by issuing a Load command with a File Size parameter set to 0. The
device should return an error if parameter checking fails. It is recommended to authenticate the file
before providing it to the bootloader.
Table 4-13 Download Firmware Command
Command
Varies – includes 8 bytes for file size and index
0x0711
Table 4-14 Download Firmware Parameters
Length
Field Name
4
File Size
File
4
Offset/Index
varies
Part of file
As an example, suppose the firmware size is 16K and we aim to transmit it in 4K segments. At the
command level:
0711 1008 00004000 00000000 <first 4k of firmware file>
0711 1008 00004000 00001000 <2nd 4k>
0711 1008 00004000 00002000 < 3rd 4k>
0711 1008 00004000 00003000 <last 4k>
For iOS, the framing and SLIP bytes should be added. For USB HID, each large command must be
segmented into smaller packets, following the same process used for breaking down any other large
command (using the V5 extended command format)
4.7
Command 0x0712 – Update Firmware from File
Table 4-15 Update Firmware
Command
0x0712
This command initiates the device's switch to the bootloader for flash updating. It is expected to fail and
return an error under two conditions:
1. If the device has not received an authenticated firmware file or,
iDynamo 5 Gen III| Secure Card Reader | Programmer's Manual (COMMANDS)
Parameter Data Len
Value
Size of firmware file
Offset/Index – Also equal to file downloaded so far.
Data size should be (Param Data Len – 8)
Parameter Data Len
0x0000
Page 24 of 48 (D998200587-101)
Parameter Data
See Table
Parameter Data
none
Need help?
Do you have a question about the iDynamo 5 Gen III and is the answer not in the manual?
Questions and answers