Home
CP76X USER MANUAL Guangzhou ZHIYUAN Electronic Co., LTD.
Contents
1. Figure 20 Program Settings dialog Minimum Interval 1 Minimum interval is the time in number of milliseconds interval between the point that you remove previous device and the point that you install current device in adapter 2 This option is valid only in auto program mode 3 It s recommended using default value Initial Count 1 Initial count is the count of programmed chips when you start auto program operation 2 This option is valid only in auto program mode Alarm 1 You can select whether system alarm when current chip is not under protection 2 You can select whether system alarm when you have not selected type of chip 3 These options are valid only in program amp auto program mode 21 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 6 3 Other Settings Settings x E Other Settings Li y Work Fat Buffer Settings CMY Documents El Vs Option hi Auto save Program Settings Mute Other Settings CP76X 2 0 Figure 21 Other Settings dialog Work path 1 The work path is changeable 2 Default path is the directory of current software Options 1 If you select Auto save option software will remember current settings when you open it next time 2 If you select Mute option all voice indication is inactive Jj Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual Appendix 1 Store configuration information in
2. Hex file SILPC series MCUs can only be programmed for one time You should configure the configuration bytes correctly before you start to program chips But if you need to configure the configuration bytes manually every time before you load program code into buffer the probability of making mistake is rather high It recommended that store the configuration information in program code so that even an ordinary worker will be competent for programming work In following section we describe how to store the configuration bytes into your program code CP76x support two ways of storing the configuration bytes If your program code has no configuration information i e there is no data at address OxFCE0 OxFCFF and 0xFD00 0xFD01 you can load your file e g product hex into CP76X Then open the Config dialog and configure the configuration bytes After you confirm the correctness of these bytes you can store the file in Hex format with another name e g product2 hex Next you program device with CP76X you need only load the product2 hex into program buffer The configuration bytes will be loaded into buffer automatically Add the configuration bytes into your source code For example a de de E K E KE K E K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K SILPC User Parameter amp User Config Address Define User Parameter OFCEO OFCFFH 32Bytes User Config OFDO0
3. VER 1 00 20020101 org USER CONFIGI DB VVDTE EN or RPD _ DIS or PRHI LOW or BOV 25V or CLRR PER6 or FOSC INRC org USER CONFIG2 DB ONE SECURITY END When you emulate your source code with these added code some emulation software may reports error of program space overflow You can use semicolon to mask these code When you finish your debug you can recover them and create the Hex file 24 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual Appendix 2 An example of programming 51LPC series MCUs with CP76x We take example for CP76X_Demo hex to describe the step of programming Open CP76X software Select device via shortcut button or menu item Load CP76X Demo hex file into program buffer Configure the system configuration bytes Store current content of buffer with name CP76X_Demol hex Confirm the correctness of check sum Start programming operation Test the first programmed device in actual circuit O ON HR Wn B WW N e Test one programmed device every a few e g 200 pieces of device Notes 1 Next time you can load CP76X Demol hex and ignore the step 4 and 5 2 If the quantity of devices to be programmed is large it recommended that use auto program to improve the efficiency 25
4. CP76X USER MANUAL a Cy La a esa le S wa 1 ana Ji db or nm gt gt a 202 E Gt 1 a i I R Es Sds i o Guangzhou ZHIYUAN Electronic Co LTD 2002 August 23 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual DIRECTORY General Description Setup Main Window Menu Function Function Description Settings Nn kh WN m Appendix 1 Store Configuration Information in Hex File Appendix 2 An Example of Programming 51LPC Series MCUs with CP76x Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 1 GENERAL DESCRIPTION CP76x programmer is used to program 51LPC series MCUs FEATURES High Reliability High Speed Comfortable Operation Device auto detection Supports 51LPC full series MCUs Blank Check and verification function Serial number auto increment is available Device Types P87LPC759 IR OTP MCU P87LPC760 IR OTP MCU P87LPC761 2K OTP MCU P87LPC762 2K OTP MCU P87LPC764 4K OTP MCU P87LPC767 4K OTP MCU P87LPC768 4K OTP MCU P87LPC769 4K OTP MCU P87LPC776 8K OTP MCU P87LPC777 8K OTP MCU P87LPC778 8K OTP MCU P87LPC779 8K OTP MCU PARTS LIST Il CP76x PROGRAMMER Il piece 2 POWER SUPPLY 15V 5W l piece 3 RS232 CABLE I piece 4 CP76x software CD Il piece 5 CP76x user manual Il piece 6 Software CD I piece 7 CP76x user manual I piece Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 2 SOFTWAR
5. E INSTALLATION This chapter describes the system requirements and how to install the software 2 1 System Requirements There are minimum hardware and software requirements that must be satisfied to ensure that the CP76x work properly You must have PC with Pentium processor or higher Windows 98 Windows NT 4 0 or higher Monitor Resolution should be 800 600 or higher Standard PC COM 2 2 Setup Extract the WinZip file to a folder e g c CP76x or other folder you specify Run CP76X20 exe directly Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 3 MAIN WINDOW The main window is shown below CP76X2 0 Programmer File Edit Chip Option Help e Ale gia 15 x A Select 88 Config Program Buffer Blank Read Program Shortcut Buttons Ri Verity oA 7 Auto LJ Unkown chip LJ WOT enable LJ Reset pin disable J Pott reset high LJ pov 25y LJ 6 Clocks LJ Extemal clock input Ll CheckSum FOOOH Address 0000H NUM Status Status Bar Configuration Window Communication Indicator Figure 1 Main Window Function Description Shortcut Buttons Frequently used functions You can also use menu items to find relevant functions Program Buffer Display program code Configuration Window Display type of chip checksum and other detailed configuration Status Bar Display current operation c
6. OFD01H 2 Bytes EEEE ae E eae ea ye a oe ee Oe ae E an EE ae Pare See S USER PARAMETER equ OFCEOH USER CONFIGI equ OFDOOH USER_CONFIG2 equ OFDOIH a de de de de de de ofe KE de dd K de K od K K E ofe K de K ofe K K K ofe K K ofe K K K ofe K K K K K K K ofe K K K K K K K K K K K K K K K K K K K K K dd gt PHLIPS 51LPC Microcontroller USER CONFIG constant define gt UCFGI define Address FDOOH Default value OFFH gt WDTE RPD PRHI BOV CLKR FOSC2 FOSCI FOSCO B7 B6 B5 B4 B3 B2 BI BO y eak ae ake ake A A A A A A A A A AR A A A A A A a A A A A ak WDTE EN equ 10000000B WDTE DIS equ 00000000B RPD DIS equ 01000000B RPD EN equ 00000000B PRHI HIGH equ 00100000B PRHI LOW equ 00000000B ee Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual BOV 25V equ 00010000B BOV 38V equ 00000000B CLRR PER6 equ 00001000B CLRR PERI2 equ 00000000B FOSC EXTERN equ 00000111B FOSC INRC equ 00000011B FOSC LOW equ 00000010B FOSC MIDDLE equ 00000001B FOSC HIGH equ 00000000B a de de de de K 2 K de de K KE de K od K K K ofe K de de K K K K K K K K de K K K K K ofe K K K K K K K K K K K K K K K K K K K K K K K K K dd UCFG2 security define gt Address FDOIH Default value OFFH SB2 SBI _ B7 B6 B5 B4 B3 B2 BI BO EE EEEE ea ee pon Pa ae ce eng eee EE ap ee unre gy a ERE Esc qe one ee NO SECURITY equ 11000000B ONE SECURITY equ 10000000B TWO SECURITY equ 00000000B org USER PARAMETER DB ZLGMCU XXX PRO
7. al 5 9 Serial Number The serial number is used as an exclusive identifier of device You can define the value and address of it 1 Click Serial Number option from Device menu you will see below dialog Serial number M Serlal number Initial value FFFFFFFF locat J Begin address The length of serial number is 4 bytes Figure 10 Serial Number dialog 2 Input initial value and start address in dialog 3 Click Ok button or press Enter key Notes 1 You should select device type before you enable this function 2 Default value of serial number is FFFFFFFF Default start address is FCFC The length of serial number is 4 bytes 3 Auto increment of serial number is available 4 The lowest byte is located at the lowest address of 4 bytes For example serial number 12345678H will be stored as 78 56 34 12 14 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 10 Read This item is used to read the memory contents of device and writes them to the Buffer 1 Click Read option from Device menu you will see below dialog he User Code he Configuration Byte W Security Byte ll Display result when complete I Close dialog box Status Bar Operation Indicator Figure 11 Read dialog 2 Set address range of read 3 Select option s that you need 4 Click Read button or press Enter key The color of operation Indicator is red when r
8. ead is in process Indicator will blink if an error happens 5 If you select option Display result when complete a window will display the detailed information of read after operation is completed You can click Save button to store it as a txt file Program Code Q00H 3FFH User Code Config Secret Result of read The code being read is listed in program buffer Chip Chip Type PS LPC 59 CheckSum EE34H Y Figure 12 Result Of Read 15 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 11 Blank check This item is used to check whether the current device is blank that is all locations are set to OFF Hex 1 Click Blank Check option from Device menu you will see below dialog I User Code he Configuration Byte W Security Byte I Display result when complete I Close dialog box Ready iw A Figure 13 Blank Check dialog 2 Set address range of blank check 3 Select option s that you need 4 Click Blank button or press Enter key The color of operation Indicator is red when blank check is in process Indicator will blink if an error happens 5 If you select option Display result when complete a window will display the detailed information of check after operation 1s completed You can click Save button to store it as a txt file Program Code Q00H 3FFH User Code Config Secret Chip Chip Type P8 LPC 759 Result Ch
9. ess range of programming 3 Select option s that you need 4 Click Auto button or press Enter key 5 System will detect if there is a new device in adapter after current device is programmed When new device is detected system will execute programming operation automatically Note that the minimum time in number of milliseconds interval should be met Refer to the section on Program Settings for details 6 You can modify the initial count of chips being programmed Refer to the section on Program Settings for details 19 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 6 Settings CP76X allow you modify some important parameters including buffer settings program settings and other settings 6 1 Buffer settings Settings xi Buffer Settings FL Font Bulfer Settings a Color Adr character Program Settings Hex4sc character Selected background Modified character Other Settings CP76X 2 0 TR Figure 19 Buffer Settings dialog Buffer settings allow you change the fonts and color of buffer 20 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 6 2 Program Settings Settings Ea i iy Auto program Buffer Settings Minimum Interva 1200 Tm Initial Count CO Program Settings Program Settings Alam when chip isn t under protection T ll Alam when user havn t selected chip Other Settings CP76X 2 0 Cancel
10. ip is programmed the address and data of programmed units is listed below Figure 14 Result Of Blank 16 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 12 Verify Compare the content of current device with content of buffer including configuration 1 Click Verify option from Device menu you will see below dialog Fang I Program Code IY User Code he Configuration Byte IY Security Byte he Display result when complete he Close dialog box Pe Ready ag a Figure 15 Verify dialog 2 Set address range of verification 3 Select option s that you need 4 Click Verify button or press Enter key The color of operation Indicator is red when verification is in process Indicator will blink if an error happens 5 If you select option Display result when complete a window will display the detailed information of check after operation is completed You can click Save button to store it as a txt file Program Code 000H 3FFH User Code Config Secret Chip Chip Type P87LPC759 Result verification passed Figure 16 Verify dialog 17 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 13 Program This item is used to program the current device with the contents of the Buffer 1 Click Program option from Device menu you will see below dialog Range IV Program Code IV User Code Start 1000 V Configurati
11. ocate Device Select Head Fd Frogram FE Blank Check FE Verify Fr ES Auto Program Fa Auto Detect Serial Number Configuration Guangzhou ZHIYUAN Electronic CO LTD Auto Detect Detect type of device in adapter automatically Serial Number Set start address and initial value of serial number Configuration Set configuration word of current device Option Settings Configure display parameter of buffer programmer parameter and other commonly used parameters Help Help Display content of help file About About CP76X ay CP76x Programmer User Manual Option Hf Settings Help Help About Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 Function Description 5 1 Open file CP76x supports two types of data format One is Intel Hex format The other is Bin format The following steps will show you how to load program code into buffer 1 Select Open option from File menu you will see below dialog Look in aco iss al Tl c CP76X DEMO hex File name CP76X DEMO hex Files of type Intel hex files hex Cancel 4 Figure 2 Open File dialog 2 Select the type of file If you want to open binary file please select Binary files bin 3 Choose the desired file then click Open The full filename and path will be displayed in the Title Bar of the p
12. on Byte End SFF V Security Byte T Blank check first J SN auto increment Il Verify after programmed Vv oe Ready Programmed chip 0 Figure 17 Program dialog 2 Set address range of programming 3 Select option s that you need 4 Click Program button or press Enter key The color of operation Indicator is red when programming is in process Indicator will blink if an error happens 5 If you select Blank before program option and device is not blank program operation will not be executed 6 If you select SN auto increment option serial number in buffer will increment automatically when the program of current device is completed 7 If you select Verify after programmed option verification will be executed when program is completed 18 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 14 Auto Program Auto program execute the same function as Program option The only difference is that the program operation is executed automatically when you place device in adapter 1 Click Auto Program option from Device menu you will see below dialog Range MV Program Code M User Code Start 1000 iv Configuration Byte End 3FF V Security Byte Blank check first T SN auto increment Il Verify after programmed Ee Vv g Ready i programmed chip 0 Figure 18 Auto Program dialog 2 Set addr
13. rogram the file will be loaded into memory and all displayed data in buffer will be updated Notes 1 The length of data that is loaded into buffer should not exceed the limit of device that you select For example if you select P87LPC762 as current device the program code that you load into program buffer should not exceed 2k or the part of code that exceed 2k will be ignored 2 If the program code Hex format contains data from address 0xFCEOh to 0xFDO1h CP76x will regard these data as user code and system configuration bytes 3 If there is invalid data when you load file into program buffer the rest of data will be ignored Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 2 Save as You can save the content of buffer as Intel Hex format or Bin format The following steps will show you how to load program code into buffer 1 Select Save as option from File menu you will see below dialog Save in a Cp76x El al Al c CP7E DEMO hex File name CP76X DEMO hex Save as type Intel Hex hex ei Cancel Z Figure 3 Save As dialog 2 Select the type of file If you want to save the contents of buffer as binary file please select Binary files bin 3 Type filename and click Save Notes 1 If you save the contents of buffer as a Hex file the user code and system configuration word will be included 2 If you save the contents of buffer as a Bin file the
14. sired program code into buffer El Es a Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 8 Configuration Settings 1 Click Configuration option from Device menu you will see below dialog Config Setting xi WDT Reset Pin Port Hete Enable Disable High C Disable C Enable C Low Brownout Voltage Clock Rate gt _ Oscillator Type fe 25V B Clocks External clock a 12 Clocks C Internal RC Security C 20K 100KHz No Protection C Loch Bill Lock_Bitl amp 2 Hea C 4M 20MHz Cancel Config FFH Security FFH Figure 9 SILPC Configuration dialog 2 Configure device according to your requirement 3 Click Ok or press Enter key Notes 1 Configuration word is very important to device You should configure it carefully 2 After you finished configuration configuration window will show detailed information 3 Security option 1 No protection Both security bits unprogrammed No program security features enabled EPROM is programmable and verifiable 2 Lock bitl Only security bit 1 programmed Further EPROM programming is disabled Security bit 2 may still be programmed 3 Lock bitl amp 2 Both security bits programmed All EPROM verification and programming are disabled 32 Byte Customer Code and system configuration bytes can still be readable Eee Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manu
15. te to address Figure 6 Locate dialog 2 Input desired address in dialog and then click Ok button or press Enter key 5 6 Auto Detect CP76x can detect the device in adapter automatically 1 Select Auto Detect option from Chip menu you will see below dialog Device Id Chip Type P87LPC759 Security No protection Cancel Figure 7 Auto Detect dialog 2 Click Detect button If there is a 51LPC device in adapter programmer will detect it and display the ID code device type and security state 11 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 7 Select 1 Click Select option from Device menu you will see below dialog Select ri C P87LPC759 1K Type OTP C P87LPC760 1K Program Code 4096 Byte P8 7LPC761 2K eeo 34 Byte C P87LPC762 2K Pins 20 Pin P87LPC764 4K Device Id 15 DD 00 Cancel C P87LPC767 4K C P87LPC768 4K P87LPC769 4K Figure 8 Select dialog 2 Select desired type of device in dialog the basic information of selected device will be shown in right part of dialog 3 Click Ok button or press Enter key Notes 1 You should select proper type of device to be programmed It s not recommended that use unmatched type to execute read or program operation 2 After you select a device the program buffer will be cleared You should select device first then load the de
16. ursor position status of Caps Lock and Num Lock key and communication indicator Communication Indicator If system fails to connect with programmer the color of indicator will be red Otherwise it will be green Guangzhou ZHIYUAN Electronic CO LTD 4 Menu Functions File Open Load file into program Save as Save current file as Hex or Bin file Close File Close current file Exit Close CP76X software Edit Undo Ctrl Z Undo the modification of buffer Redo Ctrl Y Redo the modification of buffer Find Ctrl F To find a Hex data or ASCII string Find Next F3 Find next Hex data or ASCII string Edit Buffer Enable you to edit program code buffer Fill with Fill specific segment with a fixed value Clear Buffer Fill whole buffer with OxFF Locate Locate cursor to specific address Device Select Select which type of device you want to program Read F4 Read the content of device in adapter Program F5 Program the code in buffer into device in adapter Blank Check F6 Check if current device is blank Verify F7 Compare the content of current device vvith content of buffer including configuration Auto Program F8 Execute auto program operation oa Open Save as Close File Wt Enit Edt CP76x Programmer User Manual w Undo Ctr 3 Redo Ctr GA Find Ctrl F Find Mest F3 Es Edit Buffer Fill with Clear Butter L
17. user code and system configuration bytes will lost Q Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 3 Find Following steps will show you how to find a HEX byte or ASCII string in program buffer 1 Select Find option from Edit menu you will see below dialog Text to find Option aooo Figure 4 Find dialog 2 Select Hex data or ASCII If you want to find a string please select ASCII 3 Input the data you want to find and click Ok button Cursor will locate at address of the first matched data 4 Click Find Next from Edit menu or F3 key to find next data Note When you select Hex data option you can only input one byte of hex data Non hex character will be invalid 5 4 Fill with This menu item is used to fill a specific segment of program buffer with a fixed value 1 Select Fill with option from Edit menu you will see below dialog Fill with 000 From hex address 000 To hex address Figure 5 Fill With dialog 2 Input hex byte start address and end address 3 Click Ok button data will be filled in the selected address and is shown in red color 10 Guangzhou ZHIYUAN Electronic CO LTD CP76x Programmer User Manual 5 5 Locate This menu item is used to locate cursor to specific address in program buffer 1 Select Locate option from Edit menu you will see below dialog Locate x Loca
Download Pdf Manuals
Related Search
Related Contents
Distribute HDMI video out to four displays. US - Reichhardt Installation Guide - Bosch Security Systems Arat NS1376 holder Polycom Webcam EDOC2501b User's Manual Speedport W 100 Stick Leica Geosystems Manual Del Propietario IAI User Manual - Newtons4th Ltd Copyright © All rights reserved.
Failed to retrieve file