On-Chip Debug Support - Ocds; Data Memory; Structure - Holtek BS86DH12C Manual

High voltage touch a/d flash mcu with hvio
Table of Contents

Advertisement

BS86DH12C
High Voltage Touch A/D Flash MCU with HVIO
On-Chip Debug Support – OCDS
There is an EV chip named BS86DHV12C which is used to emulate the real MCU device named
BS86DH12C. The 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 real MCU device are almost
functionally compatible except for "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 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

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.
Categorized into two types, the first of these 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.

Structure

The overall Data Memory is subdivided into several sectors, all of which are implemented in 8-bit
wide RAM. Each of the Data Memory Sector is categorized into two types, the special Purpose Data
Memory and the General Purpose Data Memory. The address range of the Special Purpose Data
Memory for the device is from 00H to 7FH while the General Purpose Data Memory address range
is from 80H to FFH. Switching between the different Data Memory sectors is achieved by setting
the Memory Pointers to the correct value if using the indirect addressing method.
Special PurposeData Memory
Rev. 1.00
EV Chip OCDS Pins
OCDSDA
On-Chip Debug Support Data/Address input/output
OCDSCK
On-Chip Debug Support Clock input
VDD
Power Supply
VSS
Ground
General PurposeData Memory
Located Sectors
Capacity
Sector 0, Sector 1
512×8
Data Memory Summary
31
Pin Description
Sector: Address
Sector 0: 80H~FFH
Sector 1: 80H~FFH
Sector 2: 80H~FFH
Sector 3: 80H~FFH
October 26, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BS86DH12C and is the answer not in the manual?

Table of Contents