Rev. 1.00
30
September 11, 2018
Rev. 1.00
31
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
*
Writer_VDD
ICPDA
ICPCK
Writer_VSS
To other Circuit
VDD
PA0
PA2
VSS
Writer Connector
Signals
MCU Programming
Pins
*
AVDD
AVSS
VSSN
Note: * may be resistor or capacitor. The resistance of * must be greater than 1kΩ or the capacitance
of * must be less than 1nF.
On-Chip Debug Support – OCDS
There is
an
EV chip named HT45V4050, which is used to emulate HT45F4050 device. Th
e EV
chip device also provides an "On-Chip Debug" function to debug the real MCU device during the
development process. The EV chip and the actual MCU device are almost functionally compatible
except for the "On-Chip Debug" function. Users can use the EV chip device to emulate the real chip
device behavior by connecting the OCDSDA and OCDSCK pins to the Holtek HT-IDE development
tools. The OCDSDA pin is the OCDS Data/Address input/output pin while the OCDSCK pin is the
OCDS clock input pin. When users use the EV chip for debugging, other functions which are shared
with the OCDSDA and OCDSCK pins in the actual MCU device will have no effect in the EV chip.
However, the two OCDS pins which are pin-shared with the ICP programming pins are still used as
the Flash Memory programming pins for ICP. For a more detailed OCDS description, refer to the
corresponding document named "Holtek e-Link for 8-bit MCU OCDS User’s Guide".
Holtek e-Link Pins
EV Chip Pins
Pin Description
OCDSDA
OCDSDA
On-chip Debug Support Data/Address input/output
OCDSCK
OCDSCK
On-chip Debug Support Clock input
VDD
VDD&AVDD
Power Supply
VSS
VSS&AVSS&VSSN Ground
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM internal memory and is the location where
temporary information is stored.
Divided into two types, the first of Data Memory is an area of RAM where
special function registers
are located
.
These registers have fixed locations and are necessary for correct operation of the
device. Many of these registers can be read from and written to directly under program control,
however, some remain protected from user manipulation.
The second area of Data Memory is
reserved for general purpose use. All locations within this area are read and write accessible under
program control.
Switching between the different Data Memory sectors is achieved by properly setting the Memory
Pointers to correct value if using indirect addressing method.