Reference Manual Preliminary
Prox–DU & Prox–SU
www.gemalto.com Release for first samples Do not use for final design
DOC118569A Public Use Page 114/134
Downloaded File Format
The beginning of the file must contain the information needed to program the firmware and
to verify it.
Firmware size (4 bytes): This is the total size of the data firmware that will be downloaded
SHA firmware signature (digest 20 bytes): This is the signature of the firmware to control its
integrity after deciphering at the end of the download operation.
The firmware data are following the file header.
The whole file is ciphered using a 3DES key.
The keys to decipher the downloaded file are resident into the boot-loader.
Boot-loader USB descriptors
Device Descriptor
This is the same descriptor than the descriptor for the reader firmware, PID = 0x5502
except.
Configuration Descriptor
The device has only one interface for proprietary commands.
The device is Bus Powered (no external power).
The device doesn’t support remote wake.
The maximum power current is 200 mA.
Configuration Descriptor
Offset Value Field
0 0x09 bLength (9 bytes)
1 0x02 bDescriptorType (configuration)
0x22
2
0x00
wTotalLength of the Configuration Descriptor (configuration + interface +
endpoint class specific + 1 endpoint) 9 + 9 + 9 + 7 = 34
4 0x01 bNumInterfaces (number of interface = 1)
5 0x01 bConfigurationValue
6 0x00 iConfiguration (ignored)
7 0x80
bmAttributes (b6 = 0 Bus powered, b0 = 1 Remote Wake Up Not
supported)
8 0x64 MaxPower (100 x 2 = 300 mA)
Table 53 – USB Boot-loader Configuration Descriptor
Interface descriptor
The interface for the proprietary command is HID.
This is the same descriptor than the HID descriptor for the reader firmware.
Refer to the “USB Descriptors” paragraph for more information.
HID class descriptor
This is the same descriptor than the HID class descriptor for the reader firmware.
Refer to the “USB Descriptors” paragraph for more information.
HID endpoint descriptor