Toshiba H1 Series Data Book page 68

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

Advertisement

b.
Notes on the user program 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.
Since the address pointer is initially set to 00H, the record type to be
transferred first does not have to be an address record.
3.
Addresses 3000H to 497FFH (282 Kbytes) are allocated as the user program
download area. The user program should be contained within this area.
4.
A user program in Intel Hex format (normally written in ASCII code) must be
converted into binary data before it can be transferred. See the example
below for how to convert an Intel Hex file into binary format.
When a user program is downloaded via USB, the maximum allowed record
length is 250 bytes.
Example: Transfer data when writing 16-byte data in Intel Hex format from address 3000H
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~39
41 or 61
42 or 62
43 or 63
44 or 64
45 or 65
46 or 66
0D0A
The above Intel Hex file is converted into binary data as follows:
Data record
End record
Binary Data
3A (Only 3A remains the same.)
0~9
Delete
3A 10 3000 00 0607F100030000F201030000B1F16010 B7
Data
Record type
Address
Record length
: (Start mark\)
3A 00 0000 01 FF
Checksum
Record type
Address
Record length
: (Start mark)
92CZ26A-65
TMP92CZ26A
A
B
C
D
E
F
Checksum

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents