COP8SBR9 NSC [National Semiconductor], COP8SBR9 Datasheet - Page 30

no-image

COP8SBR9

Manufacturer Part Number
COP8SBR9
Description
8-Bit CMOS Flash Based Microcontroller with 32k Memory, Virtual EEPROM and Brownout
Manufacturer
NSC [National Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
COP8SBR9HVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SBR9HVA8
Manufacturer:
HARRIS
Quantity:
20 000
Part Number:
COP8SBR9HVA8/NOPB
Manufacturer:
National
Quantity:
225
Part Number:
COP8SBR9HVA8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SBR9LVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SBR9LVA8/NOPB
Manufacturer:
National
Quantity:
62
Part Number:
COP8SBR9LVA8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
www.national.com
PGMTIM_SET
PAGE_ERASE
MASS_ERASE
READ_BYTE
BLOCKR
WRITE_BYTE
BLOCKW
EXIT
INVALID
11.0 In-System Programming
11.6 RETURN TO FLASH MEMORY WITHOUT
HARDWARE RESET
After programming the entire program memory, including
options, it is necessary to exit the Boot ROM and return to
the flash program memory for program execution. Upon
receipt and completion of the EXIT command through the
MICROWIRE/PLUS ISP, the ISP code will reset the part and
begin execution from the flash program memory as de-
scribed in the Reset section. This assumes that the FLEX bit
in the Option register was programmed to 1.
11.7 MICROWIRE/PLUS ISP
National Semiconductor provides a program, which is avail-
able from our web site at www.national.com/cop8, that is
capable of programming a device from the parallel port of a
PC. The software accepts manually input commands and is
capable of downloading standard Intel HEX Format files.
Users who wish to write their own MICROWIRE/PLUS ISP
host software should refer to the COP8 FLASH ISP User
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.
(Continued)
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
0xBF
0x1D
0xD3
0x3B
0xB3
0xA3
0x8F
0x71
30
Manual, available from the same web site. This document
includes details of command format and delays necessary
between command bytes.
The MICROWIRE/PLUS ISP supports the following features
and commands:
• Write a value to the ISP Write Timing Register. NOTE:
• Erase the entire flash program memory (mass erase).
• Erase a page at a specified address.
• Read Option register.
• Read a byte from a specified address.
• Write a byte to a specified address.
• Read multiple bytes starting at a specified address.
• Write multiple bytes starting at a specified address.
• Exit ISP and return execution to flash program memory.
The following table lists the MICROWIRE/PLUS ISP com-
mands and provides information on required parameters and
return values.
• 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.
This must be the first command after entering
MICROWIRE/PLUS ISP mode.
NOTE: Execution of this command will force the device
into the MICROWIRE/PLUS ISP mode.
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

Related parts for COP8SBR9