Home

OTP Programmer User Manual

image

Contents

1. 4 3V User select VDD range 2 5V 5V Formula R27 Vuser 1 25 1 x 240 2011 AppoTech Ltd 57 AppoTech OTP Programmer USER MANUAL Rev 2 5 0 2 APG012 Supporting Top Board AppoTech Ltd 2010 12 03 APGOI2 APAOOL APA002 APA003 58 TAPGWTR1 PTP04 010ES TAPGWTR1 PTP04 010MP Switch Config Switch Config IRC Trim Voltage 2 7V 3 3V 4 3V User select VDD range 2 5V 5V Formula R27 Vuser 1 25 1 X240 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Appendix Ill FAQ This section covers the problems from the basic use of the OTP programmer Q What should do when Chip Not Found No Chip is reported A This may be caused when the programmer cannot detect there is a correct MCU on the socket 1 Check whether the MCU is placed correctly Refer to OTP Programmer Quick Start Guide TAPGWTR1 QS 023V02 EN for correct placement or 2 Check if the correct target MCU is placed on the programmer ie do not place an AX688 MCU when using AX688B project file or 3 Replace with another MCU Q What should do when Program timeout is reported A This may be caused by unstable power supply or discrepancy of IC 1 Check power supply or 2 Retry with another IC Q What should do when check sum error is reported A This may be caused by mismatch of encryption key or proj
2. Firmware version number Project code title CHECKSUM Smart option End of information display PROGRAM MODE dd D H 1 sec Waiting input Press PROGRAM button Waiting input Press PROGRAM button Waiting input Press PROGRAM button Going to Operation MODE selection state 2011 AppoTech Ltd 39 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Figure 6 2 Display Project Information lt a Note If the OTP Programmer does not work as above press reset button or disconnect the power and connect again until it can run normally The OTP Programmer can then proceed to the remaining operations 40 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 6 1 2 Operation Modes There are 4 operation modes in AppoTech OTP Programmer 1 PROGRAM mode standalone programming of MCU in assembly house VERIFY mode verify retrieve and show the Smart Options 2 INFO mode display project information 3 USB mode connect PC to download project file to OTP Programmer The message displayed on screen during mode selected are listed below 1 PROGRAM MODE PROGRAM mode 2 VERIFY MOD E VERIFY mode 3 INFO MODE INFORMATION mode 4 USB MODE USB mode 2011 AppoTech Ltd 41 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 6 1 2 1 Switch between
3. 5 3 4 Import object code This option allows user to import object code generated from the AppoTech IDE For details of generation of object code please refer to the AppoTech IDE manual To import object code click Browse to open the dialog box in order to choose the object file OTP Programmer can import obj or bin object code For hex object code file please refer to the application notes OTP Programmer Application Note for Conversion of Hex to Bim fo convert the hex file to bin file ch Note The Programmer will check the length of the object code If the imported object code is larger than the limit of specific MCU e g APGO12 APG013 AX684B has a limit of 2048 bytes and AX688 AX688B and a limit of 4096 bytes the ex tra code will be ignored by the programmer 2011 AppoTech Ltd 19 AppoTech OTP Programmer USER MANUAL 5 3 5 Configure smart options APGO13 Setting RSTB C Reset e Normal Input RDPORT C Read Pad e Read OP Register PORSEL Power up delay time selection Rev 2 5 0 PBACLEO C IO e XOUT WDTSEL C Not Reset Always Reset Power on delay time is 4 5 ms Sleep mode wake up delay time is 4 5 ms z LYDSEL C lt 20 lt 183V CLKSEL IRC X RCSEL 8MHz v Smart Options Opt0 Oxi A PCHSEL C Clear e Unchanged WDTCEN e Enable C Disable CLEDIY divide 1 D Optl joxi fr Smart option allows user to configure the MCU feature easily by using click and select m
4. The MCU is blank Case 2 Not Blank Verify pass O K ELE 1 EEEIEEE Line1 Verify result Check Sum Line2 Smart Option 1 Smart Option 0 Case 3 Not Blank Verify Fail FAIL eet oe 1 EEEIEEE Line1 Verify result VCheck Sum Line2 Smart Option 1 Smart Option 0 lt a Note Smart Options are only available in a chosen selection of MCU such as APG012 Please check the corresponding Product Specification if this option is available on your target MCU 2011 AppoTech Ltd 45 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL MODE KEY 3 sec Verify mode geng Info mode MODE KEY KC E Prog mode N Blank check YES Display blank NO Display veny OK FAIL Read code amp Display cal checksum Checksum y Read smart options Display Smart options Figure 6 5 Flowchart in PROGRAM mode 46 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 6 1 2 4 INFO Mode Pressing PROGRAM button will display the hardware and project information same as the one shown during OTP Programmer Initialization Refer to Figure 6 2 User should also read out all information before the OTP Programmer continues process Press Mode button to switch to PROGRAM mode Prog mode R
5. AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Found New Hardware Wizard This wizard helps you install software for Appotech OTP Programmer D If your hardware came with an installation CD lt 6 or floppy disk insert it now What do you want the wizard to do O Install from a list or specific location Advanced Click Next to continue Select Install the software automatically Recommended and click Next Then it will install the driver automatically Found New Hardware Wizard Please wait while the wizard installs the software a Appotech OTP Programmer D E WdfColnstaller010039 dll To C AWINDOWS system32 12 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL After finished installing the driver this dialog will display Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for 2 Appotech OTP Programmer Click Finish to close the wizard 4 2 For Microsoft Window Vista 7 Users After connecting the device to the computer the driver will be installed automatically a A Appotech OTP Programmer X Device driver software installed successfully d 9 05 EN a W m a W PED O ane After the driver installation has completed a notification will appear 2011 AppoTech Ltd 13 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 5 Software Issue 5 1 Start Application Th
6. Developer Yersion File Tools Language Help Target MCU APGO13 SSS See Browse APGO13 Setting RSTB PBACLKO Cone C Reset Normal Input C10 XOUT Information RDPORT WDTSEL Progress C Read Pad e Read OP Register C Not Reset e Always Reset State Device Attached Process yo action PORSEL Power up delay time selection E Mii Modify Time 0000 0 00 00 00 00 Power on delay time is 4 5 ms Sleep mode wake up delay time is 45 ms BI Data Buffer LVDSEL PCHSEL mI te nm TI C lt 22 lt 138 C Clear Unchanged CLKSEL WDTCEN IRC e Enable C Disable RCSEL CLKDI 8MHz z divide 1 Smart Options Op Ox fF Opti Oxi fff 2011 AppoTech Ltd 15 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL After the OTP Programmer is attached to the computer the user can press the mode button to let the device to go to program mode At the same time a Reconnect Dialog will appear Device detached P Programmer board left USB mode Press OK button to reconnect User can click OK to make the device go to USB mode again 16 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 5 3 Build the Project Workflow to Update Code 2011 AppoTech Ltd 17 AppoTech OTP Programmer USER MANUAL Rev 2 5 0 5 3 1 Start the OTP Programmer Software Target MCU Select the MCU model needed for programming Browse Code Update Select the object file needed for prog
7. Operation Modes By pressing MODE button the OTP Programmer cycles modes as following When the OTP Programmer is in PROGRAM mode user should hold MODE button for 3 seconds to switch to the next mode VERIFY mode Beside the USB mode is selected by USB insert and PC application event The information displayed on screen during boot up is listed below Display info Event 1 MODE KEY USB mode Event 1 Prog mode GER MODE KEY a i Event 1 A MODE KEY Event 1 Event 1 GE This event is triggered by USB inserted and PC application is started Figure 6 3 Switching between operation modes 42 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 6 1 2 2 PROGRAM Mode By default Program mode is selected In the standby condition the following two pages are displayed alternatively PROGRAM RD Y Ready message to indicate ready for programming MCU TOTAL 0000000 0 Upper line total programmed quantity title Lower line value decimal Press the PROGRAM button on the OTP Programmer to start burning the chip The PROGRAM LED will flash till the process complete or exit due to error and the result will be displayed on the screen e When alert message is shown user can press MODE button to reset the OTP Programmer alert status lt a Note Please refer to Section 6 3 OTP Programmer Alert Status for
8. TAPGWTR1 UM 025V00 EN Appotech OTP Programmer User Manual Rev 2 5 0 June 2011 AppotTech Limited Add Unit 705 707 7 F IC Development Ctr No 6 Science Park West Ave Hong Kong Science Park Shatin N T HK Tel 852 2607 4090 Fax 852 2607 4096 www appotech com AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Table of Contents Chapter 1 Rude Dt E 4 Chapter 2 Fr parateHE geed eege eg deeg 4 SE ME ege eenegen A Chapter 3 Install Stee EEN 6 3 1 MS VAAL gett eege eege deet EAOa ai 6 3 2 UNINStallatiOn E 10 Chapter 4 Install Hardware ics sicsisccccsc sos dt ERR EE ee EdEE enge 11 4 1 For Microsoft Window XP USers ees he Nee a a ete ee 11 4 2 For Microsoft Window Vista 7 LUserg ccccccceeeeeee eee e eee eeeeeeeeeneeeeeeeeeeeeeeeeeaaaaaeeeeeeees 13 Chapter 5 Software DT 14 531 Star AppliCatloma EE 14 5 1 1 For Microsoft Window XP Users sisi ainda bane e Dees g Ce EA 14 5 1 2 For Microsoft Window Vista 7 USGMS ccsscsecceeesscesececneeeeeeeeteeeeteeeseweeeeeeeee 14 5 2 Connect Disconnect Programmer Board 15 O70 BUI e 17 5 3 1 Start the OTP ee Tue EE 18 5 3 2 Select MG D BEE 19 5 3 3 SEL ENCrY DUO Ke Watch nioo aaria mae ene eee 19 5 34 leese e EE 19 5 3 5 Configure smart e le E 20 5 3 6 Set project IMPOMMAU OM eegen ege ager th gege d e ees cents tadbabacce odes 20 Dit DAVE LOIS EE 21 9 978 Ee 21 5A NS Se cays da ee Een Ee 22 3741 Project Manageme nttia veins doen n
9. install the new application Update Driver 1 Connect the OTP Programmer board to PC 2 Click PROGRAM button several times to enter program mode 3 Hold MODE button to enter read mode 4 Click MODE button to enter USB mode 5 The board will be detected by PC and the Hardware Wizard will popup to guide you to install the driver 6 In the dialog select No not this time click Next 7 Select Install the software automatically Recommended click Next 8 The driver will be updated automatically 9 Click Finish button to close the dialog For existing user if the project file created with software version 2 4 RTM or before conversion have to be done Convert project file Open the OTP Programmer application 2 5 Click File gt Open Select the project file to be open A message box will ask for converting the project file Click Yes to convert ch Note Project conversion only support RAW object code data project with encrypted object code data cannot be converted OU CON e 2011 AppoTech Ltd 5 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 3 Install Software 3 1 Installation The OTP Programmer application works with OTP programmer board for user to download object code to AppoTech microcontroller devices It allows user to configure MCU features smart options to suite user s application In addition it provides varieties of functions for prod
10. regarding the suitability of its products for any particular purpose nor does AppoTech assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages AppoTech products are not designed intended or authorized for use in applications intended to support or sustain life or for any other application in which the failure of the AppoTech product could create a situation where personal injury or death may occur Should Buyer purchase or use AppoTech products for any such unintended or unauthorized application Buyer shall indemnify and hold AppoTech harmless against all claims and damages 62 2011 AppoTech Ltd
11. the setting into programmer OK Confirm the setting If the mode or the ID has been changed the new setting will be saved and written to the programmer Cancel Discard the setting lt a Note Not all the MCU support ID generator function It depends on the MCU se lected 2011 AppoTech Ltd 29 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL File This option allows the user to import a number of IDs from a CSV comma separated values file containing the IDs The File should have a header start with ID and follow by entries of IDs of width from 2 bytes to 10 bytes 4 hexes to 20 hexes 2 hexes represent 1 byte ID Generator Scheme Index Source File z Current 0 Start Step File C Documents and Settings adrian s2 ff 17 E Reset ID6 ID9 ID12 ID15 ID 1010 ID13 IDS 1D11 ID14 Count Width 10 E Bytes Write OK Cancel Source Can choose for Fixed Auto ID or import File File File in directory to be imported Current Current index in Programmer Reset Reset the index to zero Write Save the setting into programmer OK Confirm the setting If the mode or the ID has been changed the new setting will be saved and written to the programmer Cancel Discard the setting lt a Note Not all the MCU support ID Generator function It depends on the MCU selected 30 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 5 4
12. 011 AppoTech Ltd 37 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 6 Hardware Issues 6 1 Hardware Overview An OTP Programmer consists of the Top board and Mainboard The Top boards are interchangeable for different packages Figure 6 1 shows the hardware outlook of an AppoTech OTP Programmer OTP Programmer Mainboard PWR LED Mode LED RESET button FAIL LED RESET MODE N PROGRAM STATUS PASS LED MODE button LCD display PROGRAM button PROGRAM LED Figure 6 1 AppoTech OTP Programmer Hardware for DIP package Power On 6 1 1 Boot up and Information display To power on the OTP Programmer hardware connect the power cord to the OTP Programmer 38 2011 AppoTech Ltd Rey 2 5 0 AppoTech OTP Programmer USER MANUAL hardware and plug in the power cord to power socket The PWR LED yellow will be on Display Project Information during Initialization When the OTP Programmer hardware is powered on it will undergo initialization and display of hardware and project information on the LCD screen PROGRAM LED yellow will blink for user input User should press PROGRAM button to go to the next screen After all information screens are shown the OTP Programmer hardware is ready to program the MCU The information displayed on screen during boot up is listed below APPOTECH PROGM R OTP Programmer name TAPGWT R 1 0000000 1 OTP Programmer serial number v2 o0e0 1 1
13. 6 Online Programming Online Programming allows the programmer to program devices through the computer client Online Programming C Program Files AppoTech Limited AppoTech OTP Prograr Browse all BlankCheck Program Verify All Do all the options include blank check program verify Blank Check Include Blank Check Program Include Program Verify Include Verify Run Run the options selected Browse Import the project file to be programed OK Confirm the setting Cancel Discard the setting ch Note Project file must exist to perform Program and Verify function 2011 AppoTech Ltd 31 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Online Programming C Program Files AppoTech Limited AppoTech OTP Prograr Browse Iw all M Blank Check V Program Iv Verify 13 47 47 It is in processing 13 47 49 Blank check pass 13 47 51 Online program success 13 47 53 Verify success If the all three operations are successful the above message appear It also shows the timestamps for each operation 32 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Online Programming C Program Files AppoTech Limited AppoTech OTP Prograr Browse Iw Al M Blank Check V Program Iw verify Run 13 44 56 It is in processing 13 44 58 Blank check pass 13 45 00 Online program success 13 45 02 Verify success Project checksum 0x00047800 IC c
14. 7 Verification Generic i Cancel Maximum Program Quantity Set the maximum number of time user want to program Failure Limit Percentage or Absolute Number Set the limit of programming failure rate Write Save the option into the device Max Count Display Maximum Program Quantity Failure Limit Display Display Failure Limit Success Number of time of successful programming Fail Number of time of failed programming Total Number of time total programming attempts Program Error occurred during programming stage Verification Error occurred during verification stage Generic Generic error occurred Blank Check Error occurred during blank check stage IRC Error occurred in setting IRC in programming mode Read Option to read out statistics from programmer Reset Option to reset the statistics to zero in programmers OK Confirm the setting If the Program Quantity or Failure Limit has changed and the programmer is connected to the PC the new value will be written to the programmer 2011 AppoTech Ltd 25 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Cancel Discard the setting Write Program Counter Set the maximum number of programming attempts into the Maximum Program Quantity Then set the Failure Limit by either as a percentage of the Maximum Program Quantity or as an absolute number Then press Write to update the programmer with the latest s
15. EL PCHSEL 02 03 04 C lt 22 lt 138 C Clear e Unchanged 0000H Im 1 Im 0008H Im 1 Im SE H g 0010H Lar 1 Lar IRC Enable C Disable E IP ior i RCSEL CLKDIV 0020H 1 1 1 0028H 1 1f 1 8MHz divide 1 0030H Im 1 Im 0038H 1 1 Im 0040H Im 1 Im 0048H Im 1 Im 0050H Im Im 1 Smart Options 0058H II II Wu Opto oxis Opti Ox1Ar mem Lar um 1 B SG 0068H LAT um 1 0070H ec 1f 1f 0078H ec 1f 1f nnonu IEN lt Click Code Update to update the flash with new content The process bar will show the status the programmer is in After successful update the following message will appear Appotech Programmer A Download success 2011 AppoTech Ltd 21 AppoTech OTP Programmer USER MANUAL Rev 2 5 0 A Download success message will appear if the code is successfully updated lt a Note To be able to do the Code Update the programmer must be in USB MODE AND is shown as Device Attach in programmer client state For setting the program mer into USB MODE please refer to Chapter 6 Hardware Issues 5 4 Utilities 5 4 1 Project Management Project Information Information Company Name APPOTECH Project Code PROJECTOOI IC Part Number apen Person in Charge As Parameters Enable Ext YDD Min 2 5 Max JD Protection Password Protected Enter password Ve Reenter password Kee Show Password se Pr
16. ba a ae ie 22 E ma ATO A 81119 E 24 5 4 3 Program EP dE ge hee 25 5 4 4 Read User Space ccccccccccceceeeeeceeeceeeeaaaaeeeecsceaeceeeeeeeeeeeeeesseeeessaeeeessaaaes 27 B45 EIERE EE EE EE EE ENEE 28 54 6 Online Programmi BEEN 31 At Co nfig re TOP BOA E 34 5 4 8 Firmware Update 36 5 4 9 Firmware Update in Recovery Mode 2 c ccccccccseeeeceteeeeeeeeeeeeeeeeeeeeeeeeeeeees 36 Chapter Hari Ee ni ee a ee nnmnnn 38 6 1 e Die De TE 38 6 1 1 Boot up and Information display 38 CNA ei Be EE 41 2 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 6 1 3 USB Mode r a a a a a a aaa a aaa Ea E aE 51 SAAE a MG EE EEE AEE Eeer 52 6 3 OTP Programmer E nn iiuiuotn runnen douacteuen cece 53 Appendix Programmer Jumper SettingS ssssssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn EEN 55 Appendix Il Use external VDD to trim IRC 56 App ndix Il FA EE 59 Appendix IV Revision Historesch EEENENENEE NEES nnmnnn 61 2011 AppoTech Ltd 3 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 1 Introduction The AppoTech OTP Programmer is a toolset to shorten the development time of the customers in order to help them quickly launch their products to market The OTP Programmer allows user to download their custom written code onto their own application board It also provides a user friendly interface to customize application The programmer is also able to do online programming id
17. dded descriptions of Generate Key Updated description of OK button Updated section 5 4 3 Updated description of Sam Law 2011 AppoTech Ltd 61 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL OK button Updated section 5 4 5 Updated description of OK button Updated section 5 4 6 Added descriptions of Browse Updated description of OK button and Log Updated section 5 4 7 Updated description of OK button 14 JUN 2011 2 5 0 Renamed APG012A to APG013 Zack Pang Changed 16 bit checksum to 32 bit Updated section 2 1 Added description of project conversion Updated section 5 3 5 Modified smart option value for APG013 Updated section 5 4 1 Added description of blank check enable Updated section 5 4 2 Mode 2 encryption Updated section 5 4 6 Display checksum after verify success Added Appendix II to describe how to use external VDD to trim IRC The information in this document is believed to be accurate in all respects at the time of publication but is subject to change without notice AppoTech assumes no responsibility for errors and omissions and disclaims responsibility for any consequences resulting from the use of information included herein Additionally AppoTech assumes no responsibility for the functioning of undescribed features or parameters AppoTech reserves the right to make changes without further notice AppoTech makes no warranty representation or guarantee
18. detailed programmer alert status information e When blank check fails and alert is prompted user can continue to the process by pressing PROGRAM button again Otherwise user should remove the chip and press MODE button to reset the OTP Programmer alert status 2011 AppoTech Ltd 43 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL From Display 2 ee MODE KEY Weer ee T From USB mode KEY E H 3 sec Prog mode eaten Verify mode MODE N KEY PROG f KEY Clear Display amp LED status Display Auto program status Save program counters Figure 6 4 Flowchart in PROGRAM mode e After a successful process OK screen and other information displayed are listed below O K After 1 sec the following pages are shown alternatively 1FCFRF1F EF 1FCF1FEF Line 1 target smart options Line 2 read back values 1000KHZ 999KHZ Line 1 target IRC frequency Line 2 measured IRC frequency after program 44 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 6 1 2 3 Verify mode In Verify Mode the verified result code s check sum and smart options information of the inserted MCU are shown Procedures 1 Switch to VERIFY Mode 2 Insert an MCU on the socket 3 Press PROGRAM button 4 The following information will be shown on the LCD display Case 1 Blank BLANK O K
19. ead KEY o Project info eaaa 7 from flash RPOG Prog KEY Gel H MODE SS ii Display Item anal Last item Figure 6 6 Workflow in INFO mode The information displayed on screen are listed below INFO Oe Waiting input Information mode selected Press PROGRAM button COMPANY eae Waiting input Item 1 Company name Press PROGRAM button tee ee en ee Waiting input Company name defined in Press PROGRAM button project file 2011 AppoTech Ltd 47 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL PROJECT CODE Waiting input Item 2 Project code title Press PROGRAM button Te Se ees eS Waiting input Project code defined in project file Press PROGRAM button CHECKS UM Waiting input Item 3 Check sum title Press PROGRAM button Waiting input Project check sum value hex Press PROGRAM button SMART OPTION Waiting input Item 4 Smart Option title Press PROGRAM button es Waiting input Smart Option value Press PROGRAM button BLANK CAEDE Waiting input Item 5 Blank check option title Press PROGRAM button DISABLE Blank check option Waiting input Press PROGRAM button TRIM B Y EXT VDD Item 6 Trim by external VDD option Waiting input title Press PROGRAM button 48 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL DISABLE Trim by external VDD option Wait
20. eal for quick deployments in mass production environment This manual is written for the OTP Programmer version 2 4 RC or later Supported MCU Please refer to the release notes for supported list of MCUs 2 Preparation The following items are required when using the OTP Programmer Computer with USB port OTP Programmer Software OTP Programmer board USB cable 2 1 Upgrade Instructions For existing user with firmware version 2 3 RTM2 or before installing the software version 2 3 RTM3 or later will not work with your existing firmware please consult FAE to upgrade the firmware For existing user with software version 2 00 06 or before and firmware version 2 3 RTM3 or later please follow these steps to upgrade your OTP programmer software Check Software Version 1 Start the application verify the version in the main dialog 2 Ifthe version is 2 00 or before continue with the followings Check Firmware Version 1 Turn on the programmer board 2 After displaying voltage information click program button twice 3 Verify the version on the LCD 4 Ifthe version is 2 3 RTM3 or later continue with the followings 4 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Update Software 1 Open control panel Start Menu gt Settings gt Control Panel 2 Select Add or Remove Program 3 Select AppoTech OTP Programmer to uninstall the old application 4 Follow the section 3 to
21. ect file download fail 1 The key to encrypt the project file Key 1 and the key existed in programmer board Key 2 mismatch download the Key 2 in encryption dialog again 2 Press Code Update to update the project file to the programmer again Q What should do when program limit reach error is reported A This may be caused when the number of MCU programmed has reach the program limit set in the programmer 1 Set Reset program counter in Tool program counter Q What should do when fail limit reach error is reported A This may be caused when the number of failure MCU has reach the fail limit set in the programmer 1 Set Reset program counter in Tool program counter Q What should do when the programmer failed to start up and halt on the voltage screen A This may be caused by the power supply 1 The tolerance of VDD and VPP is 5 check power supply 2011 AppoTech Ltd 59 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Q Where can find the driver if connect the programmer board to PC and the PC could not find the driver by auto search A This may be caused when the OTP Programmer application has not been installed 1 Install the OTP Programmer application For details of software installation please refer to Chapter 3 1 Installation 60 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer Appendix IV Revision History USER MANUAL Date Version Comm
22. ent Revised by 20 AUG 2010 1 0 0 First release Rimsky Cheng 28 OCT 2010 2 1 0 Merged with Hardware User Manual Added section for existing user Added section for Windows Vista and 7 user Sam Law 29 OCT 2010 2 2 0 Revised the firmware update section Sam Law 24 NOV 2010 2 3 RTM Added section 5 1 to describe how to start application Revised section 5 2 updated changed USB mode method Revised section 5 3 added flowchart and revised UI descriptions Revised section 5 4 4 and 5 4 5 revised notice Revised section 5 4 8 move auto firmware update to 5 4 9 Added section 5 4 9 to describe firmware upgrade Added section 5 4 10 to describe firmware update in recovery mode Revised section 6 1 removed unused picture Revised section 6 2 moved MCU placement to appendix Revised wording of encryption key Added Appendix II to describe MCU placement Update the screenshot in Chapter 5 Sam Law 05 JAN 2011 2 3 2 Updated section 2 1 to remove firmware upgrade Added section 3 2 uninstallation Removed section 5 4 9 firmware upgrade Added FAQ section Sam Law 02 MAR 2011 2 4 0 Updated section 5 3 4 mentioned object size limitation of APGO12A Updated section 5 4 2 6 2 and Appendix III revised wording Updated Appendix added jumper settings for Removed Appendix II MCU Placement Guide Sam Law 24 MAR 2011 2 4 1 Updated section 5 4 2 A
23. ethod to generate the correct code 5 3 6 Set project information For the ease of the management of project the OTP Programmer allows user to define information to be stored in the programmer for later retrieval The stored data can be displayed on the programmer LCD Company Name Project Code Version and Person in charge can be stored It allows easy tracking of information in the production environment 20 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 5 3 7 Save project This option allows user to save the setting to be used on another programmer lt a Note To be able to save the project at least the object file must be imported AND the encryption key file must be specified 5 3 8 Code update This option allows user to download the object code into the flash memory of the programmer for programming IS AppoTech OTP Programmer Developer Version File Tools Lenguage Help Target MCU APGO13 Zi CaProgramn Files AppoTech Limited AppoTech OTP Program APGO13 Setting RSTB PB4CLKO Looss J C Reset e Normal Input 10 e XOUT Information RDPORT WDTSEL Poges IIIIIIITTITITITIIIII C Read Pad Read OP Register C NotReset Always Reset State Device Attached Process It is in processing PORSEL Power up delay time selection CheckSum 000047800 Modify Time 2011 06 20 Power on delay time is 4 5 ms Sleep mode wake up delay time is 4 5 ms gt Data Buffer LYDS
24. etting lt a Note If the program counter is set to 0 the programmer can program unlimited MCU For security reason it is not recommended to set programmer to 0 In the sake of preventing incautious change of maximum program quantity the programmer will verify the imported encryption key and the key stored in the pro grammer board before changing the value 26 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 5 4 4 Read User Space User Space allows the user to store custom ID and other user defined information for their own purposes For example in APGO12 up to 2 Config values of 13 bit length and ID of 10 bytes can be stored Read User Space Read user space success ConfigO 0 x 1 FFF Configi 0x1 FFF PORSEL Power on delay time is 4 5 ms Sleep mode wake up delay time is 4 5 ms RSTB Normal Input RDPORT Read OP Register WDTSEL Always Reset LYDSEL lt 2 3 PCHSEL Unchanged PB4CLKO XOUT CLKDIV divide 1 RCSEL 8MHz Config 0 Display UserSpace Config 0 Config 1 Display UserSpace Config 1 ID Display UserSpace ID ALL Display All UserSpace Information OK Confirm the setting Cancel Discard the setting lt a Note Not all the MCU support Read User Space function It depends on the MCU selected 2011 AppoTech Ltd 27 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 5 4 5 ID Generator Fixed ID This o
25. heck pass OK Verify mode DUR e Verify pass 2 2 2 2 2777777 Verify mode FAIL e Verify fail 4 22 77777777 PASS LED Green off Program mode NOT BLANK FAIL LED Red on blank check fails Buzzer twice Program mode VERIFY e Verify fail FAIL Program mode TRIM e Trim fail FAIL General INVALID e Invalid target TARGET Blank check timeout BLANKCHK IMEOU eee ee Program timeout CONFIG FAIL LED Red on Buzzer ring Geier Verify timeout VERIFY IMEOU PASS LED Green toggle No top board found NO BOARD FAIL LED Red toggle Buzzer ring PASS LED Green off No target MCU found NO CHIP FAIL LED Red toggle Buzzer ring Failure limit reached FAIL LMT REACH PROGRAM LED toggle Program limit reached deg LMT UPDATE LED toggle scat Buzzer ring System error STOTEN ERROR Invalid top board INVALID TOPBOARD 2011 AppoTech Ltd 53 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL N A Unknown error UNKNOWN ERROR 54 If user encounters problems please check for the above alert messages Please verify that the correct MCU or the correct top board are correctly inserted into the programmer If there are other situations not stated above or the error is unknown please disconnect power and reboot the OTP Programmer H error persists and users can t solve the problem please contact our technical support immediately 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP P
26. hecksum 0x00047800 For MCU except AX688 check sum are displayed after verify lt a Note To allow the programmer to be able to use online programming one must ensure that the programmer client had opened a project file before entering the online program dialog 2011 AppoTech Ltd 33 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 5 4 7 Configure Top Board Configure Top Board Settings Configure Ext YDD Min voltage Max Voltage Device Supported Read ADC Yalue APGO12 3 6 3 6 5 0 Ext VDD Show the status of External VDD Min Voltage Show the minimum voltage configured on top board Max Voltage Show the maximum voltage configured on top board Device Supported Show the devices supported by Top Board Min Set the minimum voltage Max Set the maximum voltage Write Save the setting into the programmer Read ADC Value Display the Read ADC Value OK Confirm the setting If the Min or Max voltage has changed and the programmer is connected to the PC the new value will be written to the programmer Cancel Discard the setting 34 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Set Top Board s External VDD In case the Target MCU s External VDD is not the default value it is necessary to change the value in order to program the MCU correctly and safely To do so select Configure Top Board from the Tools tab l
27. ing input Press PROGRAM button DATECODE Item 5 Date code title Waiting input Press PROGRAM button 20100 62 6 03133 0 Upper line date format yyyymmdd Waitino input Lower line time format hhmmss Breda SE butan I C PART NUMBER Item 6 IC part number title Waiting input Press PROGRAM button IC part number defined in project file Waiting input Press PROGRAM button PERSON INCHARGE Item 7 Person in charge title Waiting input Press PROGRAM button Person in charge defined in project file Waiting input Press PROGRAM button PROGRAM LIMIT Item 8 OTP Programmer preset program counter limit title Waiting input Press PROGRAM button 00010000 value decimal Waiting input Press PROGRAM button L tw L L L L O KI NI 2011 AppoTech Ltd 49 AppoTech OTP Programmer USER MANUAL PROGRAM COUNTER Item 9 current programmed MCU quantity title 000000 8 1 value decimal FAILURE LIMIT Item 10 OTP Programmer pre set failure limit title 00000000 value decimal FAILURE COUNTER Item 11 Current failure count title 00000000 value decimal END End of Information page 50 tw w w w w w Waiting input Press PROGRAM button Waiting input Press PROGRAM button Waiting input Press PROGRAM button Waiting input Press PROGRAM butto
28. is procedure describes how to start the OTP Programmer application 5 1 1 For Microsoft Window XP Users Once the OTP Programmer application is installed successfully user can find a shortcut link on the desktop User can double click to start the application 5 1 2 For Microsoft Window Vista 7 Users Once the OTP Programmer application is installed successfully in the Program Files user can find a shortcut link on the desktop User can double click to start the application Then a dialog will popup to ask for the permission the start the program Click Yes to start using the programmer r Toi User Account Control PS Program name Appotech Programmer ee Publisher Unknown File origin Hard drive on this computer V Show details Yes Change when these notifications appear 14 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 5 2 Connect Disconnect Programmer Board This procedure describes how to connect the OTP Programmer and disable the warning message After user has started the application without connecting to the OTP Programmer a warning message will appear Device Not Found Cannot detect any device T Do not warn me again User can disable this pop up warning message by ticking the box Do not warn me again Then click OK to quit When user powers on the programmer the state of the OTP Programmer will change to Device Attached S AppoTech OTP Programmer
29. le information so that it is impossible to be changed by others When the project file is locked programmer will only allow user to perform Code Update To enable locking type in password and then click Lock in the project info window To unlock the setting type in the password again and click Unlock If you are unsure of what you typed click the option show password to see what you typed without asterisks Save Project This option allows you to save the project setting in order to be retrieved later or to be loaded to another OTP Programmer Client To save project click save project from the File tab of the Menu bar and choose the right directory and file name to save it Load Project This option allows user to load the project setting saved earlier It is especially handy when user had a lot of different projects on hands To load project click load project from the File tab of the Menu bar and choose the appropriate file to load in 2011 AppoTech Ltd 23 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 5 4 2 Encryption Warning Make sure the key imported is the same as the encrypted object code or else the code will not be programmed Security None Key Generate Key Key 32 byte long encryption key Browse Option to choose the file which contains the key Write Write the encryption key into the Programmer OK Confirm the setting If a new key is imported or generated and the programmer is con
30. n Waiting input Press PROGRAM button Waiting input Press PROGRAM button Rev 2 5 0 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 6 1 3 USB Mode In USB Mode PC software will take over control The PROGRAM button is only activated after some program instructions are issued to the OTP Programmer by PC software User can press PROGRAM button to reset alert status Event 1 a ee MODE BUTT USB mode ll S PROGRAM mode USB Packets Va N Handle Clear display NS commands amp buzzer alert finished ees Figure 6 7 Workflow in USB mode 2011 AppoTech Ltd 51 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 6 2 Insert MCU Insert the chip into the most bottom position of the socket IC pins should be placed tightly to the metal guidelines in the socket For Details please refer to OTP Programmer Quick Start Guide TAPGWTR1 QS 023V02 EN 52 2011 AppoTech Ltd Rey 2 5 0 6 3 OTP Programmer Alert Status AppoTech OTP Programmer USER MANUAL The status of OTP Programmer can be identified by the LCD message according to the following table Signal Status LCD Message PASS LED Green toggle Ready PROGRAM FAIL LED Red toggle RDY Buzzer off PASS LED Green on Program mode OK FAIL LED Red off e Success Buzzer once Verify mode BLANK e Blank c
31. nected to the PC the new key will be written to the programmer Cancel Discard the setting Security Mode 1 Set Encryption Key with mode 1 Mode 2 Set Encryption Key with mode 2 None Disable Encryption Key Default Generate Key Generate a random key If there is an existing key the newly generated key will be saved in the same directory of the existing key else it will be saved in the application directory The generated key will be named as GenKey txt The existing generated key will be renamed as GenKeyBak txt if it found in the same location Write Encryption Key To write an encryption key into the programmer first import the key from a standard txt file by pressing Browse then choose the directory the txt file is in Verify that the key display on the status box is indeed the key desired Press Write to write the key into the programmer A successful message will appear in case a successful write is performed Security Mode 1 and Mode 2 use different encryption method Mode 2 is faster when programming 24 2011 AppoTech Ltd Rey 2 5 0 AppoTech OTP Programmer USER MANUAL 5 4 3 Program Counter Program Counter Settings Maximum Program Quantity 0 units Failure Limit 1 00 D units Statistics 0 units Fail D units Total D units Read Reset Success Information Max Count Failure Limit Error Details Program 0 Blank Check ro a 0 IRC
32. ogram Iw Enable Blank Check eg Company Name The company name of the production company Project Code The code or name of the project IC Part Number The part number of IC used Person in Charge The person that are in charge of the project Enable Ext VDD Option to enable external VDD Min Show the minimum external VDD change min VDD value by clicking up down arrow 22 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Max Show the maximum external VDD change max VDD value by clicking up down arrow Password Protected Option to enable password protection Enter password Text Box for entering password Reenter password Text Box for re entering password Show Password Option to show password Lock Option to lock the password Enable Blank Check Option to enable blank check OK Confirm the options selected Cancel Discard the options selected Write Project Information The project information can be saved into a project file for permanent storage This information will display in LCD after Code Update Set External VDD If the target board requires external VDD for trimming it can be set through this option The tolerance can be set by changing the minimum and maximum value Set Blank Check If user requires perform blank check it can be set through this option Authentication Password can be set to lock the project fi
33. overview of volume of disk drive Click Next 2011 AppoTech Ltd 7 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Confirm Installation ie Appolech OTP Programmer Confirm Installation The installer is ready to install AppoT ech OTP Programmer on your computer Click Next to start the installation Click Next the following screen should appear ie Appolech OTP Programmer Installing AppoTech OTP Programmer AppoTech OTP Programmer is being installed Please wait Cancel 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL lt a Note For Microsoft Window Vista 7 Users a warning dialog may appear Click Install this driver software anyway to continue the installation gt Don t install this driver software You should check your manufacturer s website for updated driver software for your device Install this driver software anyway Only install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information wv See details Wait until the installation finishes ie AppoTech OTP Programmer Installation Complete AppoTech OTP Programmer has been successfully installed Click Close to exit Click Close to complete the installation 2011 AppoTech Ltd 9 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 3 2 Uninstallation Click Start Menu g
34. ption allows a fixed ID to be written into the programmer the same ID will be programmed into the MCU for each attempt of programming The fixed ID should be 10 bytes in length ID Generator Scheme Index Source Fixed x Current op Start Step S Ee Reset ID6 ff mg WDAZ ff m r f ID rm ID10 ff ID13 iff IDS FF 1D11 ff ID14 iff Count width 10 Bytes Write Cancel Source Choose for Fixed Auto ID or import File ID 6 15 Entries for entering fixed ID Current Current index in Programmer Reset Reset the index to zero Write Save the setting into programmer OK Confirm the setting If the mode or the ID has been changed the new setting will be saved and written to the programmer Cancel Discard the setting ch Note Not all the MCU support ID generator function It depends on the MCU se lected 28 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Auto This option allows the programmer to auto increment the value of ID for each programming attempts ID Generator Scheme Index Source Auto s Current gd Start 10000000 Step 16 File ID6 ID15 kr ID me ID11 ID14 Count 10000 Width p Bytes Write e Source Can choose for Fixed Auto ID or import File Start Start ID Step Step for increment Count Total number of increment Width Width of ID Reset Reset the index to zero Write Save
35. ramming Download object code to flash memory of programmer Progress Show the update progress State Show the state of the device Process Show the current task of programmer CheckSum Show the checksum value of object code Modify Time Show the modified time of the project file Data Buffer Show the data content of the object code Setting Show smart options of the target MCU Note lt A MCU is NOT yet programmed when Code Update is clicked 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 5 3 2 Select MCU User can select the target MCU of their own target board For supported list of MCUs please refer to the release notes 5 3 3 Set Encryption Key User can choose an encryption key to encrypt the programmer setting in order to protect the object code Since the key has a length of 32 bytes it will be prone to error if it is typed by hands OTP Programmer provides an easy way to import a key by text file To set the encryption key select Tools from the menu then choose Encryption Click Browse to import the file verify the key imported then press Write to save the setting After receiving the successful message press OK to leave User may also disable the encryption key by setting the key to none However it is not recommended To set the key to none select Tools from the menu then choose Encryption Select None for the security option and press OK to leave
36. rogrammer USER MANUAL Appendix Programmer Jumper Settings MCU DP1 DP2 APG012 APG013 XXO OXX AX688 AX688B AX684B XXO OXX XX short together O leave open 2011 AppoTech Ltd 55 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL Appendix Il Use external VDD to trim IRC This section to discuss how to use external VDD to trim IRC Introduction IRC Trimming with adjustable voltage could be applied to the programmer by setting project info in the software and setting the switch S1 on the programmer top board Target supports trimming with adjustable voltage is listed as follows Chip Support AX688 No AX688B Yes AX684B Yes APG012 Yes APG013 No Software Setting Project Information Information Protection Company Name Password Protected APPOTECH Enter password Project Code PROJECTOOL Reenter password IC Part Number oben Show Password Person in Charge JOSE Parameters Program Iw Enable Blank Check cous _ ch Note Don t select Enable Ext VDD in project information in unsupported target chips AX688 APG013 56 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Hardware Setting 1 AX688B AX684B Supporting Top Board TAPGWTR1 PTPO3 010ES TAPGWTR1 PTP03 010MP TAPGWTR1 PTP0O3 011MP Switch Config IRC Trim Voltage 2 7V Switch Config e a 3 3V
37. t Programs gt AppoTech gt OTP Programmer Select Uninstall AppoTech OTP Programmer the following screen should appear Windows Installer Are you sure you want to uninstall this product Click Yes to uninstall the OTP programmer software 10 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL 4 Install Hardware This procedure describes how to connect the OTP Programmer Platform and install the USB vendor specific class VSC drivers Verify the OTP Programmer board is set up according to the default configuration See appendix Insert the type B connector of a USB cable into the type B jack located on the OTP Programmer board and insert the type A connector of a USB cable into a USB port on your computer On the OTP Programmer board move the switch to ON position 4 1 For Microsoft Window XP Users After connecting the device to the computer the Found New Hardware Wizard dialog box will ap pear Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software O Yes this time only O Yes now and every time connect a device Click Next to continue Select No not this time and click Next 2011 AppoTech Ltd 11
38. t a Note Make sure that the applied VDD is correct otherwise the trimming value will be wrong or program will fail 2011 AppoTech Ltd 35 AppoTech OTP Programmer Rev 2 5 0 USER MANUAL 5 4 8 Firmware Update Firmware Update allows the OTP Programmer to be updated with the newest firmware Firmware Update Serial Number TAPGWTR 100000000 Local Firmware Yersion 2 04 05 Gu Remote Firmware Version 2 94 04 Gu Update Cancel Update Update the programmer with updated firmware OK Confirm the setting Cancel Discard the setting lt a Note Do not press Update if the Local Firmware Version happens to be newer than the Remote Firmware Version A warning message will pop up and the upgrade will not proceed 5 4 9 Firmware Update in Recovery Mode If the firmware of the programmer is crashed and cannot start the programmer normally user can force the OTP Programer to recovery mode User need to power off the OTP Programmer Then hold the PROGRAM button and MODE button for 3 seconds 36 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL RE ET MODE PASS PROGRAM STATUS After that power on the OTP Programmer to enter the recovery mode After the user starts the application a warning message will pop out and help the user to update the firmware Device Recovery Programmer board is in recovery mode Press OK button to perform firmware update 2
39. uction and project management Please refer to release notes for supported lists of operating systems To install the OTP Programmer application go to the setup file directory and double click setup msi The following Setup dialog box should appear Welcome Screen ie AppoTech OTP Programmer Welcome to the AppoTech OTP Programmer Setup Wizard The installer will guide you through the steps required to install AppoT ech OTP Programmer on your computer WARNING This computer program is protected by copyright law and international treaties Unauthorized duplication or distribution of this program or any portion of it may result in severe civil or criminal penalties and will be prosecuted to the maximum extent possible under the law Cancel Click Next until the installation program begins copying files 6 2011 AppoTech Ltd Rev 2 5 0 AppoTech OTP Programmer USER MANUAL Select Installation Folder ie AppoTech OTP Programmer Select Installation Folder The installer will install AppoTech OTP Programmer to the following folder To install in this folder click Nest To install to a different folder enter it below or click Browse Folder C Program Files Appo Tech Limited AppoTech OTP Programmer Install AppoTech OTP Programmer for yourself or for anyone who uses this computer Everyone O Just me Browse Click to choose the desired directory Disk Cost Click to show an

Download Pdf Manuals

image

Related Search

Related Contents

Bedienungsanleitung/Garantie HAIR CRIMPER HC 888      Husqvarna 544 93 62-01 Saw User Manual  769-07289 P02 MTD CARB Addendum EPA.indd  Gebrauchsanweisung KGI 2900/1/A  OPT99-IN-142 One Pass Fiber Pathway_壁面適合テスト説明書A  取扱説明書補足版 シャワートイレ PASSO  XtremeMac Analog Audio Cable HD, 2m  Brochure Formations 2015/2016  

Copyright © All rights reserved.
Failed to retrieve file