EasyManua.ls Logo

Holtek BS66F340 - On-Chip Debug Support - OCDS; In Application Programming - IAP

Default Icon
242 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.60 40 August 20, 2019 Rev. 1.60 41 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
* *
Wr
iter_V DD
IC PDA
IC PCK
Writer_V SS
To o th er C ircuit
PA0
PA2
VSS
VDD
Writer C onnector
Signals
MCU Progra mmin g
Pins
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 BS66V3x0 which is used to emulate the real MCU device named
BS66F3x0. 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, BS66V3x0 and BS66F3x0,
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 Users Guide".
Holtek e-Link Pins EV Chip OCDS Pins Pin Description
OCDSDA OCDSDA On-Chip Debug Support Data/Address input/output
OCDSCK OCDSCK On-Chip Debug Support Clock input
VDD VDD Power Supply
VSS VSS Ground
In Application Programming – IAP
These devices offer IAP function to update data or application program to ash ROM. Users can
dene any ROM location for IAP, but there are some features which user must notice in using IAP
function. Note that the BS66F340 device supports the "Block Erase" function instead of the "Page
Erase" function.
BS66F340 Congurations BS66F350 Congurations BS66F360/370 Congurations
Erase Block 256 words / block Erase Page 32 words / page Erase Page 64 words / page
Writing Word 4 words / time Writing Word 32 words / time Writing Word 64 words / time
Reading Word 1 word / time Reading Word 1 word / time Reading Word 1 word / time

Table of Contents

Related product manuals