Keil μVision, to develop the Holtek’s 8051 series MCU programs. This user manual describes the way to use the e-Link Driver and the Holtek Database in the Keil μVision environment as well as any relevant details regarding the HT8051OCDS-ICE.
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Installation Note: The Keil μVision software must be installed first. Software Installation Step 1 ▀ Execute the AGDIDriver_Setup_V19.exe. Note: Your software version number may be different with that in the description. It is recommended that only the latest version is used.
Page 5
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Step 3 ▀ Specify the installation version of the Keil μVision and then press “Next.” Step 4 ▀ Specify the installation folder for the Keil μVision. Make sure the specified folder is correct so that the driver program can be installed correctly.
Page 6
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Step 5 ▀ After all installation details are confirmed, press “Install” to start the installation. Step 6 ▀ When the installation is completed, press “Finish” to complete the setup operation.
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Hardware Requirements Use the USB cable to connect the e-Link with a USB port on a PC. e-Link USB Cable e-Link Pin Assignment �: - 1: VDD 4: -...
HT8051OCDS e-Link + Target Board (with EV) . HT8051OCDS e-Link: ▀ The e-Link is a Holtek new generation OCDS structure on-line debug adapter. When used with the AGDI interfaced program development software, users are provided with a development tool to directly debug their application boards.
Page 10
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies HT8051OCDS e-Link Pin Definitions ▀ Name Description Direction When the e-Link is used to supply power, the power is provided on e-Link→ this output pin. When using an external power supply, this is the e-Link input power e-Link←...
Page 11
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Points to consider when using the HT8051OCDS-ICE ▀ ● Voltage and Current: – The operating voltage of the HT8051OCDS-ICE can be within 2.0V~5.5V – If the Power Out box is checked then the power supply to the Target Board will be provided by the e-Link.
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies HT8051OCDS-ICE Usage Restrictions OCDSDA / OCDSCK are pin-shared with other functions ▀ 1. When the e-Link is enabled, the other OCDSDA/OCDSCK shared pin function will be invalid. 2. When the e-Link is disabled, the other OCDSDA/OCDSCK shared pin functions are normal.
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Operating Description This chapter describes the way to use the e-Link Driver and Holtek Database in the Keil μVision environment. Operating Description Project Setting Stpe 1 ▀ Select “New Project” in the Project menu to open a new project.
Page 14
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Stpe 2 ▀ After the Project folder has been selected, the “Select a CPU Data Base File” window will pop up. Select the “Holtek Device Database” and then press “OK.”...
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Holtek 8051 e-Link Driver Setting Stpe 1 ▀ Select the “Options for Target ‘HT85F227’*” in the Project menu. Note*: HT85F227* is the target name. Then the following window will appear.
Page 16
Switch the operating interface to the Debug page. Stpe 3 ▀ Click the Use options in the right half page and select the “Holtek e-Link 8051 Debugger” from the menu, then press the “Settings” key on the right. Rev. 1.10 16 of ��...
Page 17
Stpe 4 ▀ Press the “Settings” on the right side of the Holtek e-Link 8051 Debugger options and the following window will appear. Press “OK” to finish. Note: If the Power Out box is checked, the e-Link will supply power to the target board. If this box is not checked, an external power supply will be required.
Page 18
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies e-Link F/W version update ▀ When an updated e-Link F/W version is available, this will be indicated as shown by the blue frame in the diagram. Press “Update” for an immediate F/W update.
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Flash Programming Driver Setting Stpe 1 ▀ Select the “Options for Target ‘HT85F227’ ” in the Project menu. Note*: HT85F227* is the target name. The successive operating window will appear as follows.
Page 20
▀ Switch the operating interface to the Utilities Page. Stpe 3 ▀ Click the “Use Target Driver for Flash Programming” option, select the “Holtek e-Link 8051 Debugger” and then press the “Settings” key. Rev. 1.10 �0 of �� ��to�e� 1�� �01�...
Page 21
Holtek 8051 e-Link Driver for Keil μVision User Manual 8-Bit 8051 Se�ies Stpe 4 ▀ After pressing the “Settings” key the following operating window will appear. This is used to setup the “Download to Flash Memory”options “ ”. Press “OK” to finish.
Page 22
Holtek's products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification.
Need help?
Do you have a question about the 8051 and is the answer not in the manual?
Questions and answers