COP8-EMFA-68N National Semiconductor, COP8-EMFA-68N Datasheet - Page 23

no-image

COP8-EMFA-68N

Manufacturer Part Number
COP8-EMFA-68N
Description
EMULATOR NULL TARGET
Manufacturer
National Semiconductor
Datasheet

Specifications of COP8-EMFA-68N

Accessory Type
Emulator Null Target
For Use With/related Products
Cop 8
Lead Free Status / RoHS Status
Not applicable / Not applicable
PGMTIM_SET
PAGE_ERASE
MASS_ERASE
READ_BYTE
BLOCKR
WRITE_BYTE
BLOCKW
EXIT
INVALID
5.0 In-System Programming
5.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.
5.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.
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).
(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 11. MICROWIRE/PLUS ISP Commands
Value (Hex)
Command
0x3B
0xB3
0xBF
0x1D
0xA3
0xD3
0x71
0x8F
23
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:
The following table lists the MICROWIRE/PLUS ISP com-
mands and provides information on required parameters and
return values.
• 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.
• Erase a page of flash memory at a specified address.
• Read a byte from a specified address.
• Write a byte to a specified address.
• Copy a block of data from RAM into flash program
This must be the first command after entering
MICROWIRE/PLUS ISP mode.
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
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
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
www.national.com

Related parts for COP8-EMFA-68N