Page | 30
8.6
Bootloader Detailed Process
8.6.1
Detailed Description
When the L100 enters the Bootloader, the device is in the “Waiting State” with “Bootloader…” in Line 0
of the LCD display. In this state, the device can only receive the
Get Version
command. The expected
response is the Bootloader version.
The L100 can receive the
Get Version
command and all Data Blocks commands:
•
If the L100 successfully receives
Get Version
command, it respond with “Bootloader” characters.
•
If the L100 successfully receives a
Data Block
command, it verifies the block data format,
version, and signature.
•
If verification is OK, the L100 copies the block data into the Application Area and responds
ACK
.
•
If verification produces an error, the L100 responds
NAK
with an error code and waits for the
block data again. If one data block continuously fails three times, the L100 erases all applications
and responds
NAK
with an error code, then waits for the first data block in the Bootloader state.
If the Bootloader times out (30 seconds), and if the application is not modified, the L100 returns to the
old application; otherwise the L100 erases all applications and exist in the Bootloader state.
8.6.1
Enter into Bootloader
Command Body:
78 46 7A 49 52 46 57 00 00 00 00 00 00 00 00
Command Example
STX
Len
Low
Len
High
Command Body
LRC
CHK
SUM
ETX
02
0F
00
78 46 7A 49 52 46 57 00 00 00 00 00 00 00
00
4E
70
03
Output Hex String: 78 46 7A 49 52 46 57 00 00 00 00 00 00 00 00
Response Body:
06 – Device has the function, or:
15 – Device does not have the function.
8.7
PIN Pad and MSR Pairing Solution
Step 1: Host sends Pairing MSR KSN from MSR device
Command Body:
75 46 10 00 + [20 bytes ASCII KSN]
Command Example
STX
Len
Low
Len
High
Command Body
LRC
CHK
SUM
ETX
02
00
75 46 10 00 + [20 bytes ASCII KSN]
03
Output Hex String: