|
M37754FFCGP Datasheet, PDF (33/68 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER FLASH MEMORY VERSION | |||
|
◁ |
PRELIMINARY NSootimcee: pTahriasmisentroict alimfinitsalasrpeescuifbicjeactitotno. change.
MITSUBISHI MICROCOMPUTERS
M37754FFCGP
M37754FFCHP
SHINGLE-CHIP 16-BIT CMOS MICROCOMPUTER FLASH MEMORY VERSION
CPU reprogramming mode operation proce-
dure
The operation procedure in CPU reprogramming mode is described
below.
< Beginning procedure >
 Apply 0 V to the CNVss/VPP pin for reset release.
 Set the processor mode register 0 (see Figure 23).
 After CPU reprogramming mode control program is transferred to
internal RAM, jump to this control program on RAM. (The follow-
ing operations are controlled by this control program).
 Set â1" (8-bit length) to data length select flag m.
 Set â1" to the CPU reprogramming mode select bit.
 Apply VPPH to the CNVSS/VPP pin.
 Read the CPU reprogramming mode monitor flag to confirm
whether the CPU reprogramming mode is valid.
 The operation of the flash memory is executed by software-com-
mand-writing to the flash command register .
Note: The following are necessary other than this:
â¢Control for data which is input from the external (serial I/O
etc.) and to be programmed to the flash memory
â¢Initial setting for ports etc.
â¢Writing to the watchdog timer
< Release procedure >
 Apply 0V to the CNVSS/VPP pin.
 Set the CPU reprogramming mode select bit to â0.â
Each software command is explained as follows.
Read command
When â0016" is wr itten to the flash command register, the
M37754FFCGP and the M37754FFCHP enter the read mode. The
contents of the corresponding address can be read by reading the
flash memory (For instance, with the LDA instruction etc.) under this
condition.
The read mode is maintained until another command code is written
to the flash command register. Accordingly, after setting the read
mode once, the contents of the flash memory can continuously be
read.
After reset and after the reset command is executed, the read mode
is set.
76 5 4 3 2 1 0
Flash command register
Address
6516
Writing of software command
<Software command name>
⢠Read command
⢠Program command
⢠Program verify command
⢠Erase command
⢠Erase verify command
⢠Auto erase command
⢠Reset command
<Command code>
â0016â
â4016â
âC016â
â2016â + â2016â
âA016â
â3016â + â3016â
âFF16â + âFF16â
Note: The flash command register is write-only register.
Fig. 22 Flash command register bit configuration
76 5 4 3 2 1 0
0
00
Address
Processor mode register 0 5E16
Processor mode bits
0 0 : Single-chip mode
0 1 : Memory expansion mode
1 ! : Do not select.
Internal memory access bus cycle select bit
Fix this bit to â0.â
Software reset bit
Interrupt priority detection time select bits
Test mode bit
Fix this bit to â0.â
Clock Ï1 output select bit
Note: For the description of processor mode register 0, refer to Figure 14
on the M37754M8C-XXXGP data sheet.
Fig. 23 Processor mode register 0 bit configuration in CPU rewrit-
ing mode
33
|
▷ |