Home

1、Overview - Controller Brasil

image

Contents

1. Only the Following three cases allows you to initialize Emulator 1 Have changed the vendor of the emulated CPL 2 Have changed the clock cycle of the emulated CPU 3 Have installed new version driver Figure 3 6 Initialize emulator Dialog Item Description in Emulator Data in target Data Bas 10 PO e Bus VOD E Tianjin Weilei Technology Ltd www weilei com 7 G User s manual for JY2X00 the Emulation and Development System for MCU 4 JY2X00 Debugger 4 1 Setup JY2X00 Debugger To install JY2X00 please perform following steps 1 Put the installation CD into the CD ROM 2 After CD autorun enable and then double click the Setup JY2X00 Debugger to install JY2X00 Debugger support the keil C51 compiler the user should install the keil C51 compiler please purchase your own or download from correlative website 4 2 JY2X00 Debugger The JY2X00 IDE is the software independently developed by our company which include hardware debugging and software debugging It provides easy access to some of the Apple applications on your machine displays which applications are currently running and holds windows in their minimized state For your convenience you can add your own applications files and folders to the Dock too Dockable window is proven to be the most effective solution to the limited screen space problem and complex window layout Project Explorer and Project Status you can hide them or ch
2. C Finds Ctrl F qe Replace Ctrltkh Goto Line CtrltL Figure 4 4 Edit menu Cut Ctrl X Cut selected text to clipboard Copy Ctrl C Copy selected text to clipboard Paste Ctrl V Paste text from clipboard Select All Ctrl A Select all text in the current file Undo Ctrl Z Undoes the last action Redo Shift Ctrl Z Tianjin Weilei Technology Ltd www weilei com 7 G User s manual for JY2X00 the Emulation and Development System for MCU Redoes the last action Find Ctrl F Search text in the active file Replace Ctrl R Replace specific text 4 3 4 Compile Compile Debuz View Setti W til compile Ctrl F9 2 Complie All Ctrl F10 Compile Control Link Control Figure 4 5 Compile menu Compile M Ctrl F9 Compile modified files and build application Compile All Ctrl F10 Re Compile all source files and build application Compile Control Select conpiler control command Link Contrl Select Linker control command 4 3 5 Debug Debug View Setting Tools Window QU start stop Debug Session FS Eun Fd i EH Reset CtrltFe2 H Step Into FT p Step Over Fo HF Eun to Cursor F4 Rum to Assigned Address CtrltT Auto Trace Into Shi ttFT Auto Step Run Shi fttFs Set Poss CtrltJ Insert Remove Breakepoint F Clear All Breakpoint Load HEX File Load OMF File Tianjin Weilei Technology Ltd www weilei com 22 User s manual for JY2X00 the Emulati
3. G User s manual for JY2X00 the Emulation and Development System for MCU o 1 Overview Thank you for using JY2X00 Emulation and Development System INTRUDUCTION Adopted a new patent technology JY E2X00 Emulator solved the four main problems puzzling the field of MCU emulation First it solved the problem of emulating the enhanced resource which Bondoot couldn t do Then it solves the problem of in Hooks which is low emulate frequency and only supporting Philips chipsets And then it solved the problem of no emulating IAP function Last it solved the problem of having no special chips when we develop multipin and multifunction chips Consequently a new emulation period of full actual direct and high speed is coming Full full support up to 500 microcontrollers that have EA ALE PSEN pins Actual actually emulating all standard resource and enhanced resource and does not occupy resource Direct User s chip directly acts as target MCU High speed Speed up to 40MHz when accessing external RAM once possess of JY E2X00 emulator No need to buy costly adapter No need to use compatibility mode and directly support more than 500 kinds of devices No need to worry about the false result sometimes done by Bondout and Hooks 1 1 FEATURES User s chip directly acts as target chip Don t need design so many adapters different devices in same pin arrangement and same package share one adapter It gets rid of such weak points
4. _ kes oD crystal oscillator S S1 OSC selection A The jumper is put A on the position EMU di The jumper is put A on the position USR Figure 2 6 PLCC 44 device adapter Jumper Settings ee USR Selection of the crystal Selection of the crystal power from the Emulator power from target board Emulator Figure 2 7 PLCC 44 device adapter connect with emulator 3 In Circuit Emulation interface Circuit Tianjin Weilei Technology Ltd www weilei com 10 G User s manual for JY2X00 the Emulation and Development System for MCU NOW 42 101 O gt o O Q wn O h j Q Q D a O O Q Q EEETTERENIYI TT y Figure 2 9 JY USER40 Emulation Adapter Interface for in circuit emulation twenty position dual row header with 0 025 inch square pins is connected to the JY USER40 adapter The thick lines shown as Figure 2 8 are only connected to target MCU not connected to the other devices 4 How to use the DIP 20 conversion head insert the AT89C51 device into the socket in the DIP 40 adapter Tianjin Weilei Technology Ltd www weilei com i1 G User s manual for JY2X00 the Emulation and Development System for MCU insert the DIP 40 adapter into the socket in the conversion head Insert conversion head pin into the socket in the user s target board Select the AT89C51 device from Device
5. Database for your project 2 1 3 Cable of Emulator Host The RS 232 USB cable is for high speed communication between Emulator Host and PC Its length is 1 5 meters 2 1 4 Power Adapter This module supply 9V DC power for Emulator Host Output is DC 9V 100 mA Input is AC220V 10 2 2 Hardware Connection After choosing right CPU according to user s application the parts connection of Emulator can be made as follows 1 Connect Emulation target system Choose right adapter according to user s application 2 Insert target CPU into the socket in the adapter 3 Insert the adapter into the socket that in target board Please pay attention to the position of the first pin 4 Set jumper on the adapter use default settings if none specified Connect the adapter and Emulator Host with 40 pin cable 2 Connect communication cable Connect the Emulator Host and PC with USB cable 3 Install JY E2X00 USB driver 1 install JY2X00 Debugger or JY E2X00 Emulator for Keil driver 2 turn off the power and connect the power adapter 3 turn on the power new hardware found be shown then Windows 2000 XP Operating System will automatically finish installation Go to Device Manager gt Universal Serial Bus Controllers the user could find JY E2X00 USB Driver after installation It is shown in figure 2 10 Tianjin Weilei Technology Ltd www weilei com 12 G User s manual for JY2X00 the Emulation and Develop
6. Menu 4 3 1 File menu New N Ctrl N Open O Ctrl O Save S Ctri S Save as A Close C New Project T Open Project J Save Project Save Project as E Close Project L Print P Ctrl P Exit X Tianjin Weilei Technology Ltd ih A i Project Edit Compile Debug View Hews CtrltH Oper Ctrlto Save Save Ast Close Hew Projects Open Project cave Project cave Project Ase Close Current Project Ctrl te Print Exit 1 G 4 7Y_E2100 Inst InsTest jpr 2 COVIYWOSAIYeXOO Project Frojectl jpr 3G 47Y_E2 100 EMUEAE CheckEmub k jpr Figure 4 2 File menu Create a new source or text file Open an existing file Save the active file Save and rename the active file Close the active file Create a new project Open an existing project Save current project Save and rename current project Close current project Print the active file Quit JY2X00 IDE and prompt for saving files www weilel com 20 G User s manual for JY2X00 the Emulation and Development System for MCU 4 3 2 Project Proj ect Edit Compile Debu Pi er Manager Foo Add Module to Projecte foto Figure 4 3 Project menu Project manager window Make the project manager window active as is shown in figure 4 3 Add Module to Project Add a Group or File to the project Remove module from project Remove a Group or File from the project 4 3 3 Edit Compile Debug Vi Paste CtritY Select All Ctrlta ki ndo Erie ae
7. S PisOutData ee Enluator j S ae eE a wo Source File a Lib File H E Included File Project Hide Other Info Compile Link Conversion Compile and Link Info Breakpoint List Bookmark List Find in Files Variable Watch ERI PC 080CH DPTR 0000H A 3DH B 00H Insert No change Running h Figure 4 20 insert breakpoint 4 4 5 Software Simulation JY2X00 Debugger includes hardware debugging and software debugging Select Software Simulation in emulation mode As shown in following figure While we are in the software simulation mode the code after compiling won t be loaded into the emulator The steps of debugging are the same as that debugging the hardware simulation Tianjin Weilei Technology Ltd www weilei com 32 User s manual for JY2X00 the Emulation and Development System for MCU Setting ATS9C51ID2 ATS9C51RB2 ATS9C51RC ATSSC51RC2 ATSSC51RD2 AT89C52 AT69C55 ATS9CSSWD ATS9L58252 ATS9LV51 AT89LV52 ATS9LV55 AT8954D12 AT69551 Figure 4 21 configure software simulation Tianjin Weilei Technology Ltd www wellei com 33
8. double Bank 51MX CPU CORE Tianjin Weilei Technology Ltd www weilei com 5 G User s manual for JY2X00 the Emulation and Development System for MCU Code Memory Data B IAP TAPSpae breakpoints frequency power supplies Supported Resources USB Port Adapter debugging environment Select Fittings Internal 128K Internal 64K Internal 64K External 8MB External 64K External 64K Internal 64K Internal 64K Internal 64K O eE eE cara 24M 4T 24M 4T 24M 4T 2 7V 5 5V 2 7V 5 5V 2 7V 5 5V Standard and Standard and Standard and Enhanced Enhanced Enhanced DIP 40 PLCC 44 DIP 40 PLCC 44 DIP 40 PLCC 44 DIP 20 USER 40 DIP 20 USER 40 DIP 20 USER 40 Keil or JY2X00 Keil or JY2X00 Keil or JY2X00 Trace Logic Analyzer direct 1 5 Supported Devices Dalas DS5000 DS5240 DS80C310 DS80C313 DS80C320 DS80C323 DS80C390 ADuC812 ADuC814 ADuC816 ADuC824 ADuC831 ADuC832 ADuC834 ADuC836 ADuC841 ADuC842 ADuC843 ADuC844 AT48801 AT80F51 AT80F52 AT8OLV51 AT80LVS52AT87F51 AT87F51 RC AT87F52 AT87F55 AT87LV52 AT87LV55 AT89C1051 AT89C1051X2 AT89C2051 AT89C2051X2 AT89C4051 AT89C51 AT89C5131 AT89C51AC2 AT89CS51ED2 AT89CS51ID2 AT89CS5IRB2 AT89CS51IRC AT89C51RC2 AT89CS5IRD2 AT89C52 AT89C55 AT89C55WD AT89C8253 AT89F51 AT89F52 AT89LS51 AT89LS52 AT89LS53 AT89LS8252 AT89LV52 AT89LV55 AT89S4D02 AT89S51 AT89S52 AT89S53 AT89S54 AT89S8252 AT89S8254 T80C31
9. 83 87C654X2 P83 87C660X2 P83 87C661X2 P83 P87C560 P83 P87C557E8 P83 P89C557E4 P83 P89CE558 P83C557E6 P83C562 P83C591 P83C592 P83CE598 P83CL410 P83CL580 P83CL882 P87C51RA2 P87C51RB2 P87C51RC2 P87C51RD2 P87C591 P87CL52x2 P87CL54x2 P87CL888 P89CS5IRA2XX P89CS51IRB2HXX P89C51RB2XX P89CS51IRC2HXX P89C51RC2XX P89C51 RD2HXX P89C51 RD2XX P89C5 Tianjin Tianjin Weilei Technology Ltd www weilei con 4 Technology Ltd www weilei com Semiconductor G Users manual for J 2X00 the Emulation and Development System for MCU User s manual for JY2X00 the Emulation and Development System for MCU 1X2 P89C52X2 P89C54X2 P89C58X2 P89C60X2 P89C61X2 P89C660 P89C662 P89C664 P89C668 P89C669 P89C738 P89C739 P89LVS5IRD2 P89V51RD2 PCD50913 PCD50917 PCD50923 PCD50927 PCD50933 PCD50937 PCD50953 PCD50957 PCD6001 PCD6002 PCD6003 SAAS645HL SAAS647HL SAAS665HL SAA5667HL TDA8006 TDA8008 TDA8028 TDA8029 SST89C54 SST89C58 SST89C59 SST89E554 SST89E554A SST89ES554RC SST89ESS4RD SST89E564 SST89ES564RC SST89ES64RD SST89F54 SST89F58 SST89V554 SST89V554 SST89V554RC SST89V554RD SST89V564 SST89V564RC SST89V564RD SST89ES16RD2 SST89V516RD2 SST89ES52RD2 SST89V52RD2 SST89ES54RD2 SST89V54RD2 SST89ES8RD2 SST89V58RD2 SST89ESIRC SST89V5IRC SST89ES52RC SST89V52RC SST89E54RC SST89V54RC SST89ESILC SST89VS1LC SST89ES2LC SST89V52LC SST89ES54LC SST89V54LC STC89CSIRC STC89C52RC
10. AB80C517A 4RM SAB80C517A L24M SAB80C517A M SAB80C517A N SAB83C517A 5N18 SAFCS501G SAFCS517A LN SAF80C515C XX Intel 80 83 87C51SL 80 87C52 80 87C54 80 87C58 80 87L52 80 87L54 80 87L58 8031AH 8032AH 8051AH 8052AH 80C152JA 80C152JB 80C152JC 80C152JD 80C31 80C31BH 80C32 80C51 80C51BH 80CSIFA 80C51GB 80CS51SL 8OLSIFA 83 87CS51 FA 83 87C51FB 83 87CS51FC 83 87C51GB 83 87CS1RA 83 87CS51 RB 83 87C51RC 83 87LS1FA 83 87L51FB 83 87L51FC 83C152JA 83C152JC 87C51 SXCISISA 8XCIS5ISB IS80C31 IS80C32 IS80C5S1 IS80C52 IS80LV31 IS80LV32 IS80LV51 IS80LV52 IS89C5S1 IS89C52 80 87C51 80 87C52 80C31 80C31X2 80C32 80C32X2 80C451 80C451 8O0CSIFA 80CS51RA 80C528 80C550 80C552 80C554 80C575 80C652 80 87C51 80 87C52 83 87C451 83 87C524 83 87C528 83 87C550 83 87C552 83 87C554 83 87C575 83 87C652 83 87C654 83C51F8 83C51FA 83CS51FC 83C51RAt 83C51RB 83C51RC 83C51RD 87CS5IFA 87CS5IFB 87C51FC 87C51RA 87C5IRB 87C5IRC 87C5IRD 8951RA2XX 89C51 89CSIRA 89CS5IRB 89C5IRB2XX 89CS5IRC 89CS5IRD 89C52 89C54 89C58 8XC5IFA 8xL51FA 8XC51FB 8xL51FB 8XCSIFC 8xLS51FC 8XC51IMA2 8XCS51MB2 8XC51MB2 02 8XC51MC2 8XC51MC2 02 8XCS5IRA 8XCS5IRB 8XC5IRC 8XC5IRD 8XC52 8XC54 8XC58 P80 P87C51X2 P80 P87C52X2 P80 P87C54X2 P80 P87C58X2 P80C557E4 P80C557E6 P80C557E8 P80C562 P80C591 P80C592 P80CE558 P80CE560 P80CE598 P80CL31 P80CL410 P80CLS51 P80CL580 P
11. OOO 3 es 82 a RPI ae 2 9 2 9 wrer 4 I o oi 9 ocon 9 hi y 2 2 9 oooo H v em LO ers Se we La Ki ooo DIP 40 device adapter PLCC 44 device adapter Figure2 3 device adapter 1 DIP 40 device adapter DIP 40 adapter configuration is shown in figure 2 4 the connection with emulator is shown in figure 2 5 Tianjin Weilei Technology Ltd www weilei com g GY User s manual for JY2X00 the Emulation and Development System for MCU 2 Power selection Hi The jum per is put g onthe position EMU g The jumper is put A on the position USR 8490S NdI crystal oscillator 99ejJa Ul ajea Uld p 1 OSC selection A The jumper is put A on the position EMU ii The jumper is put on the position USR Figure 2 4 DIP 40 device adapter 20 pin header 2 PLCC 44 device adapter PLCC 44 adapter configuration is shown in figure 2 6 the connection with emulator is shown in figure 2 7 i la a LERRRRRESSERRR ERE OD Figure 2 5 DIP 40 device adapter connect with emulator Tianjin Weilei Technology Ltd www weilei com 9 GY User s manual for JY2X00 the Emulation and Development System for MCU 2 Power selection The jumper is put g onthe position EMU hi The jum per is put A onthe position USR CPU socket p po _ Q oD gt
12. Programret Initialization File Initializatiq ST yPSO ULINE Driver oO a Edit Infineon a Ceud OLINE Driver ae ADI Monitor Driver Infineon DAS Client for C300 JY EZ800 Emulator Driver Breakpoints Toolbox M Watchpoints Memory Display Use Simulator Settings WM Limit Speed to Real Time Restore Debug Session Settings IY Breakpoints W Toolbox IY Watchpoints amp PA IY Memory Display CPU OLL Parameter Driver DLL Parameter 88051 DLL 88051 DLL Dialog DLL Parameter Dialog DLL Parameter D500 DLL e50 T500 LL p501 Figure 3 3 Drivers of target device in the drop down list Tianjin Weilei Technology Ltd www weilei com 15 User s manual for JY2X00 the Emulation and Development System for MCU Options for Target Standard nS Device Target Output Listing User c51 A51 BL51 Locate BL51 Misc Debug Utiities C Use Simulator W Limit Speed to Real Time Settings Use J E 2800 Emulator Driver Settings W Load Application at Startup M Aun to maini M Load Application at Startup Initialization File Initialization File Restore Debug Session Settings IY Breakpoints IY Toolbox IY Weatchpoints amp PA IY Memory Display Restore Debug Session Settings Breakpoints T Toolbox M Watchpoints T Memory Display CPU OLL Driver OLL 88051 DLL 88051 DLL Parameter Parameter Dialog DILL Parameter D
13. STC89CS53RC STC89C54RD STC89C58RD STC89CS516RD STC89LESIRC STC89LES2RC STC89LES53RC STC89LES4RD STC89LES58RD STC89C516RD STC89LES8AD STC89LESI6AD STC89LE516X2 STC89CS58RD STC89CS516RD STC89LV516RD SyncMos SM8951A SM8952A SM8954A SM8958A SM89516A SM5964 SM59264 SM79164 SSU7301 SM79108 SM5964A SM89S16R1 Dann SM89T16R1 TI MSC1200Y2 MSC1200Y3 MSC1210Y2 MSC1210Y3 MSC1210Y4 MSC1210Y5 MSC1211Y2 MSC1211Y3 MSC1211Y4 MSC1211Y5 MSC1212Y2 MSC1212Y3 MSC1212Y4 MSC1212Y5 Winbond W77C32 W77C512 W77C516 W77C58 W77E468 W77E516 W77E532 W77E58 W771C32 W77IE58 W77L32 W77LE516 W77LE532 W77LES8 W77X32 W78C32B W78C32C W78C33B W78C354 W78C438C W78C516 W78C51D W78C52D W78C54 W78C58 W78C801 W78E 78C378 W78E354 W78E365 W78E374B W78E516 W78E516B W78E51B W78E52 W78E52B W78E532 W78E54 W78E54B W78E58 W78E58B W78E858 W78ERD2 W78IE52 W78IE54 W78IRD2 W78L32 W78L33 W78L51 W78L52 W78L54 W78L801 W78LE365 W78LE51 W78LE516 W78LE52 W78LE54 W78LE58 W78LE812 W78x374 W79E532 Notes Not list all supported devices 1 6 Register Before using the JY2X00 Emulation and Development System the user should log on our website for register In this way we just efficiently provide satisfied service for you and get you timely informed about the latest trend in product Tianjin Weilei Technology Ltd www weilei com 5 G User s manual for JY2X00 the Emulation and Development S
14. T80C31X2 T80C51 T80CS5IFPI T80CS5IRA2 T80C51RD2 T80C51U2 T80C52X2 T80C54X2 T80C58X2 T83 87C51RB2 T83 87CS51RC2 T83 87CS51RD2 T83 87C51RB2 T83 87C51RC2 T83 87C51RD2 T83 87C51U2 T83 87C52X2 T83C5101 T83C5102 T83C5112 T87C251G1A T87C51 T87C5112 T89C5121 T89CS51AC2 T89C51CCO01 T89C51CC02 T89CS51IB2 T89CS1IC2 T89CS5IRB2 T89CS51RC2 T89CS5IRD2 T8xC251G1D T8xC251G2D T8xCS5ISND1 TS80C31X2 TS80C32X2 TS80C51RA2 TS80C51U2 TS80C52X2 TS80C54X2 TS80C58X2 TS83C51RB2 TS83C51RC2 TS83C51RD2 TS83C51U2 TS87CS51RB2 TS87C51RC2 TS87C51RD2 TS87C51U2 TS87C52X2 TS87C54X2 TS87C58X2 TSC80C31 TSC80C51 Tianjin Weilei Technology Ltd www weilei com User s manual for JY2X00 the Emulation and Development System for MCU DS80C400 DS82CH11 DS83C520 DS83C530 DS87C520 DS87C530 DS87C550 DS89C420 Hynix GMS90C320 GMS90C51 GMS90C52 GMS90C54 GMS90CS56 GMS90C58 GMS90L32 GMS90L320 GMS90L5 1 GMS90L52 GMS90L54 GMS90L56 GMS90L58 GMS97C1051 GMS97C2051 GMS97C51 GMS97C52 GMS97C54 GMS97C56 GMS97C58 GMS97L1051 GMS97L2051 GMS97L51 GMS97L52 GMS97L54 GMS97L56 GMS97L58 HMS9XC7132 GMS90X5X GMS99C58 Infineon C505 2R CS505A 4E C505C 2R C505C L C505 L C508 C509 L C511 R C513A 2R C513A R C513 R C515 1R C515 4R C515A L C515B 2R C515C 8R 8E C515C L C515 L C540U E C541U 2E C868 SAB80C515 SABCS501G SABC517A LN SAB80C504 EM SAB80C504 LM SAB80C504 RM SAB80C515C XX S
15. ange their position very easily The JY2X00 IDE combines project management make facilities source code editing program debugging and complete simulation in one powerful environment as shown in figure 4 1 JY2X00 helps you get programs working faster than ever while providing an easy to use development platform The editor and debugger are integrated into a single application and provide a seamless embedded project development environment The common shortcut keys are shown in table 4 1 Tianjin Weilei Technology Ltd www weilei com 1g GY User s manual for JY2X00 the Emulation and Development System for MCU 0815H 70F5 JNZ mDelay uint Delay LOS00 R6 LO7F9 mine is Delay gt O Delay R3 OxOFE 1 R3 Current ProjectTestlUv2 jpt H Emluator H Source File main i T Lib Fil uchar OutData 0 ib File KETAN 2 Included File Pi OutData OutData crol OutData 1 mDe lay 1000 Show Other Info C51 COMPILER v8 08 SN Eval Version COPYRIGHT KEIL ELEKTRONIK GmbH 1987 2007 E JY_E2x00 Testl c Link Compile and Link Info Breakpoint List Bookmark List Find in Files Variable Watch 24 30 PC A48BH DPTR 0000 A 71H B 00H Insert No change Ready h Figure 4 1 JY2X00 main window Table 4 1 shortcut keys em oo aumptoBookmare Tianjin Weilei Technology Ltd www wellei com 19 G User s manual for JY2X00 the Emulation and Development System for MCU 4 3
16. as having to change the definition and being unable to totally cover the resources by Hooks and Boudout Up to 500 chips in various packages from over 20 manufacturers are supported Doesn t occupy any resources Support 12T 6T 4T devices Speed up to 40MHz when accessing to external RAM without pull up resistor PSEN pin acts as P4 6 Tianjin Weilei Technology Ltd www weilei com G User s manual for JY2X00 the Emulation and Development System for MCU Support MX2 Support double bank Support Surface Mount Devices with in circle adapter Support IAP and flash being used for data flash Set and clear ALE randomly Debug in Keil as well as in JY2x00 debugger environment 1 2 Packing List JY2X00 Emulator Development System user guide one JY E2X00 emulator Host 2 SY E2x00emulatorHost o 6 10 1 12 Quality Certificate Elective Fittings Adapter for various other packages Logic Analyzer 1 3 Running environment requirement Operation System Windows 2000 Windows XP Memory Higher than 64MB Display Support resolution higher than 800x600 Interface One USB or COM 1 4 Feature Comparison EMU Model JY E2300B JY E2200B JY E2100B support up to 500 chips support up to 500 chips only support chips that that from over 20 that from over 20 from Atmel Dallas Support Devices manufacturers manufacturers support Philips SST STC support 51M X core 51MX CPU CORE Winbond support and
17. he baudrate Generate data source Tianjin Weilei Technology Ltd www weilei com 26 G User s manual for JY2X00 the Emulation and Development System for MCU 4 3 9 Window Window Help E ecascade Tile Horizontally Ti Vertical Minimize ALL Rearrange Figure 4 11 Window menu Cascade Arrange the Windows so they overlap Tile Horizontally Arrange the Windows so they no overlap Tile Vertically Arrange the Windows so they no overlap Minimize All Minimize to hide all active windows Arrange Icons Arrange Icons at the bottom of the window 4 3 10 Help Help d ilp topic FI Online Update About Figure 4 12 Help menu Open JY2X00 context help file Check http www jywdz com cn for available updates 4 4 Creating Applications 4 4 1 Create Project File and Select CPU To create a new project file select from the JY2X00 Debugger menu File New Project This opens a standard Windows dialog that asks you for the new project file name You should use a separate folder for each project You can simply use the icon Create New Folder in this dialog box to get a new empty folder Tianjin Weilei Technology Ltd www weilei com 27 G User s manual for JY2X00 the Emulation and Development System for MCU Create New Project e 2 x Save in Project de t i EE File name Save as Ippe Project file jpr Cancel we Figure 4 13 Create new projec
18. ialog OLL Farameter D500 DLL p50 frsoo DLL p50 Cancel Defaults Figure 3 4 Option for Target standard 3 2 Hardware simulation parameters setting Click Settings open the JY E2X00 Emulator Drivers dialog box as shown in figure 3 5 7 E2 00 Emulator Driver 4 0 1 E x Initialize Emulator Select Vendor Atmel f 12 Clocks Connect Settings ve 21006 7 EDM Fort com Oscillator Test Test ne Model C E Clocks i 4 Clocks ssl Start Tianjin Weilei External Reset C Enable i Disable Program Memory Settings In Emulator C n Target Fort 0 Mode tf BUS 10 C po Data Meron Settings In Emulator f n Target Port 2 Mode tf BUS 10 C 70 Cancel Figure 3 5 set simulation parameters Technology Ltd www weilel com G User s manual for JY2X00 the Emulation and Development System for MCU Communication mode Select emulator model you want If select JY E2100A com JY E2200 com JY E2300 com you also should select com that you use Initialize emulator You should initialize emulator at any condition as below The manufacturers of target chip have been modified The clock cycle of target chip has been modified Have updated the driver Click Start button displays a message box as shown in figure 3 6 Then click Yes to start initializing
19. ion 2 2 A ATSOICS2 In Target fe FF o0 ge ATESCSS Hardware Simulat 0 Software Simulat FO Fort Mode f Bus I O io Figure 4 9 Emulator setting Set emulator options The dialog Settings Emulator configures the JY E2X00 emulator The following table describes the options of the Emulator dialog page Need toconnect JY E2X00 emulator oftwa re Simulator ROM in target chip acts as program memory Tianjin Weilei Technology Ltd www weilei com 25 G User s manual for JY2X00 the Emulation and Development System for MCU RAM in emulator acts as data memory In target Data RAM in target chip acts as data memory Bus I O PO PO acts as bus and input output port VO PO PO acts as only input output port Bus I O P2 P2 acts as bus and input output port ro P2 P2 acts as only input output port Power 5V Provide 5v power to target chip Power 3 3V Provide 3 3v power to target chip Disable External reset disable enable External reset enable Reset value of ROM is FF Reset value of ROM is 00 Set compiler options 4 3 8 Tools Tools Window Help Calculator ASM Instruction Summarry Initial Yalue of Timer Faudrate Calculation Genrate Data source code Figure 4 10 Tools menu Calculator Call the Windows Calculator ASM Instruction Summary MCS 51 instruction set summary Initial Value of Timer Calculate the initial value of timer Baudrate Calculation Calculate t
20. ment System for MCU c al Computer SS Disk drives m Display adapters E A DYDICD ROM drives H IDE ATA ATAPT controllers Keyboards ety Mice and other pointing devices c Monitors Ese Network adapters of Ports COM amp LPT efi Sound video and game controllers E m System devices z Universal Serial Bus controllers Intel R 8260166 USE Universal Host Controller Intel R 8280166 USB Universal Host Controller Intek 6280166 USE Universal Host Controller I USE Rook Hub USE Rook Hub USE Rook Hub Figure 2 10 Device Manager 4 power on test Connect system according to Figure 2 1 turn on the power then you could see 1 the power lamp immediately lights up 2 Then the BUSY Lamp lights up for about 1 minute 3 After BUSY lamp winking out the RUN lamp shine Otherwise please turn off the power immediately and check the following 1 Whether the direction of emulation adapter is correct 2 Whether there is a crystal oscillator in the emulation adapter 3 Whether clock cycle of the target CPU or manufacturer is changed if yes please initialize emulator 4 if the clock cycle 6T 4T microchip please select the short 40 wires cable Some chips couldn t execute to the start of user application code at address 0000h even EA 0 Please erase their security bit 6 Some chips need to configure Boot Status Byte BSB Its default value is OxFF You should change the value to 0x00 wi
21. ns an empty editor window where you can enter your source code JY2X00 Debugger enables the keyword color syntax highlighting when you save your file with the dialog File Save As under a filename with the extension C or ASM save As Figure 4 17 save source file dialoged file Once you have created your source file you can add this file to your project JY2X00 Debugger offers several ways to add source files to a project For example Tianjin Weilei Technology Ltd www weilei com 30 G User s manual for JY2X00 the Emulation and Development System for MCU you can select the file group in the Project Source Files page and click with the right mouse key to open a local menu shown in Figure 4 18 The option Add Files opens the standard files dialog Select the file Test1 C you have just created You can also add the module like the Figure 4 19 shown Fositionl JYWOUSIT PXOO Examples Prj Test Emluator I Remove from Project Open Module Files Add Lib Files Delete Lib Files Add Inc Files Proeck Delete Inc Files cource File Setup 16 26 Emluator Set B DCH Inse Figure 4 18 Add module to project Edit Compile Debu F Froject Manager Ta Add Module to Project iss Remove from Project Figure 4 19 Add module to project by menu command 4 4 3 Compile Project You may translate all source files and link the application with a click on the Compile Ta
22. on and Development System for MCU Figure 4 6 Debug menu Start Stop Debug Session F5 Start or stop Debug Mode Go Run execute until the next active breakpoint Stop Running Reset Set CPU to reset state Step Execute a single step into a function Step Over Execute a single step over a function Runt to Cursor Line Execute until the current cursor line 1s reached Run to Assigned Address Execute until the assigned address is reached Anto Trace run Autorun trace step by step Auto Step Run Auto Execute a single step over a function Set PC Enable Disable Breakpoint Enable disable breakpoint on current line Remove All Breakpoint Remove all breakpoints in the program Load hex file Load the hex file into a simulator or into the target hardware Load omf file Load the omf file into Tianjin Weilei Technology Ltd www weilei com 23 GY User s manual for JY2X00 the Emulation and Development System for MCU 4 3 6 View View Setting Tools Window Help ear Watch Windows Auto Prompt of the Compile and Link Info Internal Data Window SFR Window fFeneral Register Window Bit Data Window J CEE External Data Window d EEFROM CPU DASH Window Functions D ap Yarible Window Figure 4 7 View menu Watch Window Show or hide the Watch Window Display the compiling and linking information When you build an application with syntax errors JY2X00 will display errors and warning messages in the Show o
23. rget MCU USB Cable OD LN Le LD Sed vuws PV een ia a LL LN LD LLL CS AE A 5 BS engage ATTIC Mec CUCL ULL ooo Emulator Adanter Emulator Host Power Switch Power Adapter Figure 2 1 2 1 1 Emulator Host There are three LED at the bottom right of upper cover They are respectively Power red LED RUN green LED and BUSY yellow LED On the margin left there is the 40 pin emulation interface On the margin right there are the LOGIC interface USB interface Power Switch and Power Jack the 40 pin interface e tiu en ue he Ai 00673 1 gt WH Rmn aa N Power Z Power Ja k PowerSwitch USB interface ogic Analyzer Interface Figure 2 2 JY E2X00 Emulator Out Tianjin Weilei Technology Ltd www weilei com G User s manual for JY2X00 the Emulation and Development System for MCU 2 1 2 Emulator Adapter and Cable This 40 wires flat cable which connects Emulator Probe Assembly and Emulator Host ensures reliable communication up to 40MHz system clock We provide five types of Emulator Adapter for customer DIP 40 adapter PLCC 44 adapter PLCC 68 adapter JY USER40 adapter DIP 20 conversion head Different devices in same pin arrangement and same package share one adapter We also provide a in circuit emulation adapter but the user should design a interface for emulator on your target board P oe ie ee kee 4 lt lt K os 8 ooo ra be O
24. rget toolbar icon When you compile an application with syntax errors JY2X00 will display errors and warning messages in the Show other Info Window A double click on a message line opens the source file on the correct location in a JY2X00 editor window 4 4 4 Debug Application Program Once you have successfully generated your application you can start debugging JY2X00 lets execute your application program in several different ways With the Debug Menu and Debug Commands With the Run till Cursor line command in the local context menu Tianjin Weilei Technology Ltd www weilei com 31 GY User s manual for JY2X00 the Emulation and Development System for MCU Use the step over command Use the Run command Use the breakpoint Local the cursor line on the left Gutter click left mouse or F6 to insert breakpoint shown in Figure 4 20 After you have tested your application it is required to create an Intel HEX file to download the software into an EPROM programmer or simulator You can download the hex file to the chip directly by using a programmer a 8 32x00 Debugger Test1Uv2 Software Simulation o E loj x Eile Project Edit Compile Debug View Setting Tools Window Help aa nas S E J _E2X00 Testi c mDelay uint Delay uInenTs R7 i Delay gt 0 Delay 2 JG1SH U L0S00 R6 a a Ges Losoo i O i lt maini uchar OutData 0xfe lee H Current ProjectTestlUv2 jpr
25. t Enter the file name for the new project i e Projectl jpr Click Save presented a dialog box Emulator Settings as shown in Figure 4 9 perform the following steps Set Emulator When you create a new project JY2X00 asks you to select a CPU for your project On the right of Emulator dialog box shows the JY2X00 device database Just select the microcontroller you use For the example in this chapter we are using the Atmel AT89C52 controller Set Compiler The dialog Settings Compiler configures the compiler Tianjin Weilei Technology Ltd www weilei com 28 GY User s manual for JY2X00 the Emulation and Development System for MCU Setting eames Bog pARALeAC SE Small Variables in DATs Figure 4 14 Configure path Setting Small Variables in DATA v E use Extended Assembler 2x651 instead of AST Large 64k Program O m El JSE GEndedmironp iEn SEa Figure 4 15 Configure debug options Initialize emulator Click Initialization and displays the initialization Parameters dialog box Tianjin Weilei Technology Ltd www weilei com 29 G User s manual for JY2X00 the Emulation and Development System for MCU Setting JY E21004 7 STC Special Driver Support IAF operation 7 POM bort yo UML E a 4 000124 MHz Figure 4 16 Emulator initialization 4 4 2 Create New Source Files You may create a new source file with the menu option File New This ope
26. th programmer before emulating NOTES The above conditions could lead to lighten the three LEDs You should check according to the above show If adapter derives get power from the emulator please turn on the emulator power first then turn on the target system power If adapter derives get power from target board please turn on the target system power first then turn on the emulator power Tianjin Weilei Technology Ltd www weilei com 13 a G User s manual for JY2X00 the Emulation and Development System for MCU NOTES Make sure the power is off before connecting the emulator system Do not operate Emulator in bad environment such as high temperature quaky moist and so on emake sure the input voltage is less than 5 5V eIt is very necessary to check the hardware connection before turning the power on Don t dismantle the JY E2X00 emulator without permission 3 JY E2X00 for Keil 3 1 install the JY E2X00 for Keil driver Debugging JY E2X00 emulator in Keil uVision x you should install the JY E2X00 for Keil driver Please perform the following steps 1 Put the installation CD into the CD ROM and CD autorun enable The interface included installation information is shown in figure 3 1 Figure 3 1 2 Then double click the Setup JY E2X00 for Keil Driver to install Just select the driver you want what is shown in figure 3 2 Tianjin Weilei Technology Ltd www weile1com a User s manual for JY2X00 the Em
27. ther info Compile and link info A double click on a message line opens the source file on the correct location in a editor window Internal Data Window Show or hide the Internal Data Window SFR Window Show or hide the SFR Window General register Window Show or hide the General register Window Bit Data Window Show or hide the Bit Data Window External Data Window Show or hide the External Data Window Disassembly Show or hide the Disassembly window Functions Show the user function Variable Window Show the user variable including name type and value Tianjin Weilei Technology Ltd www weilei com 74 G User s manual for JY2X00 the Emulation and Development System for MCU 4 3 7 Settings Setting Tools Window Help Sy Emluator Set Compiler Option Logic Analyzer Option Edit Environment Option cet Auto Step Speed Language d Code Coverage Figure 4 8 Setting menu A Setting Emluator Compiler Chip Function Description Emluator Initialization Output Emulation Mode Set CPU operation voltage Current Chip ATEOCS2 f S f 3 5 Me ATSSICIO51 ATOOICIOS1 Ke ATSICZO51 ie ATOUCZUS1K2 i ATBICAOSI Set Program Memory g ATSOCSI P Port Mode fie ATBICS131 f In Emluator ie ATSOCSLEDE f Bus L 0 Bus I ie ATSOCSLICZ li ATBOCS1IDE External Reset Se ATOICSI RES Disable O Enable ae a Aga Set Data Memory nl ATBOCS1 RCP oi ATBOCS1RDZ ROM Initializat
28. ulation and Development System for MCU 5 x Select Drivers T All Acer Labs Specific Driver Advance Group Specific Driver Aerofles UTME Specific Driver Analog Devices Specific Driver Atmel Specie Ornver Support LAF operation CI Cypress Specific Driver Dallas Specific Driver CI Domosys Specific Driver Copyright declaring CI Hynix Specific Driver Please use the original Infineon Specific Driver Keil software you can buy it ties Ta E epee ee pecific Driver a mn 7 is Ly ram 7 ne Philips Specific Oriver Support AP operation angence in China lf you Fy Piss eeb ia ae pecific Driver want to trying you d like to SST Specific Driver Support LAP operation download the evaluating STC Specific Orverl Support IAF operation YE rsio a fro m the Keil CI Cimekhi E Crecitie Crier E unnar AE nnarahnn website www keil con Wake sure have installed the keil debugger softeare before setup this one Figure 3 2 JY E2X00 for keil setup as Set Debug Options The dialog Options for Target Debug shown in figure 3 3 configures the uVision3 debugger Options for Target Standard FE x Device Target Output Listing User c51 A51 BL51 Locate BL51 Misc Debug Utiities C Use Keil Monitor 51 Driver Settings Keil Monitor Driver Kel S051 In System Debugger Eo MON330 Dallas Contiguous Mode W Load Application at Startup M Run to maini LPCS00 EPM Emulator
29. ystem for MCU Tianjin Weilei Technology Ltd Tel 86 22 87891218 Fax 86 22 87891221 Website www weilei com E mail support weilei com cn 1 7 Service When using the JY2X00 Emulation and Development System please give us your advice request and technical questions Our website also provides BBS forum for you We provide answers and take your feedback And the registered members also can response and share your experience 1 8 Repair To ensure the highest quality to our customers Juyang has a very reliable and stable system In addition all our products undergo a strict test before leaving the factory to ensure product stability and reliability In case the product is damaged in use please mail it to the maintenance department of our company we ll provide fast service for you We make the commitment Guarantee in one year life long maintenance only take in cost fee Notes CPLD and FPGA are not warrantable but offers maintaining service only take in cost fee 2 Hardware 2 1 Hardware Structures JY E2X00 EMULATOR consists of five parts They are Emulator Adapter Emulator Host Cable for connection between Emulator adapter and Emulator Host USB Cable for connection between Emulator Host and PC a Power Adapter Each part is Shown as follows Tianjin Weilei Technology Ltd www weilei com 6 User s manual for JY2X00 the Emulation and Development System for MCU Emulation Cable Logic Analyzer Interface Ta

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書 - シチズン・システムズ    User Guide  

Copyright © All rights reserved.
Failed to retrieve file