National Instruments HPC467064, HPC167064 manual Functional Modes of Operation, Eprom Mode, Econa

Page 10

Functional Modes of Operation

There are two primary functional modes of operation for the HPC167064.

#EPROM Mode

#Normal Running Mode

EPROM MODE

In the EPROM mode, the HPC167064 is configured to ‘‘ap- proximately emulate’’ a standard NMC27C256 EPROM. Some dissimilarities do exist. The most significant one is that HPC167064 contains only 16 kbytes of programmable memory, rather than the 32 kbytes in 27C256. An HPC167064 in the EPROM mode can be programmed with a Data I/O machine.

Given below is the list of functions that can be performed by the user in the EPROM mode.

#Programming

CAUTION: Exceeding 14V on pin 1 (VPP) will damage the HPC167064.

Initially, and after each erasure, all bits of the HPC EPROM are in the ‘‘1’’ state. Data is introduced by selec- tively programming ‘‘0s’’ into the desired bit locations. Although only ‘‘0s’’ will be programmed, both ‘‘1s’’ and ‘‘0s’’ can be presented in the data word. The only way to change a ‘‘0’’ to a ‘‘1’’ is by ultraviolet light erasure.

#Program/verify EPROM registers

To read data (verify) during the programming process,

VPP must be at 13V. When reading data after the pro- gramming process, VPP can be either 13V or at VCC.

#Program/verify ECON registers

There are two configuration registers ECON6 and ECON7 to emulate different family members and also to enable/disable different features in the chip. These reg- isters are not mapped in the EPROM user space. These bytes must be programmed through a pointer register

ECONA.

To prevent unintentional programming, the ECON6, 7 registers must be programmed with the assistance of this pointer register. ECONA, and externally presented ad- dress, both identify the same ECON register may be pro- grammed.

NORMAL RUNNING MODE

In this mode, the HPC167064 executes user software in the normal manner. By default, its arcitecture imitates that of the HPC16064. It may be configured to emulate the HPC16083. The addressable memory map will be exactly as for the HPC16083. The WATCHDOG function monitors ad- dresses accordingly. Thus, the HPC167064 can be used as a stand-alone emulator for both HPC16064 and HPC16083.

Within this mode, the on-chip EPROM cell acts as read only memory. Each memory fetch is 16-bits wide. The HPC167064 operates to 20 MHz with 1 wait state for the on- chip memory.

The HPC167064 emulates the HPC16064 and HPC16083, except as described here.

#The value of EXM is latched on the rising edge of RESET. Thus, the user may not switch from ROMed to ROMless operation or vice-versa, without another RESET pulse.

#The security logic can be used to control access to the on-chip EPROM. This feature is unique to the HPC167064. There is no corresponding mode of opera- tion on the HPC16064 or the HPC16083.

#Specific inputs are allowed to be driven at high voltage (13V) to configure the device for programming. These high voltage inputs are unique to the HPC167064. The same inputs cannot be driven to high voltage on the HPC16064 and HPC16083 without damage to the part.

#The Port D input structure on this device is slightly differ- ent from the masked ROM HPC16083 and HPC16064.

VIH2 min and VIL2 max are the same as for the masked ROM HPC16083 and HPC16064. There is a VIH2 max requirement for this device equal to VCC a 0.05V. There is also a VIL2 min requirement for this device equal to GND-0.05V. The VIH2 max and VIL2 min requirement for the masked ROM devices is the Absolute Maximum Rat- ings of VCCa0.5V and GND-0.5V respectively.

#The D.C. Electrical Characteristics and A.C. Electrical

Characteristics for the HPC167064, where TA e b55§C to a125§C, are guaranteed over a reduced operating voltage range of VCC g5%. This is different from the masked ROM devices that it simulates which is VCC g10%. These characteristics for the HPC467064, where

TA e b0§C to a70§C, are guaranteed over the masked ROM operating voltage range which is VCC g10%.

#In addition to the reduced operating voltage range for the

HPC167064, the A.C. timing parameter tUDH is required to be a mimimum value of 25 ns. The masked ROM de-

vices require a mimimum tUDH 0f 20 ns. This A.C. timing parameter for the HPC467064 is required to be the same as the masked ROM devices.

HPC167064 EPROM SECURITY

The HPC167064 includes security logic to provide READ and WRITE protection of the on-chip EPROM. These de- fined privileges are intended to deter theft, alteration, or un- intentional destruction of user code. Two bits are used to define four levels of security on the HPC167064 to control access to on-chip EPROM.

Security Level 3

This is the default configuration of an erased HPC167064. READ and WRITE accesses to the on-chip EPROM or ECON registers may be accomplished without constraint in EPROM mode. READ accesses to the on-chip EPROM may be accomplished without constraint in NORMAL RUNNING mode.

10

Image 10
Contents Features General DescriptionAbsolute Maximum Ratings DC Electrical CharacteristicsReset ALL Other Inputs20 MHz AC Electrical Characteristics UPIDelay from CK2 Rising Edge to ALE Rising Edge Delay from CKI Rising Edge to ALE Rising EdgeDelay from CKI Rising Edge to ALE Falling Edge Delay from CK2 Falling Edge to ALE Falling Edge30 MHz AC Electrical Characteristics CKI Input Signal Characteristics CK1, CK2, ALE Timing Diagram Input and Output for AC TestsRead Cycle Microwire Setup/Hold Timing Functional Modes of Operation Eprom ModeNormal Running Mode EconaErasure Characteristics Memory Map of the HPC167064Pin Descriptions Connection Diagram Ports a & BPorts a & B Operating Modes Wait States Power Save ModesHPC167064 Operating Modes HPC167064 InterruptsBit External Memory Interrupt Processing Timer OverviewInterrupt Arbitration Interrupt Control RegistersBlock Diagram of Interrupt Logic Timers T2 T3 Block Synchronous OutputsMICROWIRE/PLUS Operation Timer RegistersTimer Applications Watchdog LogicMICROWIRE/PLUS MICROWIRE/PLUS ApplicationUart Wake-Up Mode HPC167064 UartShared Memory Support Universal Peripheral InterfaceMemory Design Considerations Table IV. Memory Map of HPC167064 Emulating an HPC16083 DfffdffeXtal Frequency MHz 1500 1200 910 750 600 470 390 300 220 180 100Addressing Modes HPC167064 CPUHPC Instruction Set Description Ifbit BIT Instructions SbitRbit Memory Transfer InstructionsCode Efficiency Development SupportHPC-DEV-IBMA HOW to OrderProgramming Support HPC-DEV-IBMCPlcc Part SelectionSocket Selection YamaichiPage Physical Dimensions inches millimeters Life Support Policy