Holtek e-Link Q A

Holtek Semiconductor Inc.
Project Name
Holtek e-Link Q&A
Update Date
2015-04-23
Author
Sky
Version
1.00
Page
1/6
Holtek e-Link Q&A
Revision History
Version
Date
1.00
2015-04-23
Description
Create
Author
Sky
problemsduring e-Link programming and emulation first check the
following:.................................................................................................................................................2
1
Check if the USB cable is the original Holtek one?.......................................................................2
2
Check if the e-Link emulator and programmer software is the latest version?..............................2
3
Check if the F/W matches during e-Link emulation and programming? .......................................2
Holtek e-Link emulation Q & A:...................................................................................................3
1
Q: How is the e-Link connected for In-Circuit Emulation?...........................................................3
3
Q: Check if the external power is supplied to the e-Link for emulating? ......................................4
4
Q: During the emulating process, a promt says that the “e-Link is connected, but does not
recognize the EV”................................................................................................................................5
Holtek e-Link programming Q & A: ............................................................................................5
1
Q: What MCU types does the e-Link support for current programming? ...................................5
2
Q: Check if the external power is supplied to the Target Board when the e-Link is online. ........6
Holtek Semiconductor Inc.
Project Name
Holtek e-Link Q&A
Update Date
2015-04-23
Author
Sky
Version
1.00
Page
2/6
When encountering problems during e-Link programming and emulation
first check the following:
1
Check if the USB cable is the original Holtek one?
The emulator and the target board circuit will both consume power during e-Link debugging. So if
the used USB cable is of poor quality, the higher cable resistance may influence the emulation due
to power voltage drops in the cable. The original USB cable is shown in the following figure:
Fig.1
2
Check if the e-Link emulator and programmer software is the latest version?
The HT-IDE3000 software is for the e-Link emulator.
The HOPE3000 software is for the e-Link programmer.
Log on to the Holtek official website( http://www.holtek.com.cn/China/tech/tool/Mainpage1.htm)
to download and install the latest software.
3
Check if the F/W matches during e-Link emulation and programming?
Update the corresponding F/W for the different modes.
During the emulating process, if the e-Link is in the programming mode, the HT-IDE3000 will pop
up the following tips: update it to the OCDS mode through the tips Help-->Update Firmware”.
Fig.2
During the programming process, if the e-Link is in the emulation mode, the HOPE3000 for e-Link
will pop up the following tips: click
updated using
start”
to update it to the programming mode. It can also be
Tools--> Update Firmware”.
Check the current F/W version of the e-Link using “Help-->About” in the software.
Holtek Semiconductor Inc.
Project Name
Holtek e-Link Q&A
Update Date
2015-04-23
Author
Sky
Version
1.00
Page
3/6
Fig. 3
Holtek e-Link emulation Q & A:
1
Q: How is the e-Link connected for In-Circuit Emulation?
A: In the following figure, the Target Board is connected to e-Link through the four wires VDD,
GND, OCDSDA, and OCDSCK.
If not using the standard cable: a
Use a separate Dupont Line if possible to avoid signal
crosstalk due to the materials.
b
The length of the Dupont Line should be less than 20cm if
possible.
Fig.4
Tab.1
Due to the different OCDS EV design features, it can only be emulated normally by setting the
individual OCDS EV pins to pull-high. The reference resistance value is 1K when the e-Link is
executing In-Circuit Emulation.
Currently Holtek have sorted out the EV types which have this problem in the following table:
MCU Type
The pin required pull-high resistor
1
BS83V04A
PA2
2
BS83V08A
PA7
3
BS83V16A
PA7
4
BS84V12A
PA7
5
BS82D20A-3
PA7
Holtek Semiconductor Inc.
Project Name
Holtek e-Link Q&A
Update Date
2015-04-23
6
HT66V007
PA7
7
HT66V01
PA7
8
HT66V019
PC2
9
HT66V0174
PC2
10
HT66V70A
PB0
11
HT67V488/489 PA7
12
HT67V5640
PB0
13
HT45V0YB-1
PB5
14
HT45V15B
PB0
15
HT45V3W
PB4
Author
Sky
Version
1.00
Page
4/6
Tab.2
2
Q: Why does the HIRC appear to have a deviation during e-Link emulates?
A: Generally the HIRC calibration for the EV has been executed at 5V during manufacturing.
Operation under different voltages may cause some HIRC deviation.
If there is a large HIRC deviation this can be explained by the EV being an engineering sample
without the factory calibration.
3
Q: Check if the external power is supplied to e-Link for emulation?
A: Yes. If the external power supply is selected then set the configuration options according to the
following steps.
Firstly ensure that the “External” in the configuration options is not selected.
Fig.5
Secondly select the OCDS mode by clicking “Tools\Switch OCDS Mode” in the IDE3000
menu.
Fig.6
Holtek Semiconductor Inc.
Project Name
Holtek e-Link Q&A
Update Date
2015-04-23
Author
Sky
Version
1.00
Page
5/6
Finally select “External” in the configuration options.
Fig.7
Now the following prompt box will pop up. If power is supplied to IC, click
Yes
then compile
and download. The OCDS can now be accessed normally.
Fig.8
4 Q: During the emulating process, a prompt says that the e-Link is connected, but does not recognize
the EV”
A: First ensure that the connected IC is an EV chip rather than a general IC and check if the
IC
type is correct.
Eg: The EV chip for the HT66F018 is HT66V018. The actually produced MCU, the
HT66F018 does not have the emulating functions.
Second ensure the OCDS wiring, VDD, GND, OCDSCK and OCDSDA is correct.
Ps: For some ICs the external RES pin is connected to a pull-high resistor - refer to Table 2.
Finally ensure that the external crystal oscillator pin is connected to a crystal oscillator when
HXT is selected as the system clock.
Fig.9
Holtek e-Link programming Q & A:
1
Q: What MCU type does the e-Link support for current programming?
A: Holtek 8-Bit Flash MCU and the corresponding EV
Ps:
The e-Link is not able to support offline programming and is only used for engineering
verification. Therefore it is not suitable for volume device programming.
Holtek Semiconductor Inc.
Project Name
Holtek e-Link Q&A
Update Date
2015-04-23
Author
Sky
Version
1.00
Page
6/6
The e-Link does not yet support programming of the Boot Loader ROM code program. As a
result it should not be used for programming application programs which have an ISP requirement
such as the HT6XFB5X0.
2
Q: Check if the external power is supplied to the Target Board when the e-Link is online.
A: When the e-Link is online, the e-Link supplies power to the Target Board. Note that the Target
Board cannot be connected to the external power otherwise a programming error will be
generated as shown in the following figure:
Fig.10