Flash Memory Programming Mode; Communication Commands - NEC 78K0S/KA1+ Preliminary User's Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

www.DataSheet4U.com

18.8.2 Flash memory programming mode

To rewrite the contents of the flash memory by using the dedicated flash programmer, set the 78K0S/KA1+ in the
flash memory programming mode.
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.

18.8.3 Communication commands

The 78K0S/KA1+ communicates with the dedicated flash programmer by using commands. The signals sent from
the flash programmer to the 78K0S/KA1+ are called commands, and the commands sent from the 78K0S/KA1+ to the
dedicated flash programmer are called response commands.
www.DataSheet4U.com
The flash memory control commands of the 78K0S/KA1+ are listed in the table below. All these commands are
issued from the programmer and the 78K0S/KA1+ perform processing corresponding to the respective commands.
Classification
Erase
Write
Checksum
Security
The 78K0S/KA1+ returns a response command for the command issued by the dedicated flash programmer. The
response commands sent from the 78K0S/KA1+ are listed below.
CHAPTER 18 FLASH MEMORY
When the 78K0S/KA1+ is connected to the flash programmer and a
Figure 18-7. Communication Commands
Axxxx
Bxxxxx
Cxxxxxx
STATVE
PG-FP4
Dedicated flash
programmer
Table 18-5. Flash Memory Control Commands
Command Name
Batch erase command
Block erase command
Write command
Checksum command
Security set command
Table 18-6. Response Commands
Command Name
ACK
NAK
Preliminary User's Manual U16898EJ1V0UD
Command
Response command
78K0S/KA1+
Erases the contents of the entire memory
Erases the contents of the memory of the specified block
Writes to the specified address range and executes a verify
check of the contents.
Reads the checksum of the specified address range and
compares with the written data.
Prohibits chip erase command, block erase command, and
write command to prevent operation by third parties.
Function
Acknowledges command/data.
Acknowledges illegal command/data.
Function
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd78f9221Mpd78f9222

Table of Contents