Home

Holtek e-Link for 8-bit MCU OCDS User's Guide

image

Contents

1. Holtek Enhance C Programmer s Guide Holtek C In Comparison With Enhanced C Holtek e ICE Quick Start Holtek e ICE Pin Asignment Holek HTSOCDS ICE User s Guide Register HT IDE3000 EERE ES Update Firmware P About HT IDE3000 About the e Link for HT8OCDS Version m If the e Link for HT8OCDS f w is an old version the following message will pop up when connecting to the IDE3000 HT IDE3000 A e Link firmware has new verior pleas update in Help menu mi Ifthe EV is an old version the following message will pop up when connecting to the IDE3000 HT IDE 000 A This ICE is a function limited version Please contact with our local office to make a replacement System Frequency E The e Link for HT8OCDS is not able to provide the system frequency for the EV When using the HT8OCDS ICE it is necessary to connect the required HXT ERC or LXT according to actual application requirements M Generally the HIRC calibration for the EV has been to the value at 5V when manufactured Operation under other voltage points may cause some HIRC deviation Rev 1 00 8 of 17 August 24 2012 PIN s aS SAIO 40 Yur YEOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com Voltage and Current m The operating voltage of the HT8OCDS ICE ranges from 1 7V 5 5V e e Link supplies power to the Target Board and setup the voltage parameters e Link supplies power to the Target Board
2. HOULTEK P 7 Holtek e Link for 8 bit MCU OCDS User s Guide Revision V1 00 Date August 24 2012 miveshoitek com Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com Contents ls By 6 al ah dole Ue 6g AA a ees ee arte ar ee ara eter eee fa oneee rene lees eiee nee eee anes 3 FRSOECDS ICE OmPOSitt ier cess a estore es eemere eee esa ree tattoo en cae cere ent aden neers 3 e Enko a Ml Bo 6 BC I a penrnner crt take tom et teeerey etree tee ene e merry eee Cree eee 3 SITEANE GSTS ea CUie A Les Nese nen ete ee ere ee elo oar arr ete 4 HT80CDS ICE Usage Flow Description resecie ae eee ees eee esses eee EEEa 4 IDE SOOO Sotware aE ale sez secre cee eee nee ret teen free ce een meres seme ter eee neSase cea ee ee ary ore eee eee eee zee rene 4 Hardwire ICON Me CHO liriececsarcrcecuaturoccte seat cecwimas A aaa a access muceire ceca panacea awe eke 4 Connect to the USB Port to Programming Using the IDESOOO 2 22 2 ccc222 22 gecce eee eaeceee ceecaeeeeee se 6 AT8OCDS ICGE Usage Considerations e reee ea e i AbGuitierAle DE SOO ORV ENS Onesie a teg tera ee eeceetg ora aseea a ne Re sete Saati gte eae neta eee il About the e ink Ome CDS Vy Gis iC la ce tena cst sce ree ate ec seer ares eee tele Sera eee ate erie 8 Sy ten Ereduen 6 Geen wer ern ra ree are ea eee rane eae ee cee neo eer eee ae eek ee nee 8 Voltage andi Curr emi techs exc Se ce tye carina ete pone Sree cer tee eats eee ee ges aston eeerat ten an
3. 3 2 YuanQu St Nankang Software Park Taipei 115 Taiwan Tel 886 2 2655 7070 Fax 886 2 2655 7373 Fax 886 2 2655 7383 International sales hotline Holtek Semiconductor Inc Shenzhen Sales Office 5F Unit A Productivity Building No 5 Gaoxin M 2nd Road Nanshan District Shenzhen China 518057 Tel 86 755 8616 9908 86 755 8616 9308 Fax 86 755 8616 9722 Holtek Semiconductor USA Inc North America Sales Office 46729 Fremont Blvd Fremont 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 Holtek makes no warranty or representation that such applications will be suitable without further modification nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise 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 For the most up to date information please visit our web site at http www holtek com tw Rev 1 00 17 of 17 August 24 2012 PIN s aS SAIO 40 Yur YeYOH
4. sysvalt Vfdd for selections of Internal RC High Freg QSC for choosing the SysFreq range Low Freg OSC WOT Clock Selection D HIRC Frequency Selection LWR C External e External power supplies to the Target Board check the External square External power supplies to the Target Board oysvalt Vdd for selections of Internal RC High Freq OSC for choosing the SysFreq range Low Freg OSC WOT Clock Selection HIRG Frequency Selection LR m When e Link supplies power to Target Board if there is still an external power supply to Target Board in the IDE3000 Build process the prompt window which requires the removal of the external power supply will pop up to avoid power conflict power supply prompt window yn Cannot set power because the user target is still on power Please remove the power first m When the e Link supplies power to the Target Board if the current load is large some VDD output errors may occur eg When the load current is 1OOmA 200mA the actual VDD output will have a rather low value of 0 1 V 0 2V It is recommended to configure the VDD together with the consideration of this error range Rev 1 00 9 of 17 August 24 2012 PIN s aS SAIO 104 Yur YeYOH Holtek e Link for 8 bit MCU OCDS User s Guide HOLTEK www holtek com Emulation Function Comparison of HT8OCDS ICE and e ICE Differences between the HT8OCDS ICE and e ICE Description Paremeter FW Upda
5. 5 5V HT8OCDS ICE Composition The HT8OCDS ICE is composed of an e Link for HT8OCDS Target Board with EV e Link for HT8OCDS WE e Link is the common name for the Holtek ICE series and has the same appearance Holtek will provide an e LinkBox cmd for the updates for different applications Here it should be updated as Holtek 8 Bits MCU OCDS Mm e Link Appearance e Link Front e Link Side e Link Back Rev 1 00 3 of 17 August 24 2012 Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com Target Board with EV The EV is an IC with an OCDS interface m During the debug process the e Link will implement a series of operations such as single step full speed stop breakpoint setting etc by transmitting instructions to the EV m During the non debug process the EV is the same as an IC and works in the same way HT8OCDS ICE Usage Flow Description IDE3000 Software Update The third generation emulator software still uses the IDE3000 but is only supported by versions starting from V7 6 Log on to Holtek official website to download the latest IDE3000 Hardware Connection E e Link for HT8OCDS Pin Assignment e Link Back a 1 Reserve a 2 Reserve 6 5 OCDSCK S M X 4 Reserve 10 9 OCDSDA_ 12 11 GND e Link Back j OCDSDA hoe m eV e Link side e Link side Rev 1 00 4 of 17 August 24 2012 Holtek
6. 7H 4 3850H 39FH Update Speed Top Most Rev 1 00 12 of 17 August 24 2012 PIN s aS SAIO 104 Yur YEOH User s Guide www holtek com Holtek e Link for 8 bit MCU OCDS HOLTEK J OCDS or I O Selection Option Function Rev 1 00 mM When OCDSDA OCDSCK is pin shared with I O most of the EV can divide the shared pins into the OCDSEV mode and the Real IC mode through the OCDS or I O Selection option OCDSEV mode whether e Link is online or offline the pin shared function of OCDSDA OCDSCK is invalid Real IC mode when e Link is offline the pin shared function of OCDSDA OCDSCK is the same as the IC pins function when e Link is online the function is still invalid Note When the EV is setup to be in the Real IC mode then if the target board power is externally supplied no emulation can be carried out However if emulation is required then the external power must be first removed and it must be switched to the OCDS mode m OCDS or I O Selection option usage After e Link connects successfully click Tools Switch OCDS Mode in the IDE3000 menu the OCDS Mode selection screen will pop up OCDS Mode selection Tools Options Window Help Configuration Options Import Configuration Options OCDS Mode Writer Library Manager Editor with OCDS Mode In the OCDS Mode selection screen the current EV mode is default Users select the OCDS mode or the Real IC mode according to t
7. e Link for 8 bit MCU OCDS User s Guide Note The VDD OCDSCK OCDSDA and GND are the necessary pins of the HT8O0CDS ICE Even if the external power is supplied to the Target Board the same VDD is still necessary so as to be used as the reference voltage of the output potential for the e Link Simultaneously the Options in the Rev 1 00 HT amp 8OCDS ICE Pin Definition HOLTEK f 7 www holtek com Name Description Direction Paremeter e Link voltage output pin when the power is supplied to the Snes 1 7V 5 5V VDD Target Board e Link voltage input pin when the external power is Link supplied to the Target Board ek eed OCDSCK The OCDS CLK signal during programming e Link 1 7V 5 5V OCDSDA The OCDS Data signal during programming e Linko 1 7V 5 5V GND e Link Ground e Link OV Reserved Reserved e Link signal pin Unknown Unknown IDE3000 must be set to VDD External Pins marked as Reserved in the e Link are not NC pins for which the user should note that the voltage is unknown m HTS8OCDS ICE Hardware Connection CIG D13 Oi OB am ie Di O14 DIZ a F 5 of 17 noo Di mM D e Cablel225A i Aa a ET August 24 2012 APTA E ui a rere ie PIN s aS SAIO 40 Yur YEOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com Connect to the USB Port to Programming Using the IDE3000 mi If the connection is successful the followin
8. es 9 Emulation Function Comparison of HT8OCDS ICE andic G Excess eee 10 ManpleBreak pont ModE E mere arene mere evga nner irene Sr uae ne erties cae mn ae ere nee eee eee 11 RAM Realtime Monitor FUNCOM T e ects ape sate meet eee tease ieee pen nien an rena sae ner ener ee eric eremer 12 OED S or TO SClISCI Onis bl Ola FUnNGIOM eet et te eee eee ot ane eee ere eee eee tree eee ates ees 13 ASOC DSICE USIJE RSSICON a a a ee geen eee pera renee ee aerate 14 PMBOCO SAGE Switelnrae lage ators aaccce nse acerca eee se eeeetee nes eeecene acces renee eee a ameeenea canes 15 SNE E A E E E E E T eee vane E E E E cates E eatseee ee geteneics 15 dCatOr E E E y Meer cr cher etter ier pee rer eratee ane a aera ee eee eee re re eee eae 15 ELPK SIZ C a a A A E E E A nacmeeis 16 Rev 1 00 2 of 17 August 24 2012 S u U0 Holtek e Link for 8 bit MCU OCDS ff User s Guide HOULTEK www holtek com HT8OCDS ICE Introduction The HT8OCDS ICE is Holtek s third generation simulator especially for use with Flash MCU devices Compared with the e ICE the differences are as follows m The EV uses the OCDS On Chip Debug Support structure that requires only two signal lines to debug m The EV pin number is the same or has 1 to 2 more pins than the IC pins which can be soldered to the application board making tests more convenient m Provides multiple breakpoint functions mM Provides a RAM real monitor function M Wider operating voltage range of 1 7V
9. g message will pop up HT IDE3000 A HT ICE is connected to UBB OLD Online Prompt mi If the connection failed or no connection the following message will pop up HT IDE3000 Offline Prompt Rev 1 00 6 of 17 August 24 2012 PIN J8S SAIO 40 Yur YEOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com HT8OCDS ICE Usage Considerations About the HT IDE3000 Version Rev 1 00 Before using the HT8OCDS ICE ensure that the IDE3000 is the latest version Mm Check the Help About HT IDE3000 in the function menu for the version information mi If it is version is 7 6 or newer when the IDE3000 is enabled the IDE will automatically detect if it is the latest version by prompting whether an update is required or click Help Check Live Update for a manual update Windows Screen About HT IDE3000 Holek Integrated Development Environment FIR version 75 Date 20120449 Copyright 0 2005 201 2 Hottek Semiconductor Inc Additional Information Voice Template Version 01C Build Date 20109142 Holek Website http iitwe holtek com tw Address MCU Tool Development Dept MoS Creation Fd ll science based Industrial Park Hsinchu Taiwan R O C 7 of 17 August 24 2012 p ng s aS SAIO 40 Yur YEOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com Help Window Holtek HT IDE3000 User s Guide Holtek C Progranuner s Guide
10. heir needs click OK to complete switch Note when switching mode the power supply to the Target Board must be removed mi If the EV has no OCDS or I O Selection option when e Link connects successfully the IDE3000 menu Tools Switch OCDS Mode in gray is unavailable When e Link is online the pin shared function of OCDSDA OCDSCK is invalid When e Link is offline the pin shared function of OCDSDA OCDSCK is the same as the IC pins function 13 of 17 August 24 2012 EPIND s aS SAIO 104 Yur YEOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com HT8OCDS ICE Usage Restriction m EV and IC Pin Assignment OCDSDA OCDSCK may be pin shared with an I O or alone so the pin number of the EV maybe the same or 1 2 pins more than that of the IC m OCDSDA OCDSCK can not connect to capacitor when OCDSCK is pin shared with the reset pin please refer to the following reset circuit Recommended Reset Circuit Vpop 0 01uF OCDSCK should be connected here lt 10kQ 100kQ m When e Link supplies power to the Target Board the maximum current consumption is 200mA If the power consumption of the Target Board exceeds 200mA the external power supply to the Target Board should be selected E When e Link supplies power to the Target Board the maximum capacitance which the VDD pin links to is 100uF Rev 1 00 14 of 17 August 24 2012 PIN s aS SAIO 40 Yur YEOH Holtek e Link for 8 b
11. it MCU OCDS Sf User s Guide HOLTEK www holtek com HT8OCDS ICE Switch and Indicators Switch The switch is used to reset the HT8OCDS ICE Indicator m Status Yellow shows if the e Link is providing power to the Target Board Continuously on Power to the Target Board Continuously off No power to the Target Board WE Error Red means that the e Link operation has an error Continuously on Abnormal operation Continuously off Normal operation m Active Blue means the duty load of the e Link Slow Flashing Idle standing by ready at an interval of 1s IDE3000 not operational Flasghin Busy the flash frequency and duration depends upon the number of duties Rev 1 00 15 of 17 August 24 2012 p ng s aS SAIO 104 Yur Y HOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com e Link Size mM Back and side e Link dimensions unit mm 15 65 18 19 28 35 44 00 65 47 Mm e Link back slot dimensions unit mil 100 Cmil gt d 100 mil gt d 100 mild 2100 039 mild Rev 1 00 16 of 17 August 24 2012 SPINS S SN SAIO 104 Yul Y QOH Holtek e Link for 8 bit MCU OCDS Sf User s Guide HOLTEK www holtek com Holtek Semiconductor Inc Headquarters No 3 Creation Rd Il Science Park Hsinchu Taiwan Tel 886 3 563 1999 Fax 886 3 563 1189 http www holtek com tw Holtek Semiconductor Inc Taipei Sales Office 4F 2 No
12. lly Data EEData type when an address or a range of RAM EEData is read written it will break automatically m An Auto Break can be setup when any of the following conditions is satisfied just tick in the Event condition box PC Stack Cycle Count Overflow Stack Underflow LVR Wakeup Breakpoint Setting Window Breakpoint Space Location Table Read EN Code ooh O Data To 1Fh O EEDatarE ai mli PAK G a ce arn_ 2011102518 re Address Line x means don t care Add Breakpoint Space CODE CODE DATA DATA EEDA x Ewent Location 0 31 32 32 128 255 364 511 O 31 Pt Overflow Stack Overflow Stack Under flower 11 of 17 source File Content Delete Clear All F Cycle Count Overflow LvR F Wakeup August 24 2012 p ng s s SAIO 104 Yur YEOH Holtek e Link for 8 bit MCU OCDS User s Guide HOLTEK www holtek com RAM Real time Monitor Function m In the IDE3000 tool menu select Debug RAM Monitor Mm Set the RAM monitor range and tick it Monitor up to 256 RAM unit at the maximum each group monitor addresses can not be repeated mM Click start to begin to monitor the RAM status mm Move Update Speed to control the refresh rate RAM Monitor Window E RAM Monitor Monitor setting RAM Address ramain 176 Bytefs ID Address From Address End 1 80H a7H 2 180H 18FH 3 280H 20
13. te The emulator can update the FW through the IDE3000 Need to change MEV Pin Assignment Pins can be soldered on to the application board for direct adjustment Good signal connection quick and convenient The EV is of 128QFP or 208QFP Requires DuPont line or other connectors to connect with the application board Total of 7 Breakpoint modules Breakpoint setting during free run Breakpoint number unlimited No Bbreakpoint setting during pleas Goll Breakpoint setup available in ROM RAM EEDATA _ free run Diverse Breakpoint format Breakpoint setting only in ROM RAM Monitor Supported Not supported l Cannot be placed at the last HALT Available at any location address of ROM BankO OCDSDA OCDSCK Pin Share function unavailable during rogramming No restriction Trace Not supported Instruction tracing SysFreq e Link not provided Reset Pin Reset circuit required when executing the Reset Rev 1 00 function 10 of 17 August 24 2012 PIN s aS SAIO 40 Yur YEOH Holtek e Link for 8 bit MCU OCDS User s Guide Multiple Breakpoint Modes Rev 1 00 HOLTEK www holtek com m In the IDE3000 tool menu select Debug Breakpoints or use shortcut Ctrl B m Although only seven breakpoint modules are available each breakpoint module can setup the object control and control range Code type When the PC access an address or a range is setup it will break automatica

Download Pdf Manuals

image

Related Search

Related Contents

Maxi 130 kg / 287 Ibs 45 min 45 kg / 99.2 Ibs 226 x 100 x      symposium sur la protection internationale des indications    SOMMAIRE GUIDE DU JURY  RX3i CPU310-BB v2.51, GFK-2329A  Magnum Cv IT (1018092)  Visionscape FrontRunner User Manual    

Copyright © All rights reserved.
Failed to retrieve file