Rev. 1.10
30
October 23, 2020
Rev. 1.10
31
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
org
1F00h
;
sets
initial
address
of
program
memory
dc 00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh
:
In Circuit Programming – ICP
The provision of Flash type Program Memory provides the user with a means of convenient and
easy upgrades and modifications to their programs on the same device.
As an additional convenience, a means of programming the microcontroller in-circuit has provided
using a 4-pin interface. This provides manufacturers with the possibility of manufacturing
their circuit boards complete with a programmed or un-programmed microcontroller, and then
programming or upgrading the program at a later stage. This enables product manufacturers to easily
keep their manufactured products supplied with the latest program releases without removal and re-
insertion of the device.
Holtek Writer Pins
MCU Programming Pins
Pin Description
ICPDA
PA0
Programming Serial Data/Address
ICPCK
PA2
Programming Clock
VDD
VDD/AVDD
Power Supply
VSS
VSS/AVSS
Power Ground
The Program Memory can be programmed serially in-circuit using this 4-wire interface. Data
is downloaded and uploaded serially on a single pin with an additional line for the clock. Two
additional lines are required for the power supply. The technical details regarding the in-circuit
programming of the device are beyond the scope of this document and will be supplied in
supplementary literature.
During the programming process, the user can take care of the ICPDA and ICPCK pins for data and
clock programming purposes to ensure that no other outputs are connected to these two pins.
*
*
Writer_VDD
ICPDA
ICPCK
Writer_VSS
To other Circuit
VDD/AVDD
PA0
PA2
VSS/AVSS
Writer Connector
Signals
MCU Programming
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 BC66V5652 which is used to emulate the real MCU device named
BC66F5652. 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