On-Chip Debug Support – OCDS
There is an EV chip named HT67V23x0 which is used to emulate the real MCU device named
HT67F23x0. The EV chip device also provides the "On-Chip Debug" function to debug the real
MCU device during development process. The EV chip and real MCU devices, HT67V23x0 and
HT67F23x0, are almost functional compatible except the "On-Chip Debug" function. Users can
use the EV chip device to emulate the real MCU device behaviors 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 device for debugging, the corresponding pin functions shared with the OCDSDA
and OCDSCK pins in the real 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 more detailed OCDS information, refer to the corresponding
document named "Holtek e-Link for 8-bit MCU OCDS User's Guide".
Holtek e-Link Pins
OCDSDA
OCDSCK
VDD
VSS
In Application Programming – IAP
These devices offer IAP function to update data or application program to flash ROM. Users can
define any ROM location for IAP, but there are some features which user must notice in using IAP
function.
Configurations
Erase Page
Writing Word
Reading Word
In Application Programming Control Registers
The Address register, FARL and FARH, the Data registers, FD0L/FD0H, FD1L/FD1H, FD2L/FD2H
and FD3L/FD3H, and the Control registers, FC0, FC1 and FC2, are the corresponding Flash access
registers located in Data Memory sector 0 and sector 1 respectively for IAP. If using the indirect
addressing method to access the FC0, FC1 and FC2 registers, all read and write operations to the
registers must be performed using the Indirect Addressing Register, IAR1 or IAR2, and the Memory
Pointer pair, MP1L/MP1H or MP2L/MP2H. Because the FC0, FC1 and FC2 control registers are
located at the address of 43H~45H in Data Memory sector 1, the desired value ranged from 43H to
45H must first be written into the MP1L or MP2L Memory Pointer low byte and the value "01H"
must also be written into the MP1H or MP2H Memory Pointer high byte.
Rev. 1.60
Advanced A/D Flash MCU with LCD & EEPROM
EV Chip OCDS Pins
OCDSDA
On-Chip Debug Support Data/Address input/output
OCDSCK
On-Chip Debug Support Clock input
VDD, AVDD
Power Supply
VSS, AVSS
Ground
HT67F2350
HT67F2360/HT67F2370
32 words / page
64 words / page
32 words / time
64 words / time
1 word / time
58
HT67F2350/HT67F2360
HT67F2370/HT67F2390
Pin Description
HT67F2390
128 words / page
128 words / time
1 word / time
1 word / time
May 16, 2019
Need help?
Do you have a question about the HT67F2350 and is the answer not in the manual?