MSR120D Programmer’s Manual UDN PM009 Rev. E
Section 6 – Firmware Download 2005/2/23
¾
Command Sets
This section describes the download commands and responses available for the reader. Except command BL,
the download commands are effective only in boot mode.
Each download command description includes its data element, size and comments. The comments provide an
explanation of each data element. The letter 'H/h' written in size column is an abbreviation of 'hexadecimal'.
Except transfer data command 06, all download commands are preceded by a header, hex code 09h, and
terminated with one byte {LRC}. {LRC} is an XOR of the 8 data bits of each character in the entire download
command.
Download Command Format:
<09Hex><Address><Command Length><Command>[Data 1][Data 2]<LRC>
Note: Default <Address> is 00h; <Command length> is in hex value; [Data] is optional.
Data Element
Size
Comments
<Header> 1H
Download Command Header, value: 09h
<Address> 1H
Address, value: 00h (default)
<Command Length>
1H
Indicate the length of <command> and [data]
<Command> 2H
Command code
[Data] 1H
Optional
{LRC} 1H
Error Check
Maximum: 8 characters Minimum: 6 characters
Download Commands
The download commands are used to enter boot mode and do firmware related functions between host and reader.
Command
Description
Effective Mode
BL
Request the reader to enter boot mode
Both in system and boot mode
RS
Programming reset
Boot mode only
CS
Request checksum of system program
Boot mode only
ES
Erase system program area by filling with FFh
Boot mode only
BC
Blank check
Boot mode only
PRG
Programming indicator
Boot mode only
06
Start programming
Boot mode only
Page 28
Total 42 pages