Home
Programmer User`s Manual
Contents
1. EN ENNEN ENNEN ENNEN ENNEN ENNEN ENKEN ENKEN EN NV 22 3 2 BLANK CHECK eere nenenn hune nhan R IR RRR SR RSRRRSRRRRSRRORRSRRRRRRRRSRRERRRRORORSRRORO 24 555 PROGRAM 25 57 VERIFY EE 26 D GAD NAGANA NE GD Aa aata 27 NN PN O 28 4 PC OFFLINE PROGRAMMING kee EN ENNEN NEEN ENNA NANANA EN ENKEN 29 4 1 PROGRAM DESCRIPTION e enne h nnne nune haha NENE RR ERR RR REA RSEN RR RERO Rr 29 4 2 PROGRAM TIMES RESTRICTION eere h unen enn u nhanh RIEN REA RSEN RR RERO Rr 30 5 INFORMATION BUTTON e EN ENEE NENNEN ENKEN NENNEN ENNEN NEEN ENKEN EN EN ENEE NNN 31 5 1 INFORMATION BUTTON ENER ENNEN ENER ENER ENNEN ENNEN ENER EEN ENNEN ENNEN EN ENN ENKEN EN EN 31 52 ERROR MESSAGE AA AA AA 34 6 REVISION HISTORY 1 eorr erreur n nn unun nnn nhan un RR RR DR SRRRRRROR RR RR RR AAO 35 www hycontek com page 2 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY 1 Programmer Structure 1 1 Programming Structure HY11P HY12P Series Writer can program and doing other related function through connecting with PC as Figure 1 1 Moreover HY11P Series Writer also can be HY IDE USB Control Board and used on Emulate Debug and some functions for developing Regarding to the detailed description please refer to Hardware User Manual http www hycontek com e page2 html HY11P HY12P Series HY11P HY12P Series Writer Figure 1 1 1 2 Diagram HY11P HY12P S
2. 64C5 32A7 7801 0617 0606 06FF 98AB8 0601 6681 F09C 0692 0692 060A D096 TFFD BC26 1CB1 0604 64D4 12AF D007 52A9 7801 FOBO FOF2 66A9 6EAD 8426 662D 66C5 6677 co00 6683 0698 60BE 6680 6682 6695 FODO TM 66AB 66ED 1001 6401 F002 52B1 7813 DOD6 DOBO 882B 32AD 0003 000C 0630 co00 F99D 0602 6682 010F 0695 0605 0692 D097 Chiles DOOF 8C26 82D2 0600 66AF 16B0 D007 52B0 000c FOBL FOF3 AEBI 0011 DOFD F080 666D F79D B82B 6684 0603 0709 6681 6683 6680 FOD1 FOFF DO3B BEAB 66EC 64D5 6400 F002 52AF F0D7 86D2 DOBI 982B 3B29 F011 0680 0600 C000 7801 0010 6683 6422 0697 0602 0695 D098 D010 FOD4 7809 64EC 1401 16B1 D007 3629 0607 780A FOF6 52F6 06F0 DOFC ocol 666F FTAC 78CA C000 0603 10BA 6682 6684 6681 FOAL FOFE D03A 92D2 18 A9 66B0 0600 F002 TFF9 DODA BAD2 882B 52F3 6929 F012 3629 0600 0C2B 88A8 F612 6684 6695 0603 0603 0696 0c92 Figure 2 14 D011 FOD5 26A9 64ED 64D6 BEOL 3629 86D2 FOOL A2D2 56F2 52F2 78071 DOFF 7FFD 666E OCFO OCB6 DOC 0601 0600 6683 6685 6682 0C93 FOFD D039 26AA 1CAA 1400 06FF TFF8 7821 DOODS 94D2 56F3 36A9 0D29 FOOF 000c 06FF O6FB 0604 F095 6685 14BB 0602 C000 0603 0C94 D012 FOD6 26AB A82B 66B1 16 A9 DOD6 B6D2 FOOL DOD6 56F6 TFF8 6F2D DOFE F100 6670 66B7 6697 DOCS 0010 6696 6684 F652 6683 0C95 Ex p h p i le m
3. Error Ok Figure 3 15 For the description of device please refer to chapter 1 2 L1 gt Success message signal green LED L2 Failure message signal red LED Blank Check failed message signal red LED HAO Frequency Calibration error message signal red LED L3 gt Busy message signal red LED S1 gt Programming button Program Verify for offline program operation S2 2 Blank Check button for offline operation To implement offline operation Hex file must be firstly downloaded to programmer Flash Memory The procedure can refer to chapter 2 3 2 or chapter 2 3 3 To implement offline operation press S2 button can check if the IC is blank and the L1 Green LED should be lighted up We suggest S2 button should be pressed first for checking if the IC is blank before you press S1 to proceed programming to ensure the programming will be success S1 Button is programming button Its procedures are Blank Check gt Program gt Verify and the L3 Busy message light should be lighted up If Program Protection of Assemble Option is picked up before downloading data to Flash Memory program protection will be executed after Verify completed If Program Protection is not picked up it will stop after Verify accomplished L3 Busy 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 29 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY 4 2 message light will go out and L1
4. Operation 2 1 Software Function In order to ease customers to use HYCON MCU products we developed Hycon IDE developing environment so customers can emulate its end application on our development platform and write the program to the OTP of HY11P HY12P series Detailed description please refer to user s manual of HY IDE software http www hycontek com page2 html 2 2 Software Window Setup Figure 2 1 is the program window of HyconIDE which can be used for emulation and debug function IDE software Versione IC Model Now ICE Interfaces Project Name FC HYIDE Mode Edit V2 8 Chip HY9 11P13 ME ICE Intefoce OSE Fropect Pile Eds Search View Programmer Osborne Wade Revicon Huy i e SBS m E Kart Kach 1713 A ge ESPIYA SPICNT s0 SPIBUFRBit 7 1 HR SPIBUFR4Bit 7 0 M SPICNT 21 zs SPIBUF PRAM Address DI Low byte gt FSROL SPICHT 2 2 gt SPIBUF FE RAM Address DI High byte gt FSROH SPICHT 2 5 FW HERAM Address EIT ER IR SPICH TA afi am 255 Ecs PIN HI ob Howl Sri E SPICNT erg OOD0h FroReset Hop jmp ProBegim jmp O erg 04h Inclade Interrapt asm FroBegin inclmde 5yslni asm MainLoop bts LVDCN LVD ACCE RLCIXT b Ibat ACCE LVDCH LYD ACCE ELCDG b Ibat ACCE KAMFg b FlashR ACCE E a am laa k Ge k main D iBettyiDamoCodaiKitchenfcalaVXKitchForllPll arm CE n Teet E Cheackeus O xCl
5. V06 www hycontek com page 9 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY 2 2 2 Build Options When interface setup finished click Build Options to select programming configuration As described in Figure 2 3 DE Interface Setup Sele Interface Setup Build Options Build Optiane Int Setup ICE Test Register OSC Calibration No Use Area Fille D DIEI DI Generate Files Enable Tool Bar iv Hex file Eon obj file TENDUNT Generate Files List file f UU C FF A smart Compilere WOT Reset Vector n i Smart Compiler 4 44 xFFFF ACM Voltage Optimization OD i Program Protect Program Protect Stack Option Compiler Select We Stack Over resel D stack Options mi Sleek even STOR s Input Program Times Enable Program Times Don Input Program Times Close Enable Programe Timese Figure 2 3 Generate Files Choose generated file after assembly otack Option Choose whether to reset when stack overflow or stack full after OTP program operation No Use Area Fill Fill up 00 or FF in unused program space after assembly omart Compiler Choose whether to simplify assembly Enable Program Times Choose whether to enable Download program times Input Program Times Input Download program times Maximum 2147483646 Minimum 1 O 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 10 Programmer Frequency Calibration HYGON
6. 1 HexLoader Software Support HexLoader related function and description HY HexLoader Software User s Manual The HexLoader software can download Hex code in different versions WK01 WKO2 and WKO5 writers 1 5 Attention 1 When loading the power it is suggested to connect 9V Adapter and then connect to USB Line when removing the power please disconnected USB Line first then remove 9V Adapter power on Never mind it because it just means the Flash memory of Programmer is empty If the function Programming time limit of WKO5 is executed and the programming time ran out the Error 8 Prog ram Counter 8 message Will be revealed when you press the program button and the programming function will not be activated At the same time the information will reveal Information 1 Program Counter Enable Left 00000000 if you press the information button If the function Programming time limit of WKO5 is executed and the programming time ran out the power of programmer is interrupt and then restart the message Verif Fail will be revealed when you press the program button At this time the programming function will not be activated Information 1 Program Counter Disable will show up if you press the information button 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 7 Programmer Frequency Calibration ege HYGON User s Manual HYCON TECHNOLOGY 2 Programming Software
7. 1 Writer Model There are three versions WK01 WK02 and WKO5 2 IC Model Support WK01 WK02 amp WKO5 can program the whole series of HY11P HY12P IC 3 Turn on program auto check WK01 amp WKO2 has low tier turn on auto check mechanism while WKO5 possesses high tier turn on auto check mechanism as to ensure data correctness When power on writer will check the correctness of the code to be programmed by confirming its Check sum Therefore Verifying will show up when power on After confirmation HYCON IDE will show up in order to assure data correction and to begin programming If the check failed Verify error 6 will show up representing the code to be programmed is incorrect and must be reloaded again 4 Programming time limit WKO1 WK02 and WKO5 support this function please refer to 2 2 2 Build Options for further description 5 IC frequency hardware calibration function WKO1 and WKO2 did not support frequency 2MHz HAO hardware calibration function WK05 supports 2MHz HAO frequency hardware calibration function for related description please refer to 2 2 4 OSC Calibration 6 IC frequency deviation software calculation function WK01 and WKO2 did not support frequency deviation software calculation function while WK05 supported HAO frequency and LPO frequency software deviation calculation function Further description please refer to 2 2 4 OSC Calibration 7 Auto Key button function The auto programming
8. 28 64 2 therefore the code OFFH will be 1111 1110b 2 2 6 Attention When Interface Setup finished please press close and all the set parameters will be saved Next 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 14 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY time when you open the file it will load the record parameters automatically and the IC model No will be displayed on the headline of window as Figure 2 6 Hon HYIDE Mode Edit 2 80 Chip HY 11P13 4E ICE Inteface USE Project File Edit Search View Programmer Options Windows Revision History i gt e K pp g Display the Model Mo was proceeded to Program Figure 2 6 2011 2012 HYCON Technology Corp APD HYIDE007_EN V07 www hycontek com page 15 Programmer Frequency Calibration ege HYGON User s Manual HYCON TECHNOLOGY 2 3 Operation Procedures Thi HYIDE Mode Edit 73 20 Chip HY 11P51 2K ICE Inteface USB Project GH Edit Seach View Asemble amp Run Options Windows Revision History Open Compiler paa main file New M Ctrl Es Open Q LA Saves Chiles Open Project Save As save All Close File Close All Save Project pen Project Save Project Read Read From Flash Memory Programmer s Flash Memory Exat Q Coho Open gt Open the programmed source code main file Open Project Open the saved project oave Project Save the finished project Re
9. 29900 VPP i 1 i 8 toyes Prio i j i c VDD Voltage PLI PS source Figure 1 3 Note A voltage will be outputted from Voltage Source when implementing Blank amp Program 1 4 Comparison of Different Writer Version Description of Different Writer Version U DesWplonofDMerenWerYeson UN renes 2 supportic mous AYIIPIRYr2P AYMPRYIEP seres Turron program auto heck tow gh Ka Programming me mama o IC frequency hardware N A 2MHz HAO calibration function IC frequency deviation software calculation N A HAO and LPO function E Auto key button function Blank NENE M Verify gg Verify 8 LED light display L1 L2 L3 Green Red Green Red Red HYIDE software support Only support HYIDE V3 0 and later Support all HYIDE version version version Support the whole series HYIDE Hex Code 1 x version Hex Code Have to download the Hex Code into downloaded from HYIDE V1 6 to writer WKO5 via HexLoader Hex code download support writer software 2 x version Hex Code downloaded from HYIDE V2 x to writer The HexLoader software only supports downloading Hex file HexLoader Software Support function which applicable for writing hex code into WK01 WK02 and WKO5 writers 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 5 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY Writer version comparison will abbreviate HY 10000 showing only WK01 WK02 and WKO5
10. 5 Main Program Files IDE connection statuse Generated file Checksume Figure 2 1 2011 HYCON Technology Corp APD HYIDEOO7 EN V06 www hycontek com page 8 Programmer Frequency Calibration ege HYGON User s Manual HYCON TECHNOLOGY 2 2 1 Interface Setup Click Options a window will appear Click the interface setup as shown in Figure 2 2 Hot HYIDE Mode Edit 72 80 Chip HY 11F13 4E ICE Inteface USB Project File Edit Search View 5 Programmer Options Windows Revision History m ICH Interface Setup Interface Setupe Interface Setup Build Options Int Setup ICE Test Register OSC Calibration Chip Select 11F13 4K Select Chipe select Languages USE Interfaces Language Hardware Interface Interface Mode IDE Mode C emulate and Debug Select Programmer Programm ere Program Memory Select Figure 2 2 Chip Select Choose the specific programming IC part no If programmed IC differs from the selected IC Blank Check Program and Verify will fail Language Choose operation interface language like Chinese or English Hardware Interface USB interface or Parallel Port interface is selectable IDE Mode Programmer or emulate and Debug is selectable Programmer programming HY11P HY12P series products Emulate and Debug when users use it with simulator for developing 2011 HYCON Technology Corp APD HYIDE007 EN
11. DE007 EN V06 www hycontek com page 27 Programmer Frequency Calibration ON User s Manual d HYCON TECHNOLOGY 3 6 Auto The icon of Auto is 5 Auto integrates Blank Check Program and Verify function 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 as Figure 3 14 displayed If the option Enable Program Times is ticked up the program permitted times will reduce 1 and the program times left will be shown in the message column ON Message SBM Blank OK Program Chip OK Program SBM OK Verify Chip OK Verify SBM OK Program Times Left 39999997 Figure 3 14 If any function fails the whole process will stop and display an error message in the message column 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 28 Programmer Frequency Calibration SIE HYGON User s Manual to ho 4 PC Offline Programming 4 1 Program Description As the development process evolves to mass production the programmer can be used alone when programming on the production line It is not necessary to connect the programmer to the PC Attention When use programmer please make sure the 9V Adapter has been connected before USB line was plugged in PC Please don t put in or pull out 9V Adapter when programmer connected with PC or the PC may crash OC Te P4 LCM information Blank Program HAG Error
12. Green LED will be lighted up When Programming finished please press S2 to check if the IC is blank At this moment the L2 Red LED should be lighted up means the programming is success because the data has been programmed into IC so Blank Check is failed If any failure or error happened during execution procedures L2 Red LED will be lightened up On the contrary L1 Green LED will be lighted up if success Program Times Restriction The menu of Assemble Option in interface setup has an option of Enable Program Times as described Figure 2 4 This option restricts the permitted program times of download program This is a safety mechanism that restrains the permitted program times preventing it from over programming on the production line After ticking up Enable Program Times key in the program times in the column 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 but Blank Check still operates normally O 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 30 Programmer Frequency Calibration SIE HYGON User s Manual at 5 Information Bu
13. HYGZh HYCON TECHNOLOGY Programmer Frequency Calibration User s Manual 2011 2012 HYC www hycontek com Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY Table of Contents 1 PROGRAMMER STRUCTURE sek ENK ENKEN NENNEN ENNEN EN ENKEN EN EN ENKEN EN ENEE 3 1 1 PROGRAMMING STRUCTURE eene ENEE Reus RR RR ENNEN EN ENKEN ENNEN EN ENEE NENNEN e 3 1 2 DIAGRAM WEE 3 1 39 OPERATION DESCRIPTION iiie usi used AA kA AG 4 1 4 COMPARISON OF DIFFERENT WRITER VERSION s ENNEN ENNEN ANAN NN ANAN AANI 5 1 5 ATTENTION 000 060 00 000 NGA 7 2 PROGRAMMING SOFTWARE OPERATION erre 8 231 SOFTWARE FUNCTION EEN 8 2 2 SOFTWARE WINDOW SETUP e esee nh rene u nau n REIR SRRRR RRRSRRRRERR RR RRsaRORO NANA 8 2 2 1 aiite m a a a a a AGA NG 9 2 2 2 BU OOS 10 2 2 3 ICE E1 cree ennnns ess eennne sers eeenne esse ennne eee eennneeeeennne 11 2 2 4 OS 676 55190 RTT 12 2 2 5 Software C AIDI ATION EE 14 2 2 6 AR AA 14 23 OPERATION PROCEDURES nnna 16 2 3 1 CODEN SAME PDO ANA 16 2 3 2 OpenFile and ASSEmMOI 17 23 0 Download Hex File to Programmer or IDE Flash Memory 21 2 3 4 Read the Code from Flash Memor 21 3 PC ONLINE PROGRAMMING eren n ENNEN EN EN ENNEN EN ENN 22 3 1 PC ONLINE OTP PROGRAMMING
14. N V07 www hycontek com page 20 Programmer Frequency Calibration User s Manual HYGON HYCON TECHNOLOGY 2 3 3 Download Hex File to Programmer or IDE Flash Memory For HY11P series this function has not been supported on Hycon IDE 3 0 hereafter If users would like to download Hex File please download by software HY HexLoader and following the Users Guide to do it Note For HY12P series this function has not been supported on HyconIDEDMM V3 0 To download Hex File users must use compiler source code method to the writer 2 3 4 Read the Code from Flash Memory The function of Read from Flash Memory helps users to ascertain whether the code of programmer Flash Memory is the same with Download Code The Password entered must in accordance with the Download Password so the data will be revealed as Figure 2 15 shown If the Flash Memory has assigned a certain Programmer only the assigned Programmer can use the mentioned way to read the code from Flash Memory KO Program Memory 000 001 002 003 004 005 006 007 008 009 00A 00B 00c 00D 00E 00F 010 011 012 013 014 015 016 017 018 lt 2011 HYCON Technology Corp www hycontek com Read From Flash Memory Edit Search Yew Assemble Ev Ctrl N Lu Me Mi pent sawa save As save All Close File Close All Open Project Save Project 0000 8226 64D6 7848 66A9 6401 0606 882B A02B DOODS DOAF
15. Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY 5 2 Error Message gt VDD Error Error 1 VDD 2 12 gt VPP Error Error 2 UPP 4 92U gt OTP ID Error Blank Fall Blank Fail Program Fail Error 5 Frogram Fail m C TI m 3 E oi wo 7 E paaa A O CA m Al AJ C AJ Verify Fail Error amp Verify Fail Protect Fail Error d Protect Fail Program Counter left zero Error 8 Prog ram Counter H 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 34 Programmer Frequency Calibration SIE HYGON User s Manual E Eege 6 Revision History Major differences are stated thereinafter Version Page Revision Summary V03 All First edition V04 T Add notice of Programmer WK04 V06 5 7 12 13 16 21 Revise related information of Programmer WKO5 32 33 Add Frequency Calibration related description V07 All Add HY12P Series related operation description 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 35
16. SH LVD ACCE Display Main bal RLCDG b Ibat ACCE Program File EL We LYN EL ALL bel RLODG b Iba ACCE biz RAMFg b FlashR ACCE tala bin Diet D I lur min D iwtty ibamoCoda lKitchanZTcala KictchTorllFL arm aaa ea zxCBE Figure 2 7 Open source code main file and it will be displayed as the assembly file If the displayed name differs from main file points the mouse to the specific file and presses mouse right key Set this file as the assembly main file as shown in Figure 2 8 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 17 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY Mainine KitchForl1P13 asm SPICNT ERESHE SPICNT 0 gt SPIBUFAYBit 7 1 38 SPIBUFAYBit 7 0 5 3 SPICNT 1 gt SPIBUF IEGERAM Address B Low byte gt FSROL E SPICNT 22 SPIBUF EGERAM Address J High byte gt FSROH SPICNT 2 SI TERRAM Address 3 ETTRSESEEIHIE SPICNT T AJIES 255 SCS PIN E1880 2k Hoal SER SPICNT ore 0000h jmp FroBesm nop imp U ore 0004h Include Interrupt asm SE Click Mouse Right Key ProBegin Set Program Main File include SysIn1 asm file KitchForl 1P13 asm fie Main ing maul OEOh mvf SPIINDEXL F ACCE PA Se oo mal Uh zE DS Close file Ctil F4 mei OF5h F ACCE mal 1h KA DATO A 2874 ACHT sil Modified Figure 2 8 Assembles Source Code and download the f
17. User s Manual HYCON TECHNOLOGY 2 2 3 ICE Test After assembly finished click ICE Test to test ICE operation voltage as Figure 2 4 described Connect Adapter 9V and connect USB Line to ICE Make sure the ICE is connected and then click Option at working bar click button CK ALL After that the VPP and VCC voltage will be started testing as Figure 2 4 VPP voltage while programming 5 6 lt VPP lt 6 6 VDD voltage while programming 2 7 lt VPP lt 3 6 DE Interface Setup E GC EN Interface Setup Build Options Int Setup ICE Test Register OSC Calibration Show PP SRAM Data Voltages Address VPP Write Data V Head ata Wee Check YPPe write _ Read AUT MU NM E VCC Show CC Program ROM Data nn otages Address Write Data CR VEC Read Data Check v CC Wwe Head LE ALL __Wite Read Check Vv PP and sv C Ce i 4 Close Figure 2 4 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 11 Programmer Frequency Calibration SIE HYGON User s Manual CC Eege 2 2 4 OSC Calibration OSC Calibration as Figure 2 5 Please note this function only can work on the programmer HY10000 WKO095 used the software Hycon IDE 3 0 above version and HyconIDEDMMV3 0 above version If HAO LPO Calibration programming started the code OFEH OFFH of RAM would be meaningful after powering on the IC The programming time will be 500msec longer upon LPO Software Calibrat
18. Z LSB The code OFEH data format Bit7 0 7 1 Bit6 BitO means frequency difference value 01H mean the frequency difference value is 4000HZ FFH mean the frequency difference value is 4000HZ Example The set value for HAO frequency calibration is 2000000HZ and the actual value from IC is HAO 1920000HZ The calculation is 1920000 2000000 4000 80000 4000 20 therefore the code OFEH will be 1110 1100b Example 1 The set value for HAO frequency calibration is 2000000HZ and the actual value from IC is HAO 2008000HZ The calculation is 2008000 2000000 4000 8000 4000 2 therefore the code OFEH will be 0000 0010b LPO Software Calibration After Calibration the difference value is saved in code OFFH of RAM This function is not doing actual frequency calibration only writing in the difference of frequency when the IC power on The difference value of frequency defined as 64HZ LSB The code OFFH data format Bit7 0 7 1 Bit6 BitO means frequency difference value 01H means the frequency difference value is 64HZ FFH means the frequency difference value is 64HZ Example The set value for LPO frequency calibration is 28000HZ and the actual value from IC is LPO 28128HZ The calculation is 28128 28000 64 128 64 2 therefore the code OFFH will be 0000 0010b Example1 The set value for LPO frequency calibration is 28000HZ and the actual value from IC is LPO 27872HZ The calculation is 27872 28000 64 1
19. ad the code from Flash Memory Read the code of programmer Flash Memory Attention if the code was protective the data will not be revealed Note The Download file to Flash Memory function has been cancelled HYIDE has no function which supports Hex Code downloading 2 3 1 Open Save Project Save Project will save all setting included program the choice of toolbar selection and so on to prj file Oppositely Open Project can read back the file with all the setting EE CD KitthenScale ek CA A B KitchFarl 1P13 prj Su 3 R FRAIS Fa TEH HE tr LATE AR OD EitchForl 1P13 pyj TRAUT prj 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 16 Programmer Frequency Calibration E DEE HYGON User s Manual HYCON TECHNOLOGY 2 3 2 Open File and Assembly p ETICE Mode Edit Y2 BN Chip ET 11F1 GE ICE Tetefate DS Fropl Progen Ga aai Bia Hub Kioll P aem SPICNT Reger SPICNT 0 gt SPIBUFBuL7 18 SPIBUF Bu 7 0 MI F SPICHT lt gt SPIBUE D RAM Address DI Low byte FSR L i SPIONT 2 gt SPIBUF ARAM Address DI High byte FSROH is SPENT 2 gt TH IIR RAM Address PTR SPICNT a RU 255 acs PIN FLO Se Oe eg b SPICNT HI erg B000 ProRuset E Bop imp ProBagin mp O one CH Isclade lateasrupt aim IProBargin include Zesler aam L I Maial oop biz LVLIE
20. age Figure 3 8 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 24 Programmer Frequency Calibration ON HYCON TECHNOLOGY 3 3 Program o The icon of Program is The purpose of programming is to write Compiler accomplished program into IC OTP When programming is completed and the IC is assembled as finished goods programmer 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 2 3 2 or 2 3 3 for programming procedures If the selected IC is correct and the programming succeeds message will appear at the information column as Figure 3 9 illustrated If Enable Program Times is ticked up the enable program times will minus 1 and the program times left will be revealed in the message column EN 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 3 9 If the IC selection is incorrect or the programming fails a message will show up as Figure 3 10 ON Message nauamumanau hi ee AY Program SBM Fail Figure 3 10 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 25 Programmer Frequency Calibration HYGON 3 4 Verify Ge The icon of Verify is The pur
21. eries Writer is the tool connects with PC for programming HY11P HY12P Series products You can program HY11P HY12P series products by using HY11P HY12P Series Writer as shown in Figure 1 2 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 3 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY P4 LCM information Blank Program HA Error Error Ok Figure 1 2 1 3 Operation Description The table in below gives description of every device Function Description Adapter 9V input 8 amp 9 used when programming OTP USB connector to PC end Downloading programming code for HY11P HY12P series Downloading program for emulation and debug Connect the control end of HY IDE ICE Board A09001 2 Programming control end of HY11P HY12P series and is connected to OTP Pins from the left to right are VSS VDD SDO SDI SCK VPP Programming extension port Please refer to Figure 1 3 for pin definition and connected circuit Program S1 Blank S2 Green L1 Red L2 Blank Check Fail signal Programming failure signal HAO frequency calibration failure signal i Power on signal Programming success signal 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 4 Programmer Frequency Calibration HYGON J User s Manual HYCON TECHNOLOGY Blank ss RED Program 4 i f Green 0000 Voltage VSS ooo source 9
22. ile to programmer or IDE Flash Memory as Figure 2 9 illustrated Ta HYIDE Mode Edit Y2 80 Chip HY 11P13 4E ICE Inteface USB Project File Edit Seach View Programmer Options Windows Revision History eee ai ji ES a Flash Memory Cancel Figure 2 10 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 18 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY K3 P read only Proper ID 80000400 Warning Any Frogrimaner con read Flash Figure 2 11 Mn Message SM HAO Calibration Function ON SN LPO Calibration Function ON Flash had been protected read only Programmer ID 80000400 Program had been protected C Program Files HylDE HyconlDE DemoCode KitchenScale KitchFor11P13 hex Download OK Program Times Download OK Program Times Function Enable Program Times 1000 lt Figure 2 12 1 When using USB interface the assembly finished program code will be loaded into programmer or Flash Memory of IDE for mass production programming 2 Before downloading code to programmer Flash Memory system may require to enter into password This function enables users to monitor the code from PC to programmer Flash Memory Please note that password can only include 6 digits ASCII Code In order to protect the code that users developed the password must be entered before downloading the code into programmer If the password e
23. ion Started HAO LPO Calibration is not doing actual frequency calibration only provide the difference of frequency for calculation Io Build Options DER Interface Setup Interface Setup Int Setup ICE Test Register OSC Calibration HAD Calibration HAO Software F Calibrations The allowed tolerance HAO Hardware Calibrations The HAO Frequency value was set for Permissible Error Calibration LPO Software Calibrations The LPO Frequency value was set for Calibration 2050000 Hz RANGE 1300000 LPO Calibration M Input LPO TIME RANGE 22000 35000 Hz Figure 2 5 HAO Calibration Enable HAO Hardware Calibration and implement the system Enable H W Calibration calibration This function has to be confirmed once the IC model No has been selected Input HAO Input the HAO frequency value for calibration Enable S W Enable HAO Software Calibration The difference value is saved in Calibration code OFEH of RAM Mu The allowed tolerance between the calibrated frequency value and Permissible the value of being calibrated 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 12 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY LPO Calibration Enable S W Enable LPO Software Calibration The difference value is saved in Calibration OFFH of RAM Input LPO Input the freq
24. layed as follows HHAO xxxxKHZ Che Cksum Ox45AC Information 4 Wait for 1 second Display the message by the time the hardware software Frequency Calibration finished and the Checksum of Flash Memory SHAO xxxxKHZ Che Information 5 EN Waitfor1 Cksum z Ox45AC second Display the message by the time the hardware software Frequency Calibration finished and the Checksum of Flash Memory In fo rmation SLPO xxxxKHZ Che Wait for 1 Cksum Ox45AC second Display the message by the time the hardware software Frequency Calibration finished and the Checksum of Flash Memory gt Information 7 9 will display the configured calibrated message The message will be displayed as follows when fully activated APD HYIDE007 EN V07 2011 2012 HYCON Technology Corp page 32 www hycontek com Programmer Frequency Calibration User s Manual Information 7 ai Wait for 1 second Information 8 aii Wait for 1 second Information 9 Wait for 1 second 2011 2012 HYCON Technology Corp www hycontek com HYGON HYCON TECHNOLOGY Cal H HAO 2000 KHZ Display the message which is the current value was set for Frequency Calibration Cal S HAO 2000 KHZ Display the message which is the current value was set for Frequency Calibration Cal S LPO 28 00 KHZ Display the message which is the current value was set for Frequency Calibration APD HYIDE007 EN V07 page 33
25. lh 6b la m c FOFC 64D4 0601 783E 0600 36AA F002 781B DOD6 FOAE DEEG 92AB8 332D F010 0680 0C72 0601 0697 F096 C000 D0C2 C000 D092 0601 DOBC B_ MmammmmhHanscescssvymmeniumebh lt APD HYIDE007_EN V06 page 21 Programmer Frequency Calibration ege HYG h User s Manual HYCON TECHNOLOGY 3 PC Online Programming 3 1 PC Online OTP Programming Th HYIDE Mode Edit 72 80 Chip HY 11P13 4E ICE Inteface USB Project File Edit Search View Programmer Opbons Windows Revon History Hlank P a Varifuc Reade AUto Display Hex Code Checke ES SH Figure 3 1 BG ro grammer Options Blank Check a Program Chip Venfy Chip Auto Figure 3 2 Blank Check Programming Verify and Read Commands 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 failed OTP Chip does not match with the selected IC Figure 3 3 OTP online E CYPRESS IDELCH TestDenoYTestDenoboard asm Body tn board Checksum OxDOCO Figure 3 4 OTP missing OYPRESS IDE Tenx HY PC IDETEST llpl3 128test RitchForllP13 hex GR Checksum 0x45AC Figure 3 5 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 22 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY Make sure the selected programming IC part number is
26. ntering step is cancelled during downloading procedure it means that the code will not be allowable to be read from programmer as Figure 2 11 After you entered the password you will need to confirm if you would like to assign the specific programmer If you choose yes only use the assigned programmer can read the code from Flash Memory Oppositely if you choose No you can read the code by all programmers as Figure 2 11 Note once you set the password it will be the operating password of the programmer This password has to be entered before you read the code Please memorize your password to ensure the code can be read in the future In addition every time a new code is downloaded the programmer will ask you to enter a new password afresh 3 If there is enabled program times in the assembly option information column will display the 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 19 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY programming times as shown in Figure 2 12 4 After assembling completed Hex filename and Checksum will be displayed in underneath section as Figure 2 13 illustrated Download To Programmer s Display OTP Display Program Flash Memory Connection Status Checksum E CYPRESS IDELCM TestDemo TestDemoboard hex Body A board Checksum OxDOCO Figure 2 13 2011 2012 HYCON Technology Corp APD HYIDE007 E
27. order of WK01 and WKO2 is Blank Program Verify WK05 removes Blank function thus the auto programming order is Program Verify as to facilitate users implementing repeat programming operation the purpose is to write repeatedly the same code This move will not erase IC If the code is different then repeat programming will cause programming failure 8 LED light display The Green Red light of WK01 and WKO2 represent OK Error Green L1 Red L2 Red L3 light of WKO5 represents OK Error Busy respectively In process of programming the L3 will be lighted up and when programming finished the L3 will go out At this moment the L1 lighted up means programming is successful Oppositely the L2 lighted up means programming is failed or HAO frequency calibration failure 9 HYIDE software version support WK01 and WKO2 support all versions of HYIDE and WKO05 only supports HYIDE V3 0 and later version and HyconIDEDMM V3 0 and later version 10 Hex Code download support WKO1 and WKO02 support the Hex Code assembled by the whole version HYIDE However Hex Code of HYIDE V1 X version must be downloaded from HYIDE V1 6 to the writer and Hex Code of HYIDE V2 X version must be downloaded from HYIDE V2 X version to writer 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 6 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY For WKO5 the Hex Code has to be downloaded via HexLoader software 1
28. pose to verify programming IC is to compare if the program written into IC OTP equals to the program downloaded to programmer or IDE Flash Memory Verify programming IC content consistency with the downloaded or assembled Hex file displayed at the bottom of the column If the IC is protected by program this verification is ineffective or the comparison failed If IC selection and program verification is success a message will appear as Figure 3 11 Figure 3 11 If IC selection is incorrect or the program verification miscarries a message will pop up as Figure 3 12 Error at 0x0000H Figure 3 12 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 26 Prog rammer Frequency Calibration HYGON 3 5 Read Da The icon of Read is The purpose to read the IC is to verify the consistency of OTP Checksum and programmed Hex file To read IC content the procedures are illustrated as Figure 3 13 Its content will reveal at Display Code window If the IC is protected by program this function is ineffective or the comparison failed DER HYIDE Mode Edit Y2 90 Chip HY 11P13 4E ICE Inteface USE File Edit Search View ici Programmer Options Windows Revision History D du Di Ke D EES i BITES OTP Chip is 11P13 5 Je Head Checksum e Du SERA 6461 pa Checksume B427 1 3AA3 LUF 3 TFEd 7803 1806 7952 789A Figure 3 13 2011 HYCON Technology Corp APD HYI
29. the same with the OTP part number in the topic window as Figure 2 6 described When programmer executes Blank Check Programming and Verify commands Program will check whether the IC part number and OTP programming part number are identical If the part number is different the data will not be written into OTP and an error message will be displayed in information column as Figure 3 3 described If users intend to find out whether the part number is correct before programming point the cursor to IC Connection Status Display and click the mouse left key If the selected IC is correct a message will show up as Figure 3 4 If it is incorrect the message will be displayed as Figure 3 5 If Enable Program Times has been marked up the spare program times will display in the message column as Figure 3 6 illustrated Figure 3 6 O 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 23 Programmer Frequency Calibration oo HYGON User s Manual HOHER 3 2 Blank Check 3 7 The icon of Blank check is The internal code of Blank ICs that have yet been programmed is OXFFFF The purpose of checking the IC is to make sure the OTP address content is OxFFFF If the IC selection is correct and the content is empty a message will appear as Figure 3 7 OM Message SBM Blank OK Figure 3 7 If the IC selection is incorrect or the content is not empty a message will show up as Figure 3 8 described ON Mess
30. tton 5 1 Information Button gt Press Information button S3 displaying HYCON IDE message Wait for 1 second gt Press Information button again displaying Program Counter Times message 1 If Program Counter Times is enabled Wait for 1 second Wait for 2 seconds Program times left 2 If Program Counter Times is disabled Information 1 Frodgdram Counter Wait for 1second L 1 b Le Press Information button again displaying VDD and VPP voltage Display programmer s current X VDD and VPP voltage Information 2 Wait for 1 second Wait for 1 second gt Press Information button again displaying error message 1 If there is no error message Wait for 1 second Saved in Flash M mory Checksum 2011 HYCON Technology Corp APD HYIDE007 EN V06 www hycontek com page 31 Program mer Frequency Calibration HYGON User s Manual HYCON TECHNOLOGY If there is any Frequency Calibration function is active HHAO xxxxKHZ Che Information 4 Wait for 1 Cksumz 0x45AC second Display the message by the time the hardware software Frequency Calibration finished and the Checksum of Flash Memory 2 fthere is error message Wait for 1 second Display current error message Information 4 6 will display the message by the time Frequency Calibration finished If the whole calibration is completed The message will be disp
31. uency value of LPO to be calibrated Note The function of OSC Calibration related parameters are recorded into Hex Code only can be worked with software HYIDE V3 0 or later version Therefore when the Hex Code programmed by HYIDE V3 0 or later version downloaded into writer via HexLoader software it can be activated and the OSC Calibration selections can be revealed correctly If the software is former than HYIDE V3 0 HYIDE V2 0 HYIDE V2 9 although the OSC Calibration function is active the programmed Hex Code has no any data related to OSC Calibration recorded in it For this reason as the Hex Code is downloaded via HexLoader software the OSC Calibration function can t be worked correctly The original file has to be recompiled by HYIDE V3 0 the Hex Code will be included related data by then O 2011 2012 HYCON Technology Corp APD HYIDE007 EN V07 www hycontek com page 13 Programmer Frequency Calibration SIE HYGON User s Manual COHEN 2 2 5 Software Calibration HAO Software Calibration After Calibration the difference value is saved in code OFEH of RAM This function is not doing actual frequency calibration only writing in the difference of frequency when the IC power on HAO Hardware Calibration HAO Software Calibration can exist at the same time Moreover the Hardware Calibration enforced first and then proceed the Software Calibration to calculate the difference value The difference value of frequency defined as 4000H
Download Pdf Manuals
Related Search
Related Contents
ユーザーズガイド - 準備中 TROFF ( 1 ) UNIX Programmer`s Manual TROFF ( 1 ) troff, nroff – text SRW-5000 SRW-5500 Manuel d`utilisation Sub-Zero 511 Refrigerator User Manual 薬食発第0310003号 Genius™ 2 Tympanic Thermometer Operation Manual 1 Back in a minute T-Mobile Samsung Galaxy Tab 3 16GB 3G 4G Black 取扱説明書 - ダイワインダストリ Copyright © All rights reserved.
Failed to retrieve file