background image

Rev. 1.10 

16 of ��

��to�e� 1�� �01�

Holtek 8051 e-Link Driver for Keil μVision User Manual

8-Bit 8051 Se�ies

Operating Description

▀  

Stpe 2

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.

 

 

Summary of Contents for 8051

Page 1: ...Holtek 8051 e Link Driver for Keil μVision User Manual Revision V1 10 Date October 17 2012 ...

Page 2: ...tents 1 Holtek 8051 e Link Driver Instructions and Installation 3 Installation 4 Software Installation 4 Hardware Requirements 7 HT8051OCDS ICE Composition 8 HT8051OCDS ICE Usage Restrictions 12 2 Operating Description 13 Operating Description 13 Project Setting 13 Holtek 8051 e Link Driver Setting 15 Flash Programming Driver Setting 19 ...

Page 3: ...k s 8051 series MCUs The HT8051OCDS ICE is composed of an e Link for the HT8051OCDS and a target board with EV The e Link is a Holtek new generation OCDS structure in circuit debug adapter which provides customers with a development tool to directly debug their application boards An OCDS interfaced MCU is required on the application board As for the software an integrated develop environment suppo...

Page 4: ...allation Installation Note The KeilTM μ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 Step 2 Installation welcome window press Next to continue or Cancel to exit ...

Page 5: ... Holtek 8051 e Link Driver Instructions and Installation Step 3 Specify the installation version of the KeilTM μVision and then press Next Step 4 Specify the installation folder for the KeilTM μVision Make sure the specified folder is correct so that the driver program can be installed correctly Press Next ...

Page 6: ...Vision User Manual 8 Bit 8051 Series Holtek 8051 e Link Driver Instructions and Installation 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 ...

Page 7: ...Vision User Manual 8 Bit 8051 Series Holtek 8051 e Link Driver Instructions and Installation Hardware Requirements Use the USB cable to connect the e Link with a USB port on a PC PC USB Cable e Link e Link Pin Assignment 2 1 VDD 4 3 6 5 OCDSCK 8 7 X 10 9 OCDSDA 12 11 GND ...

Page 8: ...n 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 e Link Hardware Box e Link Front e Link Back e Link Side Target Board with EV The EV is an IC with an OCDS interface During debug the e Link can execute a range of debug operations such as single step full speed halt and breakpoi...

Page 9: ... e Link Driver Instructions and Installation HT8051OCDS ICE Hardware Connection Description HT8051OCDS e Link Pin Assignment e Link Back e Link Back 1 Reserved 2 Reserved 3 Reserved 4 Reserved 2 1 VDD 4 3 6 5 OCDSCK 8 7 X 10 9 OCDSDA 12 11 GND e Link Side e Link Side 12 11 GND 10 9 OCDSDA 6 7 X 8 5 OCDSCK 4 3 2 1 VDD ...

Page 10: ... is the e Link input power pin e Link OCDSCK OCDS CLK signal during simulation e Link OCDSDA OCDS Data signal during simulation e Link GND e Link Ground pin e Link Reserved e Link reserved pins Unknown VDD OCDSCK OCDSDA GND are the necessary HT8051OCDS ICE pins Even if power is supplied from the target board VDD must be the same as it is used as the e Link output voltage reference Note that the e ...

Page 11: ...is item is not checked an external power supply will be required In addition to the EV needing a VDD power supply the other analog digital circuit power supplies may be connected with the OCDS operation Refer to the datasheet to see if it is to be provided by the user or to be connected with the VDD The maximum current for the power supply to the Target Board is 200mA If the application board curr...

Page 12: ...OCDSCK must connect to this point VSS PB0 RES VDD 300Ω 0 1 1uF 0 01uF When the OCDSDA is pin shared with an I O pin powered by the e Link the 6 8KΩ pull high resistor connected to the OCDSDA pin will influence the I O voltage value This should be taken into account when designing the I O circuits HT8051OCDS ICE Keys and Indicators Keys Used to reset the HT8051OCDS ICE Indicator LEDs Status The yel...

Page 13: ...on 2 Operating Description This chapter describes the way to use the e Link Driver and Holtek Database in the KeilTM μVision environment Operating Description Project Setting Stpe 1 Select New Project in the Project menu to open a new project The user will be requested to input a project name after which Save should be pressed ...

Page 14: ...anual 8 Bit 8051 Series Operating Description 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 Stpe 3 Select the required MCU part number and press OK to complete the project setup ...

Page 15: ...ink Driver for Keil μVision User Manual 8 Bit 8051 Series Operating Description 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: ...il μVision User Manual 8 Bit 8051 Series Operating Description Stpe 2 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 ...

Page 17: ...e below the program will start operating until it enters main If Run to main is not selected the program will stop at address 0 immediately after debug 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 ...

Page 18: ...Driver for Keil μVision User Manual 8 Bit 8051 Series Operating Description 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 ...

Page 19: ...er for Keil μVision User Manual 8 Bit 8051 Series Operating Description 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: ...or Keil μVision User Manual 8 Bit 8051 Series Operating Description Stpe 2 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 ...

Page 21: ...e following operating window will appear This is used to setup the Download to Flash Memory options Press OK to finish Note If the Update Target before Debugging option is checked then when Debug is executed the program will first be downloaded into the Flash Memory If the program has not been modified then it will not be downloaded whether the option is checked or not ...

Page 22: ...ont CA 94538 USA Tel 1 510 252 9880 Fax 1 510 252 9885 http www holtek com Copyright 2012 by HOLTEK SEMICONDUCTOR INC The information appearing in this Data Sheet is believed to be accurate at the time of publication However Holtek assumes no responsibility arising from the use of the specifications described The applications mentioned herein are used solely for the purpose of illustration and Hol...

Reviews: