CHAPTER 19 FLASH MEMORY
User’s Manual U17446EJ3V1UD
278
19.7 On-Board and Off-Board Flash Memory Programming
19.7.1 Flash memory programming mode
To rewrite the contents of the flash memory by using the dedicated flash memory programmer, set the
78K0S/KB1+ in the flash memory programming mode. When the 78K0S/KB1+ is connected to the flash memory
programmer and a communication command is transmitted to the microcontroller, the microcontroller is set in the flash
memory programming mode.
Change the mode by using a jumper when writing the flash memory on-board.
19.7.2 Communication commands
The dedicated flash memory programmer controls the 78K0S/KB1+ by using commands. The signals sent from
the dedicated flash memory programmer to the 78K0S/KB1+ are called communication commands, and the
commands sent from the 78K0S/KB1+ to the dedicated flash memory programmer are called response.
Figure 19-9. Communication Commands
78K0S/KB1+
PG-FP4
(Flash Pro4)
Cxxxxxx
Bxxxxx
Axxxx
XX
X YY
Y
XXXXX
XXXXXX
XXXX
XXX
X YY
YY
STATVE
FlashPro4
Dedicated flash memory programmer
Power Status
MODE
Target 3V
Target
PG-FPL2
PG-FPL2
Communication
Command
Response
Communication commands are listed in the table below. All these communication commands are issued from the
flash memory programmer and the 78K0S/KB1+ performs processing corresponding to the respective communication
commands.
Table 19-6. Communication Commands
Classification Command
Name
Function
Batch erase (chip erase) command
Erases the contents of the entire memory
Erase
Block erase command
Erases the contents of the memory of the specified block
Write Write
command Writes to the specified address range and executes a verify
check of the contents.
Checksum Checksum
command Reads the checksum of the specified address range and
compares with the written data.
Blank check
Blank check command
Confirms the erasure status of the entire memory.
Security
Security setting command
Prohibits batch erase (chip erase) command, block erase
command, and write command to prevent operation by third
parties.
The 78K0S/KB1+ returns a response for the communication command issued by the dedicated flash memory
programmer. The response names sent from the 78K0S/KB1+ are listed below.
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...