Datasheet
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
M
D
1
=
1
, F
W
P
=
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