欢迎访问ic37.com |
会员登录 免费注册
发布采购

COP8AME9EMW8 参数 Datasheet PDF下载

COP8AME9EMW8图片预览
型号: COP8AME9EMW8
PDF下载: 下载PDF文件 查看货源
内容描述: 8位CMOS闪存微控制器,具有8K内存,双通道运算放大器,虚拟EEROM ,温度传感器, 10位A / D和掉电复位 [8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEROM, Temperature Sensor,10-Bit A/D and Brownout Reset]
分类和应用: 闪存传感器温度传感器微控制器和处理器外围集成电路运算放大器光电二极管时钟
文件页数/大小: 83 页 / 908 K
品牌: NSC [ National Semiconductor ]
 浏览型号COP8AME9EMW8的Datasheet PDF文件第22页浏览型号COP8AME9EMW8的Datasheet PDF文件第23页浏览型号COP8AME9EMW8的Datasheet PDF文件第24页浏览型号COP8AME9EMW8的Datasheet PDF文件第25页浏览型号COP8AME9EMW8的Datasheet PDF文件第27页浏览型号COP8AME9EMW8的Datasheet PDF文件第28页浏览型号COP8AME9EMW8的Datasheet PDF文件第29页浏览型号COP8AME9EMW8的Datasheet PDF文件第30页  
4. After VCC is valid and stable, connect a voltage between  
2 x VCC and VCC+7V to the G6 pin. Ensure that the rise  
time of the high voltage on G6 is slower than the mini-  
mum in the Electrical Specifications.Figure 13 shows a  
11.0 In-System Programming  
(Continued)  
TABLE 9. KEY Register Write Format  
possible circuit dliagram for implementing the 2 x VCC  
.
KEY When Writing  
Be aware of the typical input current on the G6 pin when  
the high voltage is applied. The resistor used in the RC  
network, and the high voltage used, should be chosen to  
keep the high voltage at the G6 pin between 2 x VCC and  
VCC+7V.  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
1
0
0
1
1
0
X
X
Bits 7–2: Key value that must be written to set the KEY bit.  
Bits 1–0: Don’t care.  
5. Pull RESET High.  
6. After a delay of at least three instruction cycles, remove  
the high voltage from G6.  
11.5 FORCED EXECUTION FROM BOOT ROM  
When the user is developing a customized ISP routine, code  
lockups due to software errors may be encountered. The  
normal, and preferred, method to recover from these condi-  
tions is to reprogram the device with the corrected code by  
either an external parallel programmer or the emulation  
tools. As a last resort, when this equipment is not available,  
there is a hardware method to get out of these lockups and  
force execution from the Boot ROM MICROWIRE/PLUS  
routine. The customer will then be able to erase the Flash  
Memory code and start over.  
The method to force this condition is to drive the G6 pin to  
high voltage (2 x VCC) and activate Reset. The high voltage  
condition on G6 must not be applied before VCC is valid and  
stable, and must be held for at least 3 instruction cycles  
longer than Reset is active. This special condition will by-  
pass checking the state of the Flex bit in the Option Register  
and will start execution from location 0000 in the Boot ROM.  
In this state, the user can input the appropriate commands,  
using MICROWIRE/PLUS, to erase the flash program  
memory and reprogram it. If the device is subsequently reset  
before the Flex bit has been erased by specific Page Erase  
or Mass Erase ISP commands, execution will start from  
location 0000 in the Flash program memory. The high volt-  
age (2 x VCC) on G6 will not erase either the Flex or the  
Security bit in the Option Register. The Security bit, if set,  
can only be erased by a Mass Erase of the entire contents of  
the Flash Memory unless under the control of User ISP  
routines in the Application Program.  
20006366  
FIGURE 13. Circuit Diagram for Implementing the 2 x  
VCC  
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  
While the G6 pin is at high voltage, the Load Clock will be  
output onto G5, which will look like an SK clock to the  
MICROWIRE/PLUS routine executing in slave mode. How-  
ever, when G6 is at high voltage, the G6 input will also look  
like a logic 1. The MICROWIRE/PLUS routine in Boot ROM  
monitors the G6 input, waits for it to go low, debounces it,  
and then enables the ISP routine. CAUTION: The Load clock  
on G5 could be in conflict with the user’s external SK. It is up  
to the user to resolve this conflict, as this condition is con-  
sidered a minor issue that’s only encountered during soft-  
ware development. The user should also be cautious of  
the high voltage applied to the G6 pin. This high voltage  
could damage other circuitry connected to the G6 pin  
(e.g. the parallel port of a PC). The user may wish to  
disconnect other circuitry while G6 is connected to the high  
voltage.  
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  
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.  
VCC must be valid and stable before high voltage is applied  
to G6.  
Read Option register.  
The correct sequence to be used to force execution from  
Boot ROM is :  
Read a byte from a specified address.  
1. Disconnect G6 from the source of data for MICROWIRE/  
PLUS ISP.  
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.  
2. Apply VCC to the device.  
3. Pull RESET Low.  
www.national.com  
26  
 复制成功!