English
Language : 

SH7040 Datasheet, PDF (80/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
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
FWP
MD1
MD2
MD3
TxD1
RxD1
I/O
Input
Input
Input
Input
Output
Input
Function
Hardware protected flash memory write/delete
User programming mode/boot mode setting
Clock mode (PLL) setting
Clock mode (PLL) setting
Serial sent data output
Serial receive data input
*
User mode
MD1=1, FWP=1
RES=0
Power-on
reset condition
FWP=1
FWP=0
User
program
*
mode
Onboard programming mode
Boot mode
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
42