參數(shù)資料
型號(hào): CR16HCS5VJE8
英文描述: Microcontroller
中文描述: 微控制器
文件頁(yè)數(shù): 22/157頁(yè)
文件大小: 1256K
代理商: CR16HCS5VJE8
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)當(dāng)前第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)第129頁(yè)第130頁(yè)第131頁(yè)第132頁(yè)第133頁(yè)第134頁(yè)第135頁(yè)第136頁(yè)第137頁(yè)第138頁(yè)第139頁(yè)第140頁(yè)第141頁(yè)第142頁(yè)第143頁(yè)第144頁(yè)第145頁(yè)第146頁(yè)第147頁(yè)第148頁(yè)第149頁(yè)第150頁(yè)第151頁(yè)第152頁(yè)第153頁(yè)第154頁(yè)第155頁(yè)第156頁(yè)第157頁(yè)
www.national.com
22
9.0
Memory
The CompactRISC architecture supports a uniform linear ad-
dress space of 2 megabytes, addressed by 21 bits. The de-
vice implementation of this architecture uses only the lowest
128K bytes of address space. Each memory location con-
tains a byte consisting of eight bits.
Various types of on-chip memory occupy specific intervals
within the address space: 64K bytes of flash EEPROM pro-
gram memory, 3K bytes of static RAM, 2K bytes of low endur-
ance EEPROM data memory, 128 bytes of high endurance
EEPROM data memory, and 1.5K bytes of ISP memory. All
of these memories are 16 bits wide, and their contents can
be accessed either as bytes (eight bits wide) or words (16 bits
wide except for the program memory which only supports
word access).
The CPU core uses the Load and Store instructions to ac-
cess memory. These instructions can operate on bytes or
words. For a byte access, the CPU operates on a single byte
occupying a specified memory address. For a word access,
the CPU operates on two consecutive bytes. In that case, the
specified address refers to the least significant byte of the
data value; the most significant byte is located at the next
higher address. Thus, the ordering of bytes in memory is
from least to most significant byte, known as “l(fā)ittle-endian” or-
dering. For more efficient data access operations, 16-bit vari-
ables should be stored starting at word boundaries (at even
address).
9.1
The flash EEPROM program memory is used to store the ap-
plication program. The 64K bytes of this memory reside in the
address range of 0000-BFFF hex and 1C000-1FFFF in Zone
0 of the CR16B address space. A normal CPU write opera-
tion to this memory has no effect.
The flash EEPROM Program Memory module has the follow-
ing features:
— 64K bytes arranged as 32K by 16 bits
— Page size of 64 words
— 30 ms programming pulse per word
— Page mode erase with a 1 ms pulse, mass erase with
4ms pulse
— All erased flash EEPROM program memory bits read 1
— Fast single cycle read access
— Flexible software controlled In-System-Programming
(ISP) capability
— Pipelined programming cycles through double-buff-
ered data register, with write access disabled when the
register is full
— Programming high voltage and timing generated on-
chip
— Memory disabled when address is out of range
— Requires valid key for program and erase to proceed
— Provide busy status during programming and erase
— Read accesses disabled during programming and
erase
— Security features to limit read/write access
FLASH EEPROM PROGRAM MEMORY
9.1.1
Program memory read accesses can operate without wait cy-
cles with a CPU clock rate of up to 20MHz in the normal
Reading
mode. At higher clock rates, memory read accesses can op-
erate with one wait state.
The programmed number of wait cycles used (either zero or
one) is controlled by the BIU Configuration (BCFG) register
and the Static Zone 0 Configuration (SZCFG0) register.
These registers are described in Section 8.0.
9.1.2
The flash EEPROM program memory can be programmed
either with the device plugged into a flash EEPROM pro-
grammer unit (External Programming) or with the device al-
ready installed in the application system (In-System-
Programming).
If the device is programmed using a flash EEPROM program-
mer, the device is set into an external programming mode. In
this mode the device operates as if it were a pure flash mem-
ory device. The flash memory is programmed without involv-
ing any CPU activity.
If the device is to be programmed within the user application,
it can either be done by an user written boot loader or by uti-
lizing a pre-programmed in-system-programming code (ISP-
Code) residing in the boot ROM array of the device.
The device executes the pre-programmed in-system-pro-
gramming code if it operates in the In-System-Programming
Mode (ISP-Mode). To enter the ISP-Mode the device must be
reset (or powered-up) with the ENV0-pin set to low level and
the ENV1-pin set to high level (or left open). Also if the flash
program memory is not programmed yet (FLCTRL2.EMPTY
bit is still set) the device automatically enters the ISP-Mode
after reset, even though both pins ENV0 and ENV1are at
high level (or left open). If the device enters the ISP-Mode it
starts execution at address E000 hex.
In ISP-Mode the program code can be downloaded into the
device using one of the on-chip USARTs and written into the
flash program memory. For more detailed information on the
In-System-Programming features of the pre-programmed
ISP-Code please refer to the ISP-Monitor manual.
Conventional Programming Modes
9.1.3
Instead of using a flash EEPROM programmer unit or the
conventional in-system programming mode, you can write
your own processor code to program and erase the flash
EEPROM program memory. User-written code is more flexi-
ble than using the other programming methods. Like the con-
ventional in-system programming mode, the device is
programmed while it is installed in the system. It is not nec-
essary to reset the device or use the ENV0/ENV1 pins to
configure the device.
User-written flash programming code must reside outside of
the flash program memory. This is because the entire pro-
gram memory becomes unavailable while programming or
erasing any part of this memory.
User-Coded Programming Routines
9.1.4
The flash EEPROM program memory programming and
erase can be performed using different methods. It can be
done through user code that is stored in system RAM, or
through In-System-Programming mode, but should not be
programmed through the flash EEPROM program memory it-
Flash EEPROM Programming and Verify
相關(guān)PDF資料
PDF描述
CR16HCS9VJE7Y Microcontroller
CR16HCS9VJE8Y Microcontroller
CR16HCT5
CR16HCT5VJE7Y Microcontroller
CR16HCT5VJE8Y Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CR16HCS5VJE8Y 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Microcontroller
CR16HCS5VJI8 制造商:NSC 制造商全稱(chēng):National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9 制造商:NSC 制造商全稱(chēng):National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9VJE0 制造商:NSC 制造商全稱(chēng):National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16HCS9VJE1 制造商:NSC 制造商全稱(chēng):National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers