Toshiba TLCS-900/H1 Series Data Book page 425

32bit micro controller
Hide thumbs Also See for TLCS-900/H1 Series:
Table of Contents

Advertisement

d) Notes on extended intel-hex format (binary)
1.
After receiving the checksum of a record, the device waits for the start mark (3AH for
":") of the next record. Therefore, the device ignores all data received between records
during that time unless the data is 3AH.
2.
Make sure that once the controller program has finished sending the checksum of the
end record, it does not send anything and waits for two byes of data to be received
(upper and lower bytes of SUM). This is because after receiving the checksum of the
end record, the boot-program calculates the SUM and returns the calculated SUM in
two bytes to the controller.
3.
It becomes the cause of incorrect operation to write to areas out of device's internal
RAM. Therefore, when an extended record is transmitted, be sure to set a paragraph
address to 0000H.
4.
Always make sure the first record type is an extended record. Because the initial value
of the address pointer is 00H.
5.
Address 3000H to 57FFH are assigned to load user-program. So it must be less than
10Kbyte.
6.
Beforehand, convert an user-program of intel-hex format from ASCII-code
to Binary-format.
The below is an example to explain how to make binary-format file.
(Example) How to convert from extended intel-HEX format file
The following is an example of display in text-editor in case of intel-HEX
format file is opened.
:103000000607F100030000F201030000B1F16010B7
:00000001FF
But actually their data are below because of ASCII-code is used
for intel-HEX format file.
3A313033303030303030363037463130303033303030304632303130333030303042
3146313630313042370D0A3A303030303030303146460D0A
Convert above data with below table's law.
Before (ASCII)
3A
30 to 39
41or 61
42 or 62
43 or 63
44 or 64
45 or 65
46 or 66
0D0A
to Binary-format file
After (Binary)
3A(Only 3A should not be converted.)
Delete it
92CH21-
421
0 to 9
A
B
C
D
E
F
TMP92CH21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92ch21fg

Table of Contents