
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
*
*
W r i t e r _ V D D
I C P D A
I C P C K
W r i t e r _ V S S
T o o t h e r C i r c u i t
P A 0
P A 2
V S S
V D D
W r i t e r C o n n e c t o r
S i g n a l s
M C U P r o g r a m m i n g
P i n s
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 User’s 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 flash ROM. Users can
define 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 Configurations
BS66F350 Configurations
BS66F360/370 Configurations
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