cop8ame9 National Semiconductor Corporation, cop8ame9 Datasheet - Page 27

no-image

cop8ame9

Manufacturer Part Number
cop8ame9
Description
8-bit Cmos Flash Microcontroller With 8k Memory, Dual Op Amps, Virtual Eeprom, Temperature Sensor, 10-bit A/d And Brownout Reset
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cop8ame9EMW8/NOPB
Manufacturer:
National
Quantity:
172
PGMTIM_SET
PAGE_ERASE
MASS_ERASE
READ_BYTE
BLOCKR
WRITE_BYTE
BLOCKW
EXIT
INVALID
11.0 In-System Programming
The following table lists the MICROWIRE/PLUS ISP com-
mands and provides information on required parameters and
return values.
Note: The user must ensure that Block Writes do not cross a 64 byte boundary within one operation.
11.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.
(Continued)
NOTE: Execution of this command will force the device
into the MICROWIRE/PLUS ISP mode.
Command
Write Pulse Timing
Register
Page Erase
Mass Erase
Read Byte
Block Read
Write Byte
Block Write
EXIT
N/A
Function
2
TABLE 10. MICROWIRE/PLUS ISP Commands
Value (Hex)
Command
0x3B
0xB3
0xBF
0x1D
0xA3
0xD3
0x71
0x8F
27
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 12 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.
Value
Starting Address of
Page
Confirmation Code
Address High, Address
Low
Address High, Address
Low, Byte Count (n)
High, Byte Count (n)
Low
0 ≤ n ≤ 32767
Address High, Address
Low, Data Byte
Address High, Address
Low, Byte Count (0 ≤ n
≤ 16), n Data Bytes
N/A
Any other invalid
command will be
ignored
Parameters
N/A
N/A
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 cop8ame9