English
Language : 

COP8AME9_14 Datasheet, PDF (30/102 Pages) Texas Instruments – COP8AME9 8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEPROM, Temperature Sensor, 10-Bit A/D and Brownout Reset
COP8AME9, COP8ANE9
SNOS930F – MARCH 2001 – REVISED MARCH 2013
www.ti.com
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 described in the Reset section. This assumes that the FLEX bit in the Option register was programmed to 1.
MICROWIRE/PLUS ISP
TI provides a program, which is available from our web site at www.ti.com, 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 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: This must be the first command after entering
MICROWIRE/PLUS ISP mode.
• 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 commands and provides information on required parameters
and return values.
Command
PGMTIM_SET
PAGE_ERASE
MASS_ERASE
READ_BYTE
BLOCKR
WRITE_BYTE
BLOCKW
EXIT
INVALID
Table 12. MICROWIRE/PLUS ISP Commands
Function
Write Pulse Timing
Register
Page Erase
Mass Erase
Read Byte
Block Read
Write Byte
Block Write
EXIT
N/A
Command
Value (Hex)
0x3B
0xB3
0xBF
0x1D
0xA3
0x71
0x8F
0xD3
Parameters
Value
Return Data
N/A
Starting Address of Page N/A
Confirmation Code
N/A (The entire Flash
Memory will be erased)
Address High, Address
Low
Data Byte if Security not
set. 0xFF if Security set.
Option Register if address
= 0xFFFF, regardless of
Security
Address High, Address
Low, Byte Count (n) High,
Byte Count (n) Low
0 ≤ n ≤ 32767
n Data Bytes if Security
not set.
n Bytes of 0xFF if Security
set.
Address High, Address N/A
Low, Data Byte
Address High, Address N/A
Low, Byte Count (0 ≤ n ≤
16), n Data Bytes
N/A
N/A (Device will Reset)
Any other invalid
N/A
command will be ignored
30
Submit Documentation Feedback
Copyright © 2001–2013, Texas Instruments Incorporated
Product Folder Links: COP8AME9 COP8ANE9