Download Print this page

Toshiba TLCS-900/H1 Series Manual page 448

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

Advertisement

c)
User program (max 10 Kbytes)
This refers to a user program that is loaded to internal RAM.
When creating a user program, note the following points.
Set start address to 3000H
Beforehand, program (write) the user program to NAND flash in binary
format.
An example explaining how to make a binary format file is given below.
Example: How to convert from Intel Hex format file to binary format file
The following is an example of display in text editor when 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
Next, delete characters other than data
(Start mark, data number, address, record type and checksum).
The Intel Hex format and its meaning are given below.
Data record
End record
After (Binary)
(Only 3A should not be converted.)
3A
0 to 9
A
B
C
D
E
F
Delete
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-446
TMP92CH21
Checksum
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21