Download Print this page

Toshiba TLCS-900/H1 Series Manual page 466

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

b.
Notes on user program format (Binary)
1.
After receiving the checksum of a record, the device waits for the start
mark (3AH for ": ") of the next record.The device therefore ignores all
data received between records during that time unless the data is 3AH.
2.
The first record type is not needed as an address record because the
initial value of the address pointer is 00H.
3.
The user program is assigned to the address from 3000H to 57FFH and it
should be within 10 Kbytes.
4.
In the user program, change the Intel Hex format file (usually ASCII
code) to binary format and transfer it. The example below explains how to
make a binary format file. (This is the same as with UART.)
Make sure that the maximum data number of 1 record is FAH for the
user program.
Example: Transfer data case of writing 16 bytes data from address 3000H by Intel
Hex format file.
The following is an example of display in text editor where an Intel Hex format file is opened.
: 103000000607F100030000F201030000B1F16010B7
: 00000001FF
In fact, their data are as below because ASCII code is used for Intel Hex format files.
3A3130333030303030303630374631303030333030303046323031303330303030
423146313630313042370D0A3A303030303030303146460D0A
So, first convert the above data to binary format using the table below.
Before (ASCII)
3A
30 to 39
41 or 61
42 or 62
43 or 63
44 or 64
45 or 65
46 or 66
0D0A
The Intel Hex format and its meaning are given below.
Data record
End record
After (Binary)
3A (Only 3A should not be converted.)
0 to 9
Delete it
3A 10 3000 00 0607F100030000F201030000B1F16010 B7
Data
Record type
Address
Data number
: (Start mark)
3A 00 0000 01 FF
Data
Record type
Address
Data number
: (Start mark)
92CH21-464
A
B
C
D
E
F
TMP92CH21
Checksum
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21