cop8sce9 National Semiconductor Corporation, cop8sce9 Datasheet - Page 25

no-image

cop8sce9

Manufacturer Part Number
cop8sce9
Description
8-bit Cmos Flash Microcontroller With 8k Memory, Virtual Eeprom And Brownout Reset
Manufacturer
National Semiconductor Corporation
Datasheet
MASS_ERASE
READ_BYTE
BLOCKR
WRITE_BYTE
BLOCKW
EXIT
INVALID
5.0 In-System Programming
Note: The user must ensure that Block Writes do not cross a 64 byte boundary within one operation.
5.8 USER ISP AND VIRTUAL E
The following commands will support transferring blocks of
data from RAM to flash program memory, and vice-versa.
The user is expected to enforce application security in this
case.
• Erase the entire flash program memory (mass erase).
• Erase a page of flash memory at a specified address.
• Read a byte from a specified address.
• Write a byte to a specified address.
NOTE: Execution of this command will force the device
into the MICROWIRE/PLUS ISP mode.
Command
Mass Erase
Read Byte
Block Read
Write Byte
Block Write
EXIT
N/A
Function
TABLE 11. MICROWIRE/PLUS ISP Commands (Continued)
2
(Continued)
Value (Hex)
Command
0xBF
0x1D
0xA3
0xD3
0x71
0x8F
25
The following table lists the User ISP/Virtual E
required parameters and return data, if applicable. The com-
mand entry point is used as an argument to the JSRB
instruction. Table 13 lists the Ram locations and Peripheral
Registers, used for User ISP and Virtual E
pected contents. Please refer to the COP8 FLASH ISP User
Manual for additional information and programming ex-
amples on the use of User ISP and Virtual E
• Copy a block of data from RAM into flash program
• Copy a block of data from program flash memory to RAM.
memory.
Confirmation Code
Address High, Address
Low
Address High, Address
Low, Byte Count (n)
High, Byte Count (n)
Low
0
Address High, Address
Low, Data Byte
Address High, Address
Low, Byte Count (0
N/A
Any other invalid
command will be
ignored
16), n Data Bytes
n
Parameters
32767
n
N/A (The entire Flash
Memory will be erased)
Data Byte if Security not
set. 0xFF if Security set.
Option Register if address
= 0xFFFF, regardless of
Security
n Data Bytes if Security
not set.
n Bytes of 0xFF if
Security set.
N/A
N/A
N/A (Device will Reset)
N/A
Return Data
2
, and their ex-
2
.
2
commands,
www.national.com

Related parts for cop8sce9