Toshiba H1 Series Data Book page 58

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

d) Notes on Intel Hex format (binary)
1.
After receiving the checksum of a record, the boot program waits for the start
mark (3AH for ":") of the next record. If data other than 3AH is received
between records, it is ignored.
2.
Once the PC program has finished sending the checksum of an end record, it
must wait for 2 bytes of data (upper and lower bytes of SUM) before sending
any other data. This is because after receiving the checksum of an end record,
the boot program calculates SUM and returns the result to the PC in 2 bytes.
3.
Writing to areas other than internal RAM may cause incorrect operation. To
transfer a record, set the paragraph address to 0000H.
4.
Since the address pointer is initially set to 00H, the record type to be
transferred first does not have to be an address record.
5.
Addresses 3000H to 49800H are allocated as the user program download
area.
6.
A user program in Intel Hex format (ASCII codes) must be converted into
binary data in advance, as explained in the example below.
Example: How to convert an Intel Hex file into binary format
The following shows how an Intel Hex format file is displayed on a text editor.
: 103000000607F100030000F201030000B1F16010B7
: 00000001FF
However, the actual data consists of ASCII codes, as shown below.
3A3130333030303030303630374631303030333030303046323031303330303030
423146313630313042370D0A3A303030303030303146460D0A
Thus, the ASCII codes must be converted into binary data based on the conversion rules
shown in the table below.
ASCII Code
3A
30 to 39
41 or 61
42 or 62
43 or 63
44 or 64
45 or 65
46 or 66
0D0A
Intel Hex format
Data record
End record
Binary Data
3A (Only 3A remains the same.)
0 to 9
A
B
C
D
E
F
Delete
3A 10 3000 00 0607F100030000F201030000B1F16010 B7
Data
Record type
Address
Record length
: (Start mark)
3A 00 0000 01 FF
Data
Record type
Address
Record length
: (Start mark)
92CZ26A-55
TMP92CZ26A
Checksum

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents