Section 2 F-ZTAT Microcomputer On-Board Programming Tool
Rev. 2.00 Dec 13, 2004 page 40 of 82
REJ05B0520-0200
(2) File Transfer in User Program Mode
The following describes the steps involved in transferring the on-board programming software in
user program mode.
•
Sending starting address of erasion block and sending application program
The starting address of the erasion block is sent after inputting the application program to be
written to flash memory on the host machine and selecting the target block of flash memory to
be erased. The application program is sent after erasing flash memory. Figure 2.18 shows the
steps in sending the starting address of the erasion block and the steps in sending the
application program in user program mode.
F-ZTAT
microcomputer
(a) Start write/erase control program
(b) Application program input
(c) Send W
(e) Send number of erasion
blocks and starting
address
(i) Receive erase error code
(q) Receive write error code
(j) Send transfer starting
address and transfer
size
(l) Send 64 bytes of
application program
Receive transmit enable
code
Receive end-of-writing
code
Receive end-of-erasion
code
W
(d) Receive number of
erasion blocks and
starting
address
(f) Erase target block area
(g) Send end-of-erasion
code
(h) Send erase error code
(k) Send transmit enable
code
(m) Receive application
program and write to flash
memory
(n) Request application
program
(o) End of writing application
program
(p) Send write error code
Receive W
Receive transfer starting
address and transfer size
Host machine
Application program
Send address
Transfer starting address
and transfer size
X-ON (H'11)
X-ON (H'11)
ACK (H'06)
ACK (H'06)
BELL (H'07)
BELL (H'07)
Figure 2.18 Sending Erasion Block Starting Address and Application Program
Содержание F-ZTAT H8S/2132F
Страница 6: ...Rev 2 00 Dec 13 2004 page vi of x...
Страница 8: ...Rev 2 00 Dec 13 2004 page viii of x...
Страница 10: ...Rev 2 00 Dec 13 2004 page x of x...
Страница 22: ...Section 1 Overview Rev 2 00 Dec 13 2004 page 12 of 82 REJ05B0520 0200...
Страница 92: ...Section 4 Example Use of User System Rev 2 00 Dec 13 2004 page 82 of 82 REJ05B0520 0200...
Страница 95: ...Single Power Supply F ZTAT On Board Programming...