Home
HY-IDE Software User`s Manual
Contents
1. LSCK HSCK HSS1 xi LCDS LCDS PERCE BZS BFS Bit setup dialogue pops up C D E F Iemory checked ol Clear Cancel Figure 3 12 3 4 Watch Window 1 Address KO Bin Refered Symbol Reserve Lengh 0 00 Ic 10110110 Watch Name Watch Data Data Length Figure 3 13 gt Watch Name gt Monitored Data name program uses EQU or DS defined name gt Watch Address gt Monitored Data Address gt Watch Data gt Reveal data It is selectable to be arranged from right to left or from left to right It can also display decimal or hexadecimal system gt L Hex L gt Dec gt L Dec L gt LCD2 LC D 4 options appear after clicking Point the mouse TMA2 121 EFEE 123 FF1955 cursor here and double click it Figure 3 14 Hex H gt L Hexadecimal display address H L shows from low to high Hex L gt H Hexadecimal display address L H shows from high to low Dec H gt L Decimal display address H L shows from low to high Dec L gt H Decimal display address L H shows from high to low 2008 HYCON Technology Corp 01 01 HYIDE SUM EN page 25 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY gt Watch Data for Bin gt Data display in binary system only for those EQU defined Address
2. Figure 3 9 gt Revise WREG Data Revise WREG WREG 5 Cw 00 py iy Click the left key of the mouse Figure 3 10 gt Revise single 1 byte or Word Register Data Byie INDFO POINCO PODECO PRINCO PLUSWO INDFl POINCI PODECI PRINCI WREG ADCEL TMAR PRC ESE Mouse click Double click the mouse left key Value input dialogue pops up BLPTR TELD PROD TMBR CCFOR lemory checked Clear Cancel Figure 3 11 gt Revise Register single 1 byte or single 1 bit After Bit is configured as 1 its value will be highlighted in blue font After Bit is configured as 0 its value will be shown in black font 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 24 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY PAGE PAGE STEUN sTEOY SLTEPRTSSTEPET2STRPET1 STEPRTO IE ADCIE TMCIE TMBIE TMAIE WDTIE ELIE EDIE SPIE CCPIIE ADCIF TMCIF TMBIF TMAIF WDTIF ELF Double click mouse left key STATUS 5 DZ N ov z Double click the mouse PSTAUS To IDL BOR SEERE key LYDFG LYDOP LYDON VLDXl1 LDEZO Value input dialogue pops up poss ENVDDA VDDAXl VDDAXO 2 50 ADCCE 2
3. 1 1 Modified Figure 4 7 Click Mouse Right Key Set Program Main File Che FA 14 Assemble Source Code Download it to programmer or IDE Flash Memory as Figure 4 8 described gt HyIDE100 Mode Edit v1 08 File Edit Search View Chip HY 11P13 4 ICE Inteface USB Programmer Options Windows m Figure 4 8 Message Program Times Download OK Program Times Function Enable Program Times 1000 Era pe AT 3 hex Download Ok Project Assemble and Download to IDE Flash Memory Successful downloaded to programmer or IDE Flash Memory Represent enable program times Display this program s programmable times Figure 4 9 1 When using USB interface the finished program code will be loaded into programmer or Flash Memory of IDE for mass production programming 2 is programming times in the assemble option information column will display the times of programming times as shown in Figure 4 9 2008 HYCON Technology Corp www hycontek com APD HYIDEOO1 VO1 HYIDE SUM EN page 46 HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 3 After assemble completed Hex filename and Checksum will display in underneath part as Figure 4 10 illustrated Download To Programmer 5 Flash Memory E XCYPRESSAIDELCMATestDemnoiTestbenoboard he
4. HY IDE Software User s Manual HVCON TECHNOLOGY 2 HY IDE Interface Description 2 1 HY IDE Edit Interface IDE Version IC Part No IDE Interface Project Name CXHyIDE100 Mode Edit v1 08 Chip HY 11P13 4K ICEInteface USB Project E Fie Edit Seach View Assemble Run Options Windows Help g d Edit SPICNT RASPARE SPICNT 0 gt SPIBUF JBit 7 1 38 SPIBUF JBit 7 20 8 SPICNT gt SPIBUF JERAM Address Low byte gt FSROL SPICNT 2 gt SPIBUF Address High byte gt FSROH SPICNT gt 2 gt i Address 3 TTEEES BITE SPICNT 8 838 255 CS PIN 1890 st Hotl rif SPICNT org imp FProBeoin nop jmp org 0004 Include Interrupt asm ProBeoin include SysIni asm myl OEOh Modified C Program Files HyIDE HyIDE De ioCodeiKitchenScaleiKicchF ICE Connect Checksum 2946 Main filename IDE connection Checksum after J status assembly Figure 2 1 62008 APD HYIDEOOt V01 HYIDE SUM EN page 10 _ www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY New Create a new file Open Open an existing file Close Close the current active file 2 1 1 Edit Window ME Open Open an existing file Label Setting Set label When open too many file
5. M 56D i Jmp Prob ProBegin include ee 27k Tot 3 2 RAM Window 2 DD 00 FF 30 OO 03 gu OO 00 00 OO OO OO OT DE 00 DE 04 00 00 DD 54 Figure 3 3 After opening RAM window Bank will show the volume of the selected IC Every Bank has 256 byte BankO starts from 0x00 to OxFF Bank1 starts from 0x100 to Ox1FF etc If the address does not exist it will display If users intend to switch Bank display use cursor to point to the desired Bank zone and then click the 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN 20 www hycontek com HY IDE Software User s Manual left key of the mouse to confirm HYGON HYCON TECHNOLOGY Hint is set the address will display numbers and will be underlined Notice The Address 0x00 OxOEof Banko is indirect addressing register it cannot be revised directly the displayed value is not referable If revise is required please refer to Chapter 3 3 Revise indirect addressing Data or Address Function Display Click the mouse selection key right key 10 Save To excel 11 RAMBANKO 12 Hint 1 Set Mark 2 Set Mark new color 3 Mark 4 9 Reset All Mark b Set Hint 6 Reset Hint 7 Reset All Hint 8 Load RAM Data 9 Save RAM Data 10 pet Mark set Marktnew color Reset Ma
6. gt u uuu m TEM 11 12 214 MER 12 2 1 5 Execution Me nbD u u uu u uu uu uu u L 13 205 MO T t mU Tum 13 2 1 7 8888888 88888 16 HY IDE DEBUG 17 3 1 FAST EXECUTION ee ee ee eee dw e RR ER v wart ek een eae 18 3 2 HAM WINDOW sissies ie sisi an arcu wa aca ai ieee nah u 20 3 9 REGISTER PUDE TUE TON VOUS NEU Cd MR ds EM IURE MU ONE 23 3 4 WATCH WINDOMW ndr U U Rt Gn Rs RR ed T LA UV V nn 25 3 5 STACK WINDOW RTRI VV V IEe 26 3 6 ADC WINDOW Me 27 OP WINDOW e rca states u M 32 3 8 COMPARATOR WINDOMW U U UU U U 34 3 9 REGISTER amp SRAM REVISE REcoRp U U 36 3 10 HINT FUNCTI
7. network mene 110 Figure 3 24 gt ADC Sample Clock Click the mouse a menu as Figure 3 25 will show up users can select the specified switch network ADCS 2 0 Figure 3 25 gt ADCCK Selection 1 Click the specified network by mouse ADCCK will switch selection 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN 29 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 2 Click the specified switch by mouse ADCCK switch will switch selection ENADC Click the specified network by mouse ENADC will turn ON OFF When ENADC ON display zone will output value VDDA Net work ENVDDA enable control 1 Select ENVDDA switch ON OFF 2 Select VDDA voltage Click the mouse a menu as Figure 3 26 will show up Users can select to specified mode VODA 1 00 10 41 11 Figure 3 26 3 Display VDDA Voltage When ENVDDA 0 the zone will show VDDA External When ENVDDA 1 the zone will show VDDX selected voltage gt PGA Network Click the mouse a menu as Figure 3 27 will appear Users can choose the specified network PGAGNI1 0 ma 10 11 r Figure 3 27 gt VRH Network 1 Click the network by mouse VRH can select the specified network 2 Click the network switch by mouse VRH can select the specified network switch VRH can choose the specified network 3 Click the network by mouse a menu as Figure 3 28 will app
8. Edit View Unda z Che Paste V Cte V select Figure 2 3 Under editing the file v Y V V WV Undo gt Cancel the previous editing operation Cut gt Remove the selected lines from the file Copy gt Place copy of the selected lines Paste gt Paste the copy lines to the present insertion point All Select all lines in the active file 2 1 4 View Menu Mode Edit v1 08 Chip HY Eun Edit 1 Cj Memm T S S Next File Alt Right m Previous File Alte Left 1 Figure 2 4 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 12 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY gt Edit Window gt Appoint the edit window as the present active window gt gt Appoint the next file as the present active window gt Previous file gt Appoint the previous file as the present active window 2 1 5 Edit amp Execution Menu dit v1 08 Chip HY 1113 4E Assemble sE un Options Windi Emulation Assemble CtulrF1 set File set Mode k L 35 Figure 2 5 gt Edit amp Execution gt Edit Source Code and execute program debug mode gt Edit gt Only program is edited program debug is not executed This assembler will not generate error message according to IC par
9. action has not been Regisiter Figure 1 3 Register Procedures 1 Please check the HyIDE Machine Number HyIDE Code on the parcel and send the number by e mail or on line register HYCON will send back another customer register code to you Connect the HyIDE Control Board to PC through USB interface 2 Execute HyIDEV10 software HyIDE exe Go to Option and press Register Fill in the customer code in Register Number and click Write to start M Interface Setup Seles gt Interface Setup Interface Setup Build Options Interface Setup Build Options Int Setup ICE Test Int Setup ICE Test Register Register HyIDE Machine Number HyIDE Machine Number 00000009 00000009 Register Number Register Number FD02FD34 Write Figure 1 4 4 process is successful a dialog will be shown Information has been Register Figure 1 5 5 process is fail a dialog will be shown as Figure 1 6 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 7 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY Figure 1 6 6 Once the register is succeeded Customers do not have to worry that other numbers may be written into the Register Number 1 5 Use Demo Code to Guide User Manual gt Start KitchFor11P13 asm gt Set the file as assembly main file gt Assembly start to progress program debug 100 Mode
10. HYGON HYCON TECHNOLOGY HY IDE Software User s Manual APD HYIDEOO1 VO1 HYIDE SUM EN HYGON 9 HY IDE Software User s Manual HYCON TECHNOLOGY Table of Contents 1 HY IDE OVERVIEW 4 INTRODUCTION u L UU U UU UU 4 1 2 HY IDE INSTALLATION AND SYSTEM REQUIREMENT nsa IRR RR SR RR RR RR SR RR RR Rara ORA 4 1 3 INSTALLATION AND UNINSTALLATION e U RR RR SR RR RR nnmnnn RR RR SR RR RR RERR RES Rea 4 WS TWAIN p 2 2 4 WITS f ii IR RR 7 T 4 REGISTER u LLL LLULLU IILI 7 1 5 USE DEMO CODE TO GUIDE USER MANUAL e nennen heu hen ahh REIR RR RR U 8 2 HY IDE INTERFACE DESCRIPTION eere rnm 10 2 1 HY IDE EDIT INTERFACE 10 TT EGIL WI J Remp 11 u gt
11. Interface Setup Build Options Int Setup ICE Test Register STOP when OY Stack watch Address Watch enable Biri Watch enable Watch enable Bite M watch enable Bit Watch enable Watch enable enable Bit enable Bit Figure 2 9 gt Stop operation when Stack overflow IDE will stop when Stack overflow gt Monitor address Select the monitored Register or RAM The program will stop when the program executed RAM or Register value equals to the monitored Data gt Monitor Data Monitor value is set when the monitor Data is filled up gt Monitor RAM bit Monitor function will be activated if the monitor bit is marked on The program will stop when the bit of Data value equals to the marked on bit 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 15 www hycontek com A HY IDE Software User s Manual HYCON TECHNOLOGY 4 ICE Test Interface Setup Interface Setup Build Options Int Setup ICE Test Register SRAM Data Address Write Data Read Data Write Head Program Data Address Write Data CK WCC Read Data Write Read CK ALL Figure 2 10 2 1 7 Window HyIDE100 Mode Edit v1 08 hy Chip 1113 4K ICE Inteface USB Project LC File Edit search View AsembleRun Options Ruwi Tile Horizontally AlHDown Tile Yerticlhy Alt Up Figure 2 11 The
12. 35 OP0N Network 1 Click the network by mouse OP0N can select the specified network 2 Click the network switch by mouse can select the specified network 3 Click the mouse a menu as Figure 3 36 will appear Users can select the specified switch network Figure 3 36 ENOP Click the network by mouse ENOP will turn ON OFF ENOP status display When ENOP 1 it will display ON When 0 it will display OFF VDDA Network Please refer to VDDA network of ADC window OP0M Network Click the mouse a menu as Figure 3 37 will show up Users can select the specified switch network Figure 3 37 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 33 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY 3 8 Comparator Window Comparator CEIH 1 0 DDA External I 00 00 PwMTRO 2 60 VDD TC27 TC26 Chip HY 11P14 2 4 e DA27 DA26 i xX Assemble amp Run capio gt CP2 OFF I Edit Reference Voltage External CP1 OFF Source Alte MNT Hex Altt3 vum csi Watch Altea 0 5 x VDD Static RAM 025 x VDD Special Register ae Temperature 1000 5 stack Alte 47 VR
13. 4 2 Program Times 53 Attention 1 Information included in this manual concerning device applications and analogous content is furnished only for user convenience and HYCON does not accountable for the content usage and any incurred outcome The content of specification may be replaced by updates it is users responsibility to assure that your application meets with your requirements and standards Should buyers applied HYCON products as key devices in life support or safety system is entirely at buyers risk Any use of HYCON products in such application is forbidden HYCON reserves the right to change without further notice For most up to date information please visit our website http www hycontek com 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 3 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 1 HY IDE Overview 1 1 Introduction To facilitate the process of product development HY IDE development environment is provided to deploy HYCON s full range of MCUs Customers can implement the end product s in circuit emulation on this plattorm and program the code onto HY series OTP products 1 2 HY IDE Installation and System Requirement The minimum requirement of system configuration to operate HY IDE 1 PC hardware request PC compatible machine with PENTIUM amp CPU 128 MB Memory 256MB is recommended 10 GB Hard Disk Space 2 05 W
14. 5 There are two ways to revise SRAM value 1 Point the cursor to the selected revised lines click mouse s left key and Key IN directly 2 Point the cursor to the selected revised lines double click the mouse s left key a window will pop up as Figure 3 6 shown Users can key in on keyboard or press the button by mouse RamO0D5 22 X RAM Data Keyboard Key IN RAM Address Mouse Click Figure 3 6 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 22 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 3 3 Register Window WREG Program Cycle Times Counter Indirect addressing O TIT 11P13Special Register Indirect addressing O IHINDOSM DSA 20 01 08510 WRER IND BOSS Jall WRES 5 Cwele 0000000 Indirect addressing 1 SURED 5 EZ Address J rir Indirect addressing 1 INDPO POINCO PODECO PRINCO PLUSWO INDFl POINC PODECI PRINCI Data ADCEL TMCR 01 Dn 00 00 Dn DF 00 Single Byte Register SSPBUF LCD2 LEDE LCD LUD TOS POLAT MN PROD one Word composed 0085 0000 0000 032E 0018 Register A Display PAGE 1 Register Xs x STKPFRT3STEPRT2STKEPRETI STEPRTO TMBIE TMAIE WDTIE EME EDIE SSPIE TMBIF TMAIF W
15. New Hardware Wizard Hardware Installation Please wait while the wizard installs the software AN The software you are installing for this hardware Hycon USB IDE Device lt Hycon USB IDE Device has not passed Windows Logo testing to verify its compatibility with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system gt either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Setting a system restore point and backing up old files in case your system needs to be restored in the future Continue Anyway Completing the Found New Hardware Wizard The wizard has finished installing the software for Hycon LISB IDE Device Click Finish to close the wizard Back Finish Figure 1 2 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 6 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 1 3 2 Uninstallation Please remove the file HyIDEV11 in Add Remove under Control Panel 1 4 Register 1 Customers use ICE hardware emulation or OTP programming for the first time 2 dialog appeared or abnormal IDE crash occurred customers must conduct re register
16. gt Data Length gt Data length showing DS definition length if EQU definition is applied this value will show 2 gt Data Type gt Data type D DS definition C EQU definition Add Delete Watches Edit Watch Delete Watch Alt D Delete Watches Hide Addr Load Properties save Properties lear Properties Monitor EQU defined Register or RAM click the right key of mouse to select add in monitored Register or RAM as Figure 3 15 described Ex Hy ADDWCH Add Delete Watches Edit Watch Delete Watch Delete Watches Hide Addr Load Properties eave Properties Clear Properties Figure 3 15 3 5 Stack Window ahon Chip HY 11P13 Assemble amp Eun Edit Alt 1 pourte Alt Hex Alte3 Watch AIH Matic Special Register Alt ADC Panel Panel Next File AlttRight Previous File Alt Left Figure 3 16 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 26 www hycontek com HY IDE Software User s Manual HYGON HYCON TECHNOLOGY Display stack layers Display stack address 3 6 ADC Window Chip HY 11 13 T Edit ADUCE Watch 4 atate 15 special Register e tack Panel DP Panel Next File AltrEisht Previous File A ltr Left 2008 HYCON Techno
17. selected part no Blank Check Program and Verify will fail Language Select the language of operating interface either Chinese or English Hardware Setting USB or Parallel Port interface is selectable IDE Mode Select programming When the interface setting is accomplished clicK Assemble Option to select programming setting as Figure 4 2 indicated Generate Files Stack Over Reset Stack Option Enable Program Times 2008 HYCON Technology Corp www hycontek com Interface Setup Secs Interface Setup Build Options 4 Build Option Int Setup ICE Test Register No Use Area Fill Generate Files Enable Tool Bar 0 0000 V Hex file Or obj file OxFFFF file ASCII file fe Compier Select Stack Over resel Input Program Times Enable Frogram Times Smart Compiler Program Protect Input Program times APD HYIDE001 V01_HYIDE SUM_EN 42 HYGON HY IDE Software User s Manual HYCON TECHNOLOGY Figure 4 2 Assemble Generated Extension gt The generated file after selecting the programming program Stack Operation gt Select whether to replace when stack overflow underflow occurred after OTP program operation Fill Unused Zone gt Fill the unused zone with 00 or FF in the program after programmed Simplified Assemble gt Select whether to simplify assemble En
18. the programmer can be used alone when programming on the production line There is not necessary to connect the programmer to the PC ov Ground U6 USB DC Jack 9V HYCON Writer P3 dO C 12 L1 S3 S2 Green Red Program Blank Check Figure 4 26 J1 DC Jack 9V input Notice the case is 9V the core is Ground VSS U6 gt USB port Users use this port to connect to PC P3 gt Program PIN output PIN and is connected VPP PIN2 SCK PIN3 DI PIN4 DO PIN5 VSS PING VDD L1 gt Error message light display red LED L2 gt Success message light display green LED 52 gt Blank Check button for offline operation S3 gt Program buiton for offline program operation To implement offline operation Hex file must be firstly downloaded to programmer Flash Memory Please refer to Chapter 4 2 1 or 4 2 2 for procedures S2 Button can check if the IC is blank 53 Button is programming button procedures are Blank Check gt Program gt Verify If Program Protection of Assemble Option is ticked up before downloading data to Flash Memory program protection will be executed after Verify completed If Program Protection is 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 54 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY not ticked up it
19. will stop after Verify accomplished If any failure or error happened during execution procedures L1 red LED will be lightened up On the contrary L2 green LED will be lighted up if success 4 4 2 Program Times Restriction The menu of Assemble Option in interface setting has an option of Enable Program Times as described Figure 4 2 This option restrict the times of the permitted program times of download program This is a safety mechanism that restrains permitted program times preventing it from over programming on the production line After ticking up Enable Program Times key in program times in the filed below Input Program Times maximum is 99999999 minimum is 1 This argument will be written into EEPROM of the programmer after the compiler programmed file is downloaded to Flash Memory Afterwards the enabled program times will reduce 1 each time when programming completed If the value reduced to 0 the programming action may not be executed At this time an error signal red LED will be lighted up and Blank Check still operates normally 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 55 www hycontek com
20. window be displayed horizontally or vertically 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 16 www hycontek com HY IDE Software User s Manual HYCON TECHNOLOGY 3 HY IDE Debug Interface It can be classified into hardware debug and software debug e Hardware debug The indication column is blue e Software debug The indication column is green HyIDE Emulation Chip HY 11F13 4E ICE Inteface USB Project File Edit Search View Asembl amp Run 7 052 Options Windows SRAM Recon a 4 om P p pp K SS some Code spre RS SPICNT 0 SPICNT SPIBUF SINT SPICNT 2 SPIBUF SPICNT SPICNT gt 2 IBIER sPICNT n GiW 255 Size 27k 4K Total Code Line 2715 D 0 0 DD DD 00 0000 03 2 0000 AS 01 00 1000 00 OO OO 00 OO OO OO 000 00 DO DF 00 00 FF FF FF 63 7B 10 00 OO 000 I I I Ieolol INDFO POINCO PODECO PRINCO PLUSWO POINCI I PLUSWl WREG BSR ADCRM ADCRL TMAR AS 01 00 00 00 00 PWME SSPBUF LCD LCD2 LCD3 LCD4 FF FF 00 63 LCD LCD9 lt main C Program Files HyIDE HyIDE DemoCode Kitchengcale KitchForllP13 as ICE Connect Checksum 0 2945 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 17 www hycontek com HYCSN HY IDE
21. 13 937 5mV CPVCSIT 0 VR12 875mV 2 3 Floating VRTI 812 5 ADC Panel ae VR10 750mV Panel gt in ae 625m comparator Panel 5 ee VRE 437 5mV Next File AlttRight 000 ee 52 Previous File AlttLett VR4 312 5m VR3 250mV VR2 187 5mV D VR1 125mV 0000 pec CPVRS 3 0 f Figure 3 38 ENCPA CPIX VDDA CPOX ON Comparator CPOFR DDA Extenne WYDD DA2 CPIH he CP1 OFF ian CPVCS CIST 0 25 x vp Temperature m 1000mV WR13 937 5 VR12 875ml WRIT 812 5miv VRTD 750m WR 687 5mi E25miV VR 562 WRB 437 51 375744 312 5niV 250 WR2 187 5mi ni WRT 125 0000 L 1 CPIL J CS1 52 Figure 3 39 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 34 www hycontek com HYCSN HY IDE Software User s Manual HYCON TECHNOLOGY gt Network 1 Click the network by mouse can select to the specified network 2 Click the network switch by mouse CPIH can select to the specified network 3 Click the mouse a menu as Figure 3 40 will show up Users can select the specified switch network CPIH 1 0 Figure 3 40 gt C
22. 9 TFFD 368C 000 6680 1010 10 6480 0708 DO FOSS 882B 6480 5606 3629 TFFD 10 0081 012 3683 1801 000A 3CS8D 0000 6684 806 03 1000 629 6600 0630 1000 29 6600 000A 6681 BO 6480 002 3629 TFFD DOGO 010 648D 0708 D022 BD 5202 3629 DOGO 010 1081 FOI 3683 71801 OOF 0081 FOL 806 200 FOR 1081 FOL C200 FOCE 0603 A605 1A05 0630 0000 0000 0000 0000 10000 0000 0000 0000 0000 0000 0000 0000 0000 gt S Head Checksum Figure 4 24 4 3 5 AUTO Auto integrates the functions of Blank Check Program and Verify If user selects Auto it will first check whether the IC is blank then to program and verify After the execution succeeded a message will be displayed asFigure 4 25 displayed If the option Enable Program Times is ticked up the program permitted times will reduce 1 and the remaining program times will be shown in the message column ON SBM Blank Program Chip Program SBM OK Verify Chip OK Verify SBM OK Program limes Left 39999997 Figure 4 25 If any function fails the whole process will stop and display an error message in the message column 2008 HYCON Technology Corp 0 01 01 HYIDE SUM EN page 53 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 4 4 Offline Programming 4 4 1 Program Description As the development process evolves to mass production
23. CON TECHNOLOGY 4 2 Operation Procedures Open Compiler Main File Down Load Hex File To Programmer s Flash Memory Read Programmer s Flash Memory Only For Writer Version HyIDE100 Mode Edit v1 08 Chip 11P13 4K ICE Inteface USB Project A Edit Search View Programmer Options Windows x Xx 5 S Open Project Save Project DownLoad To Flash Memory Read From Flash Memory Figure 4 5 Open gt Open the programmed source code main file Open Project gt Open the saved project Save Project gt Save the finished project Download file to Flash Memory gt Download the finished Hex file after assembling to 2008 HYCON Technology Corp www hycontek com programmer or IDE Flash Memory APD HYIDE001 V01_HYIDE SUM_EN 44 HYGON HY IDE Software User s Manual HVCON TECHNOLOGY 4 2 1 Open File and Assemble roy HyIDE100 Mode Edit 1 08 Chip HY 11P13 4K ICE Inteface USB Project File Edit Search View 5 055505 Programmer Options Windows Lip s Ho n DS Edit E SPICNT SISP ISS SPICNT 20 gt 7 1 38 SPIBUF SJBit 7 0 H SPICNT gt SPIBUF ERAM Address BJ Low byte gt FSROL SPICNT 22 gt SPIBUF 852RAM Address 87 High byte gt FSROH SPICNT gt 2 gt St JERAM Address 255 BCS PIN EH1 80 0891 SPICNT org O000
24. DTIF EIIF EOF SSPIF DC N z BOR SKERR DR LYDON VLDE3 VLDX2 VLO VLDX FHVDDA VDDAXI VDDAXO ADCS2 ADCS ADCCK XTHSP XTSP ENET EHRC2M LCE HSCK H amp S H350 CPUCK1 IMCECH4 LODS2 LCDs 1050 8251 BESO Display PAGE 2 Register ar a ae a Display PAGE 3 Register lt saaa m ci La Register byte E s d ey a e k 1 aay Register bit Figure 3 7 gt Revise Indirect Addressing Data or Address After setup as Figure 3 8 illustrated Address can be revised through typing on the keyboard or by pressing the value by mouse Foy 11P13Special Register TNDO M D5A J 10 Frog _ Modify Vale WRE Revise indirect address lemory checked of the mouse Clear Cancel click the left key Figure 3 8 After setup as Figure 3 9 illustrated Data can be revised through typing on the keyboard or by pressing the 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN 23 www hycontek com HYCON TECHNOLOGY N HY IDE Software User s Manual value by mouse 11P13Special Register DO 10 Revise indirect data Modify FSEU Click the left key of the mouse
25. E myl lh lt i gt ES Figure 3 45 APD HYIDEOO1 VO1 HYIDE SUM page 38 HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 3 10 Hint Function of Source Code Window If users intend to know Register or SRAM value and Address in source code window point the cursor to register or SRAM the name address and data can be revealed This function is only applicable to the instructions below CLRF ADDF INF INSZ DCF DCSZ SUBF COMF ADDC IORF XORF SUBC RRF SETF MULF RLF JZ RRFC RLFC SWPF DAW INSUZ DCSUZ ARRC CPSG CPSL CPSE TFSZ BTFG BSF BTSS BTSZ MVFF not Macro gt Only the first followed argument is effective as Figure 3 46 described When command is BCF BSF BTSS BTSZ and BTGF Byte value will be revealed if the cursor points to the first argument If the cursor points to the second argument it will display the specified Bit value 1 or 0 as Figure 3 47 illustrated gt When command is MVFF not Macro first argument value will appear if the cursor points to the first argument If the cursor points to the second argument argument value will show up as shown in Figure 3 48 gt Ifthe argument is INDFO POINCO PODECO PRINCO INDF1 POINC1 PODEC1and PRINC1 the Data will be FSRO or the address Data of FSR1 as gt Figure 3 49 described gt Ifthe argument is PLUSWO or PLUSW1 the Data is FSRO WREG or the address Data of FSR1 WREG as illust
26. Edit v1 08 Edit Search Wiew Look in KitchenScale tj New N B 3 ADC Openi Recent Display e Choose kitchFor11P13 asm Save 2 B Interrupt Keyscan eve Code Fics File LCDINDX LS MainPro Close All Math E s24cxx E SEED PER 4 a Open Demo Code ave Project E Sysini d Read From Flash Memo 4 1y My Network Fiename 11 13 Opens aces Lolo Files of type asm Cancel Figure 1 7 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN 8 www hycontek com HY IDE Software User s Manual HYGON HYCON TECHNOLOGY 593 HyIDE100 Mode Edit v1 08 File Edit Seah View Assemble amp Run Chip HY 11P13 4K DEK ICE Inteface USB Project SPIBUF Address 7 Low byte gt FSROL SPICNT 22 gt SPIBUF SERAM Address 7 High byte gt FSROH St Address 3 CT ERE UE Make sure connecte Prersmmer Ophea Asemble amp Run Emulation F4 SPICNT EE SPICNT 1 gt set File SPICNT gt 2 gt Mode SPICNTT AaB i 255 E SCS PIN 1 0 s Hol 23 SPICNT mun 5 Over org 0000h Fi jmp ProBegin E stack Out 10 jmp 0 stepBack F org 0004h C
27. O1 HYIDE SUM EN 31 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY gt ADC Display Zone 1 Select ADC value output type gt Hex or Dec output is selectable 2 Select ADC value output Bit gt selectable 8 24 Bit output 3 Display output button gt Click this button can immediately display ADC value 3 OP Window Edit Alt Chopper ADC_CK 64 Source A182 AT gt Hex Altt3 EM Watch zun 00 DDA External Static RAM Altr5 P A01 Special Register 6 r 4 URE ru E DPD Stack i OFF Alte ERUNT CK Panel m EEE gt Next File AltrRieht DANS Previous File AltLeft PUMP p m a Alx Ini OPN 2 0 Figure 3 33 DDA 2 40 V zu OPxO OFF 5 DCK ENOP Figure 3 34 2008 HYCON Technology Corp 01 01 HYIDE SUM EN page 32 www hycontek com gt HYGON HY IDE Software User s Manual HYCON TECHNOLOGY OPOP Network 1 Click the network by mouse OPOP can select the specified network 2 Click the network switch by mouse OPOP can select the specified network 3 Click the mouse a menu asFigure 3 35 will appear Users can select the specified switch network 9 5 00 um UR Figure 3
28. ON OF SOURCE CODE WINDOW U 39 4 PROGRAMMING WINDOW rennen nnnm nnne nnn nun 41 4 1 INTERFACE SETTING RR RR REN RR RR RRSR RR RR 41 4 2 OPERATION PROCEDURES uva adu uu cun suia avuto UE 43 42 1 QODpSmFIEeandASSeImbl6eusssusnene 44 4 2 2 Download Hex File to Programmer or IDE Flash Memory 47 4 3 PC ONLINE OTP PROGRAMMING enun nahen RR DR RR SR UU U 48 G 4241 Blank Check 9t iis 49 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 2 www hycontek com HYGON J HY IDE Software User s Manual TECHNOLOGY 432 Program WE uuu uuu iu uuu uu uuu l u uu 22 0 2 49 433 Verify POOF MTM 50 Da PO WELL u AEE 50 4 3 5 AUTO 51 OFFLINE PROGRAMMING u 52 Progam DOSC MN m Um 52 4
29. PIL Network 1 Click the network by mouse CPIL is select to the specified network 2 Click the network switch by mouse CPIL is select to the specified network 3 Click the mouse a menu as Figure 3 41 will appear Users can select to the specified switch network 2 0 Figure 3 41 gt CPVCS Network 1 Click the network by mouse CPVCS can select to the specified network 2 Click the network switch by mouse CPVCS can select the specified network 3 Click the mouse a menu as Figure 3 42 will show up Users can select the specified switch network Figure 3 42 gt CPVRS Network 1 Click the network by mouse CPVRS can select to the specified network 2 Click the network switch by mouse CPVRS can select the specified network 3 Click the mouse a menu as Figure 3 43 will show up Users can select the switch network Figure 3 43 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 35 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY gt VDDA Network Please refer to the VDDA network of ADC window gt CPIX Switch Click the network by mouse CPIX will switch gt CIST Click the network by mouse CIST will turn ON OFF CIST status display When CIST 1 display ON When CIST 0 display OFF gt CS1 Switch Click the network by mouse CS1 will switch up and down gt CS2 Switch Click the network by mouse CS2 will switch up and down gt ENCPA Click the n
30. Software User s Manual HYCON TECHNOLOGY 3 1 Fast Execution p nu Fast Window Switch SPICNT EUFZ sprayers SPTCNT D gt 8PIBUF J SFICNT gt PIBUF nm A SPICNT RAPHA J 4 SPICNT gt SPIBUFAYBit 7 1 88 SPIBL 4 SPICNT 1 gt SPIBUF Address i SPICNT 2 gt SPIBUF Address E SPICNT gt 2 gt THXER gt BSPICNHT n i dig 255 Modified eie 2k 7 4E Total Code Line 2715 4 Switch to Hex window gt Program Memory instruction 6 Switch to Reg window e Foy 11P13Special Register INDO MUSA 1 10 INDI Mp O85 10 WREG 45 Cycle Byie INDFO POINCO PODECO PRINCO PLUSWO INDFl POINHCI I PLUSWl WEEG ESE ADCEM ADCEL TMAR 5 01 00 00 00 00 PWME SSPBUF LODO LCDI LCDZ LCD3 LCD4 FF FF 00 T 53 TA 3E LUD LEDS LEDS Fast Debug 1 1 Step back m 2 Trace Enter into Macro vice program 3 Step over Not enter into Macro vice program 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 18 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 4 Skip Call 7 b Execute Free RUN P 6 Pause llli 7 Continue PE 8 Program replace h 9 Back to edit mode RUN D 2 Step Over i po 1 tep Over Trace Trace m af tepBack E Contin Progra
31. Window 4 1 Interface setting Click Option button and select interface setting to get access to programming window as os 100 Mode Edit 71 08 Chip HY 11P13 4E ICE Inteface USB Project File Edit Search View AsembleRun Options Windows S Interface Setup Interface Set Build Options Interface Setup pissed Int Setup ICE Test Register Chip Select 11P13 4K 4 Select Chip Language English Select Language Hardware Interface Interface Mode USB Interface IDE Mode emulate and Debug Select Program Memory Select Programmer Figure 4 1 described 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 41 www hycontek com HYCSN HYCON TECHNOLOGY HY IDE Software User s Manual ON 0 100 Hode Edit v1 08 Chip HY 11IP13 AE File Edit Search View eemblesEun ICE Inteface USB Project tons Windows Interface Setup interface Set Build Options Interface Setup Basses Mj ricche Int Setup ICE Test Register Chip Select Select Chip Language Select Language Hardware Interface nterface Mode USB Interface IDE Made emulate and Debug Select Programmer Program Memory Select Raum x Figure 4 1 IC Selection Select the IC part no If the programming IC differs from the
32. able Programming Times gt Select whether to enable Download program s programming times Input Programming Times gt Fill in Download program s programming times Maximum is 2147483646 minimum is 1 After assembling finished click ICE Test to evaluate testing voltage as Figure 4 3 described Connect IDE and insert 9V power before clicking Option M Interface Setup Interface Setup Build Options Int Setup ICE Test Reai Show VPP SRAM Data Voltage Address Write Data Check VPP Write Read Program ROM Data B Show VCC Address j Voltage White Data Read Data White Read Check VPP VCC Figure 4 3 Click Close after the interface setting is done All arguments will be recorded When the setting is opened next time default value will be written in automatically and the selected programming IC part no will be shown in topic window as Figure 4 4 described HyIDEIUU Hode Edit v1 08 Chip HY 11P13 4E ICE Inteface USB Project File Edit Search View Programmer Options Windows D D Conform Chip Figure 4 4 VPP voltage while programming 5 6 lt VPP lt 6 6 VDD voltage while programming 2 7 lt VPP lt 3 6 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 43 www hycontek com HYCSN HY IDE Software User s Manual HY
33. ancel Figure 4 11 Information column will show success message after programming succeed as shown inFigure 4 9 The Downloaded Hex file and Checksum will also be revealed in the indication column asFigure 4 10 illustrated 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN 49 www hycontek com 4 3 PC Online OTP Programming 00 Hode Edit v1 08 Chip HY 11 14 8E ICE Inteface USB Project File Edit Search View Programmer Options Windows Tew py Ge Ds He Blank Display Hex Code Check Program Verify Read Auto Figure 0 12 Figure 4 13 Blank Check Programming Verify and Read command can be implemented when the programmed file being successfully loaded into programmer or IDE Flash Memory On the contrary those commands will not be activated if the download is malfunctioned OTP Chip does not match with the selected IC Figure 4 14 OTP on Line E VCYTPRESBAIDELCM TestDenoiTestDenoboard azm Body n board Checksum xDDC Figure 4 15 OTP has not been found i ACYPRESSVIDE TenxVAHY PCAIDETESTA11pl3 128testiKitchForllPl3 hex Body not on board Checksum 0 45 Figure 4 16 Make sure the selected programming IC part no is the same with the OTP part no in topic window as Figure 4 4 described When programmer executes Blank Check Programming and Verify comma
34. e gt Mode option Two choices Emulate and debug and program 2 Edit Item Interface Setup Interface Setup Build Options Int Setup ICE Test Register Generate Files Enable Tool Bar Hex file no obj file No Use Area Fill List file 00 ASCII file Smart Compiler Program Protect Stack Option Compiler Select Stack Over resel Input Program Times Enable Program Times Close Figure 2 8 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN 14 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY 3 gt Assembler generated extension it is selectable to produce below file format V WV 1 binary file Hex 2 Obj file obj List file Ist 4 ADCII file asc Stack operation Choose to replace the program after stack overflow When this option is chosen Compiler will add to Hex it will be programmed in to Program number of times limit Please refer to the program Chapter Font option Choose editor s fonts Fill unused zone Fill the unused zone with 0x0000 or OxFFFF in the program Simplified assemble Simplified assemble function is selectable When JMP or CALL is smaller than 2K it will automatically transform to RJ or RCALL If the arguments of CALL are set it will not transform to RCALL Program protection Please refer to the program Chapter Interrupt Setting Saee Sete HER
35. ear Users can select the specified switch network 11 Figure 3 28 gt Network 1 Click the network by mouse VRL can select the specified network 2 Click the network switch by mouse VRL can select the specified network 3 Click the mouse a menu asFigure 3 29 will appear Users can select the specified switch network 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN 30 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY Figure 3 29 gt 1 Click the network by mouse VERBUFF switch will turn ON OFF 2 Click the network switch by mouse VERBUFF switch will turn ON OFF DC Offset Network Click the mouse a menu as Figure 3 30 will show up Users can select the specified network Figure 3 30 ADGN Network Click the mouse a menu asFigure 3 31 will appear Users can select the specified network Figure 3 31 gt VRGN Click the network by mouse VRGN can select the specified network gt ENCHR Click the network by mouse ENCHR can select the specified network Notice ENCHR lightening up means ADC Chopper is closed gt ENHIGN gt Click the network by mouse ENHIGN can select the specified network gt OSR Network Click the mouse a menu as Figure 3 32 will show up Users can select the specified network OSR 2 0 1000 Figure 3 32 2008 HYCON Technology Corp APD HYIDEOO1 V
36. etwork by mouse ECPA will be activated ENCPA status display When ENCPA 1 comparator is enabled When ENCPA 0 comparator is disabled gt CPOX Click the network by mouse CPOX will turn ON OFF gt CPOFR Click the network by mouse CPOFR will switch up and down gt enable Click the network by mouse module will be activated or inactivated CAPAT status display When CAPAT 1 CAPAT module is activated When CAPAT 0 CAPAT is inactivated gt REFO Switch Click the network by mouse REFO will turn ON OFF REFO status display When REFO 1 REFO is activated When REFO 0 REFO is inactivated gt PT2 7 CAPO will output only when PT2M 7 1 TC2 7 1 and DA2 7 1 3 9 Register amp SRAM Revise Record If the register or SRAM has been revised manually after access to emulation window hardware emulation or software emulation the data will be recorded despite the RAM Register ADC OP and CMP is revised through any kind of window The data will be revealed after pressing the button RAM revise record At this time windows will suspend until it is closed to execute other commands 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 36 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY Emulation Chip HY 11P13 4E ICE Inteface USB Froject File Edit Search View Option Windows ESSET mim m e e i th m TP
37. h jmp ProBegin jmp erg 00048 Include Interrupt asm ProBegin include SyslIniasm mvl OEOh mvf SPIINDEXL F ACCE re peE gsm myl 13 BERS mvf OFSh F ACCE myl th re sa Display Main Program File EM Checksum 0 2945 CYPRESS IDELCH Application OnlyADC Test 14 OnlyADC14 hex Figure 4 6 Open source code main file and display the assemble file If the displayed name differs from main file point the cursor to the file and press mouse right key Set this file as the assembling main file as shown in Figure 4 7 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN 45 www hycontek com HY IDE Software User s Manual HYCON TECHNOLOGY Main ine KidtehForllPl3 asm SPICNT HEM E SPICNT 20 gt SPIBUFR Bit 7 1 88 SPIBUFR IBit 7 0 EZ SPICNT 1 gt SPIBUF ESERAM Address B Low byte gt FSROL SPICNT 22 gt SPIBUF Address AY High byte gt FSROH SPICNT gt 2 gt j SEE RAM Address 255 secs PIN FA 1880 s 088 5 org 0000 imp jmp org 0004 Include Interrupt asm ProBegin include SwsIniasm file KitehForl 1P13 asm file Main inc myl QEOh ew myi SPIINDEXL F ACCE is Sat u myl 13h Close file mvt OF Sh PF pet Main File mv 1h ale
38. indows 985 Windows 2000 Windows 3 Applicable interface USB Port 1 3 Installation and Uninstallation 1 3 1 Installation Note that some Windows operating system may request the HY IDE to be installed in the Supervisor Privilege Insert the HY IDE CD into the CD ROM drive and find the file in the CD ROM or file to execute Setup exe Following the dialog step by step to continue setup procedures As shown in Figure 1 1 First time installation must initiate USB driver program the setup procedures are as Figure 1 2 shown 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 4 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY i HyIDEY11 InstallShield Wizard HyIDEY11 InstallShield Wizard Welcome to the InstallShield Wizard for Custom Setup HyIDEV11 Select the program features you want installed The InstallShield R Wizard will install HyIDEY11 on your Click on an icon in the list below to change how a feature is installed computer To continue click Next Feature Description WARNING This program is protected by copyright law and international treaties ie 11 InstallShield Wizard iy HyIDEY11 InstallShield Wizard License Agreement Ready to Install the Program Please read the Following license agreement carefully The wizard is ready to begin installation you want to review or change any of your ins
39. logy Corp www hycontek com Figure 3 17 INH 2 0 ENADC ADCS 2 0 s VDDA 100 gt External 1000 1000 5 2 0 1000 DCSE TZU ADGN 2 U ADC Output Rate 5 0 VREGN SD Chopper on ADC_CK 256 00 INX 1 0 Mbit ADCROH M L ADCIF 1 4 ADC OFF ADC out made ADC bits VREGN x 1 HEX Hs E e IMBLIF Y 4 Head ADC PGAGN 1 0 ATTA U VRH 1 0 100 Figure 3 18 APD HYIDE001 V01_HYIDE SUM EN page 27 HYGON HY IDE Software User s Manual HYCON TECHNOLOGY ADC Sample Clock ENADC VDDA 4 DC Offset ADGN VRGN Ab 2 eee al g ek 232789 ENHIGN ENCH ENHIGR ADCROH MIL AD ADC OFF INH 2 0 lt 1 VODA M ADE Output Rate ADC_C iN 5016 Chopper OPAMP L 29414 9 ADGN 16 gt AAD VRGN x 172 ADC out mode ADC outp bi HEX 118 x Display ADC Value Read ADC Display ADC output bit Selection ADC output value type s ADC output m PIER button INIS INBUFF INL PGA VRH VRL VERBUFF Figure 3 19 INH Network 1 Click the network by mouse INH can select the specified network 2 Click the network switch by
40. m Step Back ru Continue DD 4 Program Rese EditMode lt Ctl F11 ti set Break Poit EZ Figure 3 1 Two methods to set or remove interrupt 1 Use mouse 10 select interrupt place in program code window or machine code window press F2 button to set to remove interrupt 2 Use mouse to select interrupt place in program code window or machine code window double click the left key to set or remove interrupt 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 19 www hycontek com HY IDE Software User s Manual HYCON TECHNOLOGY gt Source Code Program Memory KitchForl 1P13 asm INTERRUPT A SM instruction SFh M 9F 0 BSF 59h M 59 7 ABh MAB 3 minu cM BCF ABh M AB 3 SEICNT coh SPICNT MVE CDh 0 ick mouse to set SPICNT gt CLRF BBh M BB 0 interval 25 BSF 23h 23 50 section PIN FEHIBED H DZh M D2 1l MYL FBh M FB F MYL 13h F5h M F5 U MVL ih jmp 8 MVE F4h 4 0 org ETSA DH M zZD U Include BSF M 5A 1l 2Dh M ZD Mf5A 1l Adh M A33 D FJ 3z5h BTSs 0 lt 11 FJ 32 Dh BISA Dah M DzZ 1l FJ ETSE Adh 43 50 FJ M AB 3 RJ 14Bh ETSA
41. mouse INH can select the specified network 3 Click the mouse a menu as Figure 3 20 will appear and users can select the switch network INH 2 0 111 Figure 3 20 INL Network 1 Click the network by mouse INL can select the specified network 2 Click the network switch by mouse INL can select the specified network 3 Click the mouse a menu as Figure 3 21 will appear and users can select the switch network INH Z0 711 Figure 3 21 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 28 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY INIS Switch 1 Click the specified network by mouse INIS switch will turn ON OFF 2 Click the specified network switch by mouse INIS switch will turn ON OFF gt Network Switch 1 Click the specified network by mouse 4 switches are shown as Figure 3 22 Figure 3 22 2 Click the mouse a menu as Figure 3 23 will appear and users can select the switch network INX si Figure 3 23 INBUFF Switch Click the specified network by mouse INBUF switch will turn ON OFF Click the specified network switch by mouse INBUF switch will turn ON OFF INL network 1 Click the network by mouse INL can select the specified network 2 Click the network switch by mouse INL can select the specified network 3 Click the mouse a menu as Figure 3 24 will appear and users can select the specified switch
42. nds Program will check whether the IC part no and OTP programming part no are identical If the part no is different the data will not be written into OTP and an error message will display in information column as 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY OTP Chip does not match with the selected IC Figure 4 14 described users intend to find out whether the part no is correct before programming point the cursor to IC Connection Status Display and click the mouse left key If the IC part no is correct a message will show up as Figure 4 15 If it is incorrect the message will display as Figure 4 16 If Enable Program Times is ticked the spare program times will display in the message column as illustrated Figure 4 17 Figure 4 17 4 3 1 Blank Check The internal code of Blank ICs that have not yet been programmed is OxFFFF The purpose of checking the IC is to assure the OTP address content is OXFFFF If the IC selection is correct and the content is empty a message will appear as Figure 4 18 M Message Blank Figure 4 18 If the IC selection is incorrect or the content is not empty a message will show up as Figure 4 19 described Message Figure 4 19 4 3 2 Program The purpose of programming is to write Compiler accomplished program into IC OTP When p
43. ontinue Fil Include Interrupt asm Stop F1Z ProBegin Program Reset include SysIni asm Edit Mode CCHI F11 myl Sot Break Point SPIINDEXL F ACCE ER Display main filename myl mvf 13h 9155 OFSh F ACCE C Program Files HyIDE HyIDE Dem Figure 1 8 HyIDE Emulation File Edit Search View Hin Source Code Options Windows h ssemble amp Run Frosrantimner Chip HY 1113 4 Assmble amp Run odeYKitchenScaleiKitchForllP13 asm ICE Inteface USB Project Options Windows SRAM Record Y amp T 0 p DP STE SPICNT 0 SPICNT 1 SPICNT 2 SPICNT gt 2 SPICNT n 28 8 255 Access to debug picture org Include ProBedgin include SPIBUPHBit 7 1 BB SPIBUF Address SPIBUF Address B SY FETERAM Address 8 gt gt gt PIN Higo Hogi Sisk spIrcHT Interrupt asm SysiIni asm SPLINDEAL ACCE main C Program Files HyIDE HyIDE DemoCode Kitchens ICE Connect Checksum Ox2546 Figure 1 9 Any editor can be used to edit Source Code as long as it can be stored as ASCII Code format Debug and edit function will be elaborated in next Chapter 2008 HYCON Technology Corp www hycontek com APD HYIDE001 V01_HYIDE SUM EN page 9
44. rated in Figure 3 50 Name Address Data z 11 Luo mwl mwl 13h BRE mvt OFSh F ACCE mwl ih ERA Figure 3 46 Show Byte Value Show Bit Value Mainloop btaz htsz eus SIE 3 RLCDG btss btss bet RLCDG h lhat ACCE Figure 3 47 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 39 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY First argument Second argument baf INDFO 4 Acc b INDF 4 ACCHE AS 10 90h AS 10 80h mw BRAMPotL 1 mft ADCFoat1 Mainloop m 2 m Mainboop btsz dvacN SvsSoP ACCE Fp nanann Laa Figure 3 48 Name FSRO Data address ADCP atl _ i ra n D um sr n Mainloop htsz ACCE 1 4 T 1 11 x To Figure 3 49 Name FSR0 WREG Data Address Figure 3 50 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 40 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY 4 Programming
45. rk Reset All Mark set Hint Reset Hint Reset All Hint Load RAM Data save Data save To excel RAMBANELU RAMBANEI Figure 3 4 Use DS defined SRAM Hint will be automatically generated in corresponding window address When cursor point to the address it will show the defined string Ex Program definition SRAM MEMAR 080h MD1 DS 1 MD2 DS 1 MD3 DS 1 MDL1 DS 1 MDL2 DS 1 MDL3 DS 1 2008 HYCON Technology Corp www hycontek com APD HYIDE001 V01_HYIDE SUM EN page 21 HY IDE Software User s Manual HYCON TECHNOLOGY MD4 DS 5 S REG DS 1 DS 1 SQRTmp DS 4 Temp DS 16 After assembling it will enter into debug status displaying memory window When cursor points to 80h address lt 80 gt MD1 will be shown When cursor points to 86h address lt 86 gt MD4 0 will show up When cursor points to 87h address lt 87 gt MD4 1 will show up Data Memory oo BB 00 oo oo 18 oo oo oo ESER oo 00 00 00 oo oo 00 ES rr HJ rr EE oo EUYEEJEPIEPEEREJEE oo oo oo BE ee foe Toa c 00 001001 nz 03 00 7B DD DD nD nn 00 oo OO 00 07 EF DE FB OD nn nn nn nn nn 00 on nn 00 DD DD DS 78 DE BB 79 DE D DE 04 79 DE 00 04 00 F 00 00 00 85 DD 5 Figure 3
46. rmn DR gt SRAM amp Register Modify Record alls Fi Se Compiler P AME Display V SRAM amp Register recor Create New File Add Curent PC Address save Record Continue Download Not Continue Clear Record Close Display continued Display save or clear or discontinued status status status Not Continue Figure 3 44 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 37 www hycontek com HY IDE Software User s Manual HYGON HYCON TECHNOLOGY gt Source Code 19 e g KitchForl 1P13 sm INTERRUPT ASM SPLASM INTADC ASM SYSINLASM KEYSCAN ASM MAINPR lt gt al PIN Higo E mogi SPICNT org 0000 TT ENTIS Modify Record Jip nop Befor Data Add To Program amp org 0004 Include ProBegin include mwl PC Stop Address WE mwl mw mwl mw MainLoop Status Not Continue 27 Si 2008 HYCON Technology Corp www hycontek com C Program Files HyIDE H yIDEWDemoCodetKitchenscale KitchForl 1P13 asm had been modified Rebuild Mam Program include SysIni asm myl SPIINDEXL F MVL O3Ch MWF 0040h 1 0 MVF AINET2 ACCE MVL MVF ODSDh 1 0 MWF ADCOCN F ACCE myl 13h FDh F ACC
47. rogramming is completed and the IC is assembled as finished goods it can operate the program as users commanded Program the downloaded or assembly finished Hex file displayed at the bottom of the column in the selected IC and verify the correctness of the programming content please refer to Chapter 4 2 1 or 4 2 2 for programming procedures 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 51 www hycontek com HYCON TECHNOLOGY N HY IDE Software User s Manual If the selected is correct and the programming succeeds message will appear the information column asFigure 4 20 illustrated If Enable Program Times is ticked up the enable program times will minus 1 and the remaining program times will be revealed in the message column ON Message Program SBM OK Verify Chip OK Show Program Times Verify SBM OK If Program Times Function had been Enable Program Times Left 99999997 4 Figure 4 20 If the IC selection is incorrect or the programming fails a message will show up as Figure 4 21 ON Message bRRERERRARHRERARRRERESRRESERERSERERSERSEEEERSEREREE Program SBM Fail Figure 4 21 4 3 3 Verify Program i The purpose to verify program IC is to compare if the program written into IC OTP is equal to the program downloaded to programmer or IDE Flash Memory Verify program IC content consistency with the downloaded or assembled Hex file displayed a
48. rp APD HYIDE001 V01_HYIDE SUM EN page 5 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for USB Device If your hardware came with an installation or floppy disk insert it now i m What do you want the wizard to do Install from a list or specific location Advanced Install from list or specific location Advanced Click Next to continue Found New Hardware Wizard Please choose your search and installation options ey Browse For Folder Select the folder that contains drivers For your hardware 2 Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed 3 Program Files Common Files C3 ComPlus Applications 22 ConnectionManager C Program Files HyIDE Driver HyIDE Driver Don t search will choose the driver to install 8 HyIDE Search removable media floppy CD ROM Include this location in the search Choose this option to select the device driver from a list Windows does not guarantee that C Intel the driver you choose will be the best match for your hardware To view any subfolders click plus sign above ewe J Found
49. s this icon helps to return to the label setting place quickly Jump to Label Jump to where to label has been placed Find Search the entered word Search the specified word B Switch Display Window When too many files are opened this icon helps to command file switching Edit amp Only editor is executed It will not get into program debug status The information dialog may pop up after edit accomplished 2 1 2 File Menu ON HyIDEIU0 Mode Edit v1 08 Edit Search View Fun New peni nave tts nave wave lose File Close Open Project save Project Read From Flash Memory Eriti Cole Figure 2 2 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 11 www hycontek com HYGON HY IDE Software User s Manual HYCON TECHNOLOGY V ON V WV Y New Create a new file Open gt Open an existing file Save Write the active window data to the active file Save As Write the active window data to the specified file Save All gt Write all windows data to the corresponding opened files Open Project gt Project includes IC part no IDE interface Edit main filename Active opened status and Checksum Project status will be loaded in after the project is opened Save Project gt Write the active project to the active project file Close gt Close the current active HyIDE program 2 1 3 Edit Menu IDE100 Mode Edit v1
50. t the bottom of the column If the IC is protected by program this verification is ineffective or the comparison fails If IC selection and program verification is success a message will appear asFigure 4 22 Figure 4 22 If IC selection is incorrect or the program verification miscarries a message will pop up as Figure 4 23 M Message Error at 0x0000H Figure 4 23 4 3 4 Read The purpose to read the IC is to verify the consistency of OTP Checksum and programmed Hex 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM EN page 52 www hycontek com HYGON HY IDE Software User s Manual HVCON TECHNOLOGY file To read IC content the procedures are illustrated as Figure 4 24 Its content will reveal at Display Code window OM Made Edit v1 08 Chip HY 11F14 8E ICE Inteface USE Project File Edit Search View Programmer Options Windows Ce x FE OTP Type Kod Program Memory Sil E n 2 4015516 0000 TFFE OCOL 3629 TFFD 000A 642A 660F 6611 D082 FOL D081 010 D000 FOSS 1083 FOSC D080 21 1605 368C 82 81 3684 7FE9 OOOA CBID 29 TFFD 000 086 1081 FOL 0601 5229 6406 1001 2B 0601 5229 1601 3685 T7TFFD 000 642 660F 6611 B 6483 0108 0022 FO0SGC DOGO FOLO 6483 882E 01 3629 1000 000 086 0081 012 1084 FOSD Checksum 000 086 0081 FOL 1084 FOSD 0601 5229 6406 10 6485 5601 362
51. t no Error message will show up when the lines is error It is usually used in generating OBJ Code Object gt Set Edit Main File gt Set the file as edit main file Files will be named after compiler generated file name such as Hex 5 gt Debug gt Debug through software or hardware is selective 2 1 6 Options Menu Interface Setup Interface Setup Build Options Int Setup ICE Test Register Chip Select 11P13 4K Language English Hardware Interface Interface Mode USB IDE Mode emulate and Debug 7 Programmer Program Memory Select Figure 2 6 2008 HYCON Technology Corp APD HYIDEOO1 VO1 HYIDE SUM EN page 13 www hycontek com HYCON TECHNOLOGY On HY IDE Software User s Manual There are five options 1 Interface Setting Interface Setup Interface Setup Build Options Int Setup ICE Test Register Chip Select 11P13 4 Language English Hardware Interface nterface Mode USB IDE Made emulate and Debug Programmer Program Memory Select Figure 2 7 IC option Select IC part no Compiler will assemble the selected part no s program file It will determine whether there is any misuse or non existing Register or SRAM or has the program exceeded the ROM Size gt Language option English and Chinese interface are selectable gt Communication interface option Select IDE communication interfac
52. tallation settings click Back Click Cancel to To add your own license text to this dialog specify your license agreement file in the Dialog exit the wizard editor Navigate to the User Interface view Select the LicenseAgreement dialog Choose to edit the dialog layout Once in the Dialog editor select the Memo ScrollableText control Set FileName to the name of your license agreement RTF file After you build your release your license text will be displayed in the License Agreement dialog OI do not accept the terms in the license agreement fe HyIDEY11 InstallShield Wizard HyIDEV11 InstallShield Wizard Customer Information Installing HyIDEV11 Please enter your information The program features you selected are being installed User Name amp Please wait while the InstallShield Wizard installs HyIDEV11 This may take f hmhome several minutes Organization Status Hycon Install this application For 9 Anyone who uses this computer all users Q Only for me user HyIDEY11 InstallShield Wizard 2 HyIDEV11 InstallShield Wizard Destination Folder InstallShield Wizard Completed Click Next to install to this Folder or click Change to install to a different folder Install HyIDEV11 to The InstallShield Wizard has successfully installed HyIDEV11 C Program Files HyIDE HyIDE Click Finish to exit the wizard Launch the program Figure 1 1 2008 HYCON Technology Co
53. x Body lt board Checksum DxD0C Figure 4 10 Display OTP Display Program Connection Status Checksum 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM_EN 47 www hycontek com 4 2 2 Download Hex File to Programmer or IDE Flash Memory To program an assembled Hex file click File select Download to Flash Memory Choose the specific Hex file to conduct programming as described in Openi Cte Open Project Save Proiect Down Load Hex File To Download To Flash Memory Pro gramme s Read From Flash Flash Memory E ADC E SysIni E ADCCAL Recent E Display Documents A E IntADC lt 2 Interrupt Desktop 2 KitchFor11P13 Computer Network File name KitchForl 1P13 Places Files of type Hex Cancel Figure 4 11 2 Subroutine 2008 HYCON Technology Corp APD HYIDE001 V01_HYIDE SUM www hycontek com HYGON 5 HY IDE Software User s Manual HYCON TECHNOLOGY Ctr Open Project Save Down Load Hex File To DownLoad Flash Memory Programmer s Read From Flash Flash Memory i s Recent Documents Documents Computer 2 Subroutine My Network File name KitchForl1P13 Places Files of type Hex C
Download Pdf Manuals
Related Search
Related Contents
DG3 ISLA - Portinox Manuel d`utilisation en cliquant ici C110 User Guide pb 59318504.book Sony PCV-V100G User's Guide SRP-275 Copyright © All rights reserved.
Failed to retrieve file