
42
1.4
The F-ZTAT Version Onboard Programming
There are 2 modes on the F-ZTAT version: a mode that writes and overwrites programs using the
special writer and a mode that writes and overwrites programs onboard the application system.
When rebooting after setting each mode pin and FWP pin during the reset condition, the
microcomputer will transfer to one of the modes indicated in figure 1.6. In the user mode, data can
be read from the flash memory but cannot be written or deleted. Use the boot mode and the user
program mode to write to the flash memory or delete data.
In the boot mode, SCI1 (TXD1, RXD1) is used for data transfer. It is possible to automatically
adjust the transfer bit rate to the transfer bit rate of the host.
Table 1.8
Pins during the Onboard Programming Mode
Notation
I/O
Function
FWP
Input
Hardware protected flash memory write/delete
MD1
Input
User programming mode/boot mode setting
MD2
Input
Clock mode (PLL) setting
MD3
Input
Clock mode (PLL) setting
TxD1
Output
Serial sent data output
RxD1
Input
Serial receive data input
User mode
Power-on
reset condition
User
program
mode
Boot mode
Onboard programming mode
*
*
FWP=1
MD1
=1, F
WP=
1
RES
=0
MD1=1, FWP=0
RES
=0
FWP=0
MD1=1, FWP=0
RES
=0
Notes: For transferring between user mode and user program mode,
proceed while CPU is not programming or erasing the flash
memory.
*
RAM emulation permitted
Figure 1.6 Condition Transfer for Flash Memory
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...