English
Language : 

COP8AME9 Datasheet, PDF (28/83 Pages) National Semiconductor (TI) – 8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEROM, Temperature Sensor,10-Bit A/D and Brownout Reset
11.0 In-System Programming (Continued)
Command/
Label
cpgerase
Function
Page Erase
cmserase Mass Erase
creadbf
Read Byte
cblockr
Block Read
cwritebf
Write Byte
cblockw
Block Write
exit
uwisp
EXIT
MICROWIRE/
PLUS
ISP Start
TABLE 11. User ISP/Virtual E2 Entry Points
Command
Entry Point
0x17
0x1A
0x11
0x26
0x14
0x23
0x62
0x00
Parameters
Return Data
Register ISPADHI is loaded by the user
with the high byte of the address.
Register ISPADLO is loaded by the
user with the low byte of the address.
Accumulator A contains the
confirmation key 0x55.
Register ISPADHI is loaded by the user
with the high byte of the address.
Register ISPADLO is loaded by the
user with the low byte of the address.
Register ISPADHI is loaded by the user
with the high byte of the address.
Register ISPADLO is loaded by the
user with the low byte of the address.
X pointer contains the beginning RAM
address where the result(s) will be
returned.
Register BYTECOUNTLO contains the
number of n bytes to read
(0 ≤ n ≤ 255). It is up to the user to
setup the segment register.
Register ISPADHI is loaded by the user
with the high byte of the address.
Register ISPADLO is loaded by the
user with the low byte of the address.
Register ISPWR contains the Data
Byte to be written.
Register ISPADHI is loaded by the user
with the high byte of the address.
Register ISPADLO is loaded by the
user with the low byte of the address.
Register BYTECOUNTLO contains the
number of n bytes to write (0 ≤ n ≤ 16).
The combination of the
BYTECOUNTLO and the ISPADLO
registers must be set such that the
operation will not cross a 64 byte
boundary.
X pointer contains the beginning RAM
address of the data to be written.
It is up to the user to setup the
segment register.
N/A
N/A
N/A (A page of memory beginning at
ISPADHI, ISPADLO will be erased)
N/A (The entire Flash Memory will be
erased)
Data Byte in Register ISPRD.
n Data Bytes, Data will be returned
beginning at a location pointed to by
the RAM address in X.
N/A
N/A
N/A (Device will Reset)
N/A (Divice will be in
MICROWIRE/PLUS ISP Mode. Must
be terminated by MICROWIRE/PLUS
ISP EXIT command which will Reset
the device)
www.national.com
28