Home
USER'S MANUAL WICE-8052
Contents
1. Help flt X Exit filt F ose Microsoft Word wicedos doc 38 LEAP ELECTRONIC WCE 8052 USER S MANUAL 2 Record macro In the following dialog box key in the file name for recording marco 1 ADDR DATA INSTRUCTION BARA 7907 EAT iles BURN MAC 06 6006 mL LN ODNBUEMAEC 8 o oo 0057 DRS A c5 ooo AMARE Mar 10 1998 69 390 i M FR eos AAA 8 8 Fi Help lt R Exit lt F3 Close 3 Play macro In the following dialog box select the macro file which you want to play ADDR DATA INSTRUCTION poda 7907 iles BURN MAG EEE Fi Help lt K Exit lt F3 Close 39 LEAP ELECTRONIC WCE 8052 USER S MANUAL 6 Windows 11 ADDR DATA INSTRUCTION PABA 7907 MOU Ri 07 Zoom Cascade Register Alt F8 Internal memory Alt F Trace buffer Alt F9 66 6606 79 87 74 FE F5 88 F5 AG 11 BE 66 0616 FF C FF DC FE DB FA 22 OO BA aa AA aa BB HA BA i gil 00 0020 66 HA HA BB BA BA BA BA BA BA HA BA BB BB HA BA 66 0036 66 60 H BA BB GA BB BB BA BA BA GB BB BB BA BB 00 0040 66 60 H 66 66 BB BB BB B BB BB GB OB BB BA GO 66 0056 66 60 HA BB GB BB BB BB GB BB GB OB OB BB GB OD Fi Help lt R Exit Alt F3 Close 13 35 48 1 Size Move There are two ways keyboard and mouse to change the size of windows and move the windows Keyboard To shift the position of the windows you can
2. 11 ADDR DATA INSTRUCTION aapa 7907 Directory ane r p ntl y por 06 6666 THIT NN LEN E 08 0020 BOs 00 0030 OO ON L O 00 00 60 66 BN HN BB BA BN BB B ba bb S 06 0056 00 aa 66 66 HA BB BA BA HA BA BA BA BB BA BA BA Fi Help lt R Exit Alt F3 Close 6 DOS shell Shift to DOS command line temporarily 7 Exit Quit the WICE 8052 program 29 LEAP ELECTRONIC WCE 8052 USER S MANUAL Run Debug Options Windows Replace Search again List program Cut Shift Del Copy Ctrl Ins Paste Shift Ins Show clipboard Clear Ctrl Del S 08 0000 79 87 74 FE F5 88 FS AB 11 GF 23 D9 F Gi 00 7B y tiJci 66 0016 FF C FF DC FE DB FA 22 88 66 AA BA BB AA AA HA i d 06 0026 G AA HA aa BA BA BA BA BA BA BA BA BA AR BA BA 00 0038 G 06 66 aa aa BA BB BB HA BA BA BA BB AB BA BA 00 0048 66 aa aa aa aa aa aa H H 66 66 OB OB aa BB GO 66 0856 66 46 66 G aa BA BA aa BA BA AB BA OB HA BB GO Fi Help filt 3 Exit Alt F3 Close 1 If you load a text file click Find and you can search the text which you want to edit File Edit Run Debug Options Windows AUTO J DEMO IDE He lpDir D BC45 BINN DefaultDeskt HelpIndexDir ToolDir Be Inc lude b i irection BcLib bc 453 Startup State 2 Left 8 Right Width 480 Height 318 addonBBB bcudpmi d11 1 1 4 Fi Help filt X Exit lt F3 Gl 2 If you click List progr
3. A N N 3 S 00 0000 79 6 74 FE FS 88 FS AB ii GF 23 D F i GB B y PE 66 6016 76 FF DC FE DB FA 22 880 66 G GA BB BB BB BB i mi 66 6826 aa ag aa ag GO ag Ba HA OB GB OB GB BB GB 08 0030 aa 46 aa BA aa ag HA ag GA GB OB GB B OB 66 0040 aa aa aa aa AA aa HA aa aa BA GB BB BB BA 66 0056 HA 46 46 BA AR aa AA AA AA BA AA BA AA AA BB BB Fi Help filt 3 Exit Alt F3 Close f Delay 10ths of sec Set the delay time for the program running The minimum is 1 and the maximum is 50 f Select mode Trace into Execute Slow run by the way of Trace into Step over Execute Slow run by the way of Step over 4 Debug 11 ADDR DATA PABA 7907 Trace setup Trace window Go to frame 06 6000 79 87 74 FE FS 88 FS AB ii F 23 DP F Ai 06 6016 FF C FF DC FE DB FA 22 68 66 HA BA BA AB BA BA i m 06 6626 66 H BB Ba G BB BB GB HA GB BA BA BB AB BA 6 080 0030 66 88 46 66 G BR BB BB BB G BB OB AB 46 B B 88 0040 66 BA ba BA GA BA BB Ba BB GB BB GA BA GB GO GO 06 6056 AA AA HA BA AA AA AA AA AA HA HA BA AA AA BA HA 33 LEAP ELECTRONIC WCE 8052 USER S MANUAL 1 Breakpoint Toggle Program code address where cursor indicates on CODE window you may set or remove breakpoint You may press F2 or couble click mouse to remove and set breakpoint Delete all Clear all the breakpoints in the CODE window 2 Special functi
4. 4 Starting and Quitting a Program To get started with The WICE 8052 Windows Operating System move the mouse over LEAP WICE 8052 quickly press the left button twice Or press Start click program group and click LEAP WICE 8052 to start the system To shut down the system you can click the Close button in the upper right corner of the window next to the Minimize and Maximize buttons Or you can move the mouse over the menu click File and select the Exit com mands LEAP ELECTRONIC WICE 8052 USER S MANUAL II Introduction of the Menu Bar 1 File NEW You can open the Editor Window and edit your text files OPEN Open files Three sub commands display 1 BIN FILES Binary files It will show you the Open File Dialog box click OK if you want to open a Binary file When another Dialog box is showing please click OK to download to the hardware When it shows 100 on the proceeding bar the file has been downloaded 2 HEX FILES INTEL HEX files It will show you the Open File Dialog click OK if you want to open an INTEL HEX file Click OK and the sys tem will examine the CHECKSUM If the examined re sult is wrong a Question Dialog box displays the follow ing message select ABORT to give up download or se lect IGNORE to ignore the wrong message or select RE TRY to download 3 ASM C TEXT FILES Original file or text file It will show you the Open File Dialog click OK if you want to open an original file
5. the program is capable of downloading up to 6 text files simultaneously 9 LEAP ELECTRONIC WCE 8052 USER S MANUAL SAVE Save the file SAVE AS Save as a new file name GET INFO Show the system s related information EXIT quit the system Current Disk Size 1052064K 2 EDIT UNDO Back to former operating window COPY Copy a selected text and move it onto the Clipboard PASTE Paste text onto the cursor indicates CUT Delete the selected text CLEAR Clear the selected text 3 RUN RUN Run the program STOP Stop the program PROGRAM RESET Reset the WICE 8052 10 LEAP ELECTRONIC WICE 8052 USER S MANUAL STEP INTO Single step to get into the sub program STEP OVER Single step to run the sub program RUN UNTIL Run the program and stop as the cursor is indicated GO TO ADDRESS A dialog box displays as you click this button Key in address will change your current ad dress SLOW RUN INTO Slow run automatically into the sub program SLOW RUN OVER Slow run automatically and run over the sub program 4 DEBUG SET BREAKPOINT Set the breakpoint where the cursor currently located If it is already the breakpoint this command will cancel the breakpoint setting The set breakpoint address and disassembler s program are displayed in red color The removed breakpoint location gets back to former color BREAKPOINT LIST It will open a Breakpoint Viewer Dialog box which will show you the currently
6. 00 56 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 77 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 LEAP ELECTRONIC WICE 8052 USER S MANUAL 1 The value of the address The value is corresponding to the internal memory 2 The contents of the internal memory The hexadecimal value that you can browse and edit 6 TRACE WINDOW Jl TRACE STATUS ill ES Trace Butter List Code Coverage ShowCase 00000 NO TRACE DATA 2 1100008 Sa 00001 NO TRACE DATA sem 00108 1 1 JJ AAA 00002 NO TRACE DATA 254 0020H 00003 NO TRACE DATA les 11 00004 NO TRACE DATA Code Coverage List 00005 NO TRACE DATA 0000H 0002H 00006 NO TRACE DATA 0010H gt 00A0H UUUU NU IRALE LAIA v Fr Read Showing the information from TRACE BUFFER in WICE 8052 After setting the start and end address you can use the RUN command to run the program WICE 8052 will record the procedures of the program and you can use the informa tion of the TRACE WINDOW to debug WICE 8052 will read back the TRACE data from hardware if you click the READ Note WICE 8052 hardware should not in the working status if you are reading data Or the reading will be canceled 1 TRACE BUFFER Data According to loading program showing the complete program procedures It allows you to debug conveniently 23 LEAP ELECTRONIC WICE 8052 USER S MANUAL 2 The coverage of
7. 20H max FFH 4 Operator AND Put the two operands into AND operation OR Put the two operands into OR operation 5 XOR Put the two operands into XOR operation 6 Put the two operands into equal judge operation 7 lt gt Put the two operands into unequal operation EXAMPLE DACC OR 10H 31H Putting Accumulator ACC and Constant 10H into OR operation If it equals to Constant address 31H this syntax is correct 2 B lt gt RI Putting register B and register R1 into unequal com parison If it is unequal this syntax is correct 21 LEAP ELECTRONIC WICE 8052 USER S MANUAL 3 10OR 10H 31H This is not a correct syntax It should place space be tween the operand and operator 4 10H OR 31 lt gt 22 This is not a correct syntax It is not allowed to have operands equal to Constant 4 EDITOR WINDOW Jl EDForm Al Xx Absolute RAM address Program code RELATIVE ORG 000H LJMP RESET Jump to program reset address D MYFILES BIKE ASM The label of shifting pages If you have not downloaded any file it will show you NONE After you download files you can shift maximum six pages by using your mouse 5 INTERNAL RAM WINDOW Intemal Data Memory Addres 00 01 02 03 o4 05 06 o7 o8 09 oA o5 oc OD OE OF pono oo 12 00 00 O0 00 OO 00 13 00 OO 00 00 0049 oo 00 00 33 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 oo 00 00 00 00 00 00
8. BA HA HA BA BA BA BA BA 06 0050 HA 66 Ba GB BA BB BB BB BA BA BA BA BA GB BB BA Help Alt From address Key in the start address CODE Displays program s HEX code IDATA Show the HEX code of the internal memory You may use Insert key to edit the program ORO 06 0066 79 87 74 FE FS 88 FS AG ii GF 23 D9 F Gi GB 7B y tiJcJ Hz aa aaia FF 76 FF DC FE DB FA 22 88 66 GA AA BA aa HA HA 0 p 00 0020 66 BA BA BA BA BA BA AA BA BB BA BA BA aa HA HA soc 66 0036 66 66 BA BA BA BA BA BA BA BA B BA BA aa aa an 00 0048 66 66 66 66 BA BA 66 BA BA BA BB BA AB aa aa an 06 0056 66 66 66 66 BA HA BB BA BA BA BA BA B aa BB BB LEAP ELECTRONIC WCE 8052 USER S MANUAL 4 Trace setup Set the start and end address of tracing AUTOILDEMO N ag MOU N 8008 91515 9515 PSU 00 DPTR 6006 RA 00 A Eo End address A YE 66 6006 79 87 74 FE F5 y tMW6J Hs 06 0016 FF 76 FF DC FE DB FA 22 00 aa aa aa BB BB BB BB i 0 p LL 00 0020 66 aa BA BA BA BA AA aa HA aa aa BA BB GB BABA 06 0036 66 a8 BA BA BA BA BA BA aa aa aa BA GB BA BB BA 06 0046 66 aa HA 66 BA BA BB BA aa aa aa BA BB GB DB BD 5c 06 0056 66 HA HA 66 BA OB BB BA HA HA BB BA GB OB BB BB Fi Help filt 3 Exit Alt F3 Close 5 Trace window The trace contents can be viewed from the Trace windows CODE ADDR DATA INSTRUCTION DEBO 7907 MOU R1 07 AF E
9. HA BA BB BB aa GB BA BB BB BA BD 06 6056 HA HA BB HA BR BA BA AB BA BB BA BA BB BA BB OD Fi Help lt R Exit Alt F3 Close 27 LEAP ELECTRONIC WCE 8052 USER S MANUAL 1 New Edit a new text file 2 Open Open a file A dialog box display as follow You can select the file format includes Binary code Intel HEX Normal text BLAUT ILDEMO 88 4008 H5 00 PSU 00 DPTR 6000 RA 88 88 08 C Intel HEX 00 40 X e Li NS N N aa BA Ba aa aa GG HA AA HA HA aa BA B AB GO G aa aa aa aa aa aa aa AA aa aa aa BA AA AA HA HA aa aa AA aa aa aa BA AA HA BB HA BA BA HA HA BA aa aa 66 aa aa aa BA aa HA HA HA BA GA HA HA GO aa aa aa aa aa 66 aan aa HA aa aa GA GA aa 46 H aa aa aa aa aa GG B 46 HA H aa GA B AB GO H For example when you select Intel HEX the following dialog box will show 1 ADDR DATR INSTRUCTION BARA B e S Y 00 006 iles a R31 LONG HEX 768 708 NS TE A wg a EE Te E i Fi Help lt R Exit Alt F3 Close 28 LEAP ELECTRONIC WCE 8052 USER S MANUAL 3 Save Save an edited file 4 Save as Save an edited file in another name The dialog box is display as follow AUTO TL DEMO 3 t 1 a kenna nosound Helse sound FREQ Hendif 5 Chang dir In the following dialog box you may switch current program directory
10. LEAP ELECTRONIC WCE 8052 USER S MANUAL III INTRODUCTION OF WINDOWS I MAIN WINDOW Jl WICES2 DAMYFILES SMALL HEX File Edit Run Debug Wice Options Windows Help Wice52 Disconnected Mode AutoMode FileSize 00000024Bytes 0000H 0010H E NO TRACE DAT 4 NO TRACE DAT NO TRACE DAT NO TRACE DAT NO TRACE DAT 4H BUF IDX EQU 30H SND NBR EQU 32H BUFFER EQU D MYFILES BIKE ASM Open File 1 WICE 8052 Working Status Showing the current status of the WICE 8052 2 Hardware Connection Status It shows ENABLED while the hardware is connected well It shows DISABLED while the hardware is not connected well 3 The file name of the current program The file name of the downloaded file 4 The length of the current file The file length of the down loaded file 5 WICE 8052 Working Mode The working modes include 8031 8051 8032 8052 etc 6 The shifting working label quickly shift the 6 working windows 16 LEAP ELECTRONIC WCE 8052 USER S MANUAL D SMYFILESSSMALL HEX A B pL ga MES I E LEAP ELECTRONIC WCE 8052 USER S MANUAL 7 Function Keys window displays the hot keys and the in troductions for the interface 8 Proceeding Status displays the proceeding of download ing 2 DEBUG WINDOW 00000000 00000000 00000111 1 Disassemble
11. Stop the program s execution after running a single instruction 5 Step over Stop the program s execution after running a single instruction and it s sub program 6 Run until Stop the program s execution at the position where you set 11 ADDR DATA INSTRUCTION AAAA 798 MOU Ri 07 Hs 9515 Hi 0008 Hi NS oN NI N NS N N DD d NN aa 6000 BF 23 D9 F Bi BA 7B v tMCl i s 06 6010 aa aa aa aa aa aa GA i mIf 66 0626 aa aa 66 BB B BB BB 88 8030 66 88 H G BB BR BA BA BA GB BA BA BB OB BB BB 66 0046 66 aa aa aa aa aa aa aa aa aa aa aa aa aa aa OB 06 0056 AA AA HA 66 HA aa BA AA AA HA AA Ba BA BA BB BA Fi Help Alt X Exit Alt F 7 Go to address key in the following dialog box for editing the current Program counter z ae Edit Run Debug Options Windows I ADDR DATR INSTRUCTION PABA 7907 MOU aa aaaa BF 23 D9 F Gi GB 7B y tiJcd Z aa aaia aa aa aa 66 BB HA 66 i gil 06 0026 6 aa aa aa aa HA HA BA 06 0036 AB aa aa aa aa aa BA BB BA BA AA BA AA AB BA AA 00 0048 66 aa 66 aa aa aa BB BB BA BA BA BA BB AB BA BA 00 0058 66 BB 66 aa BA BA BA 46 BA aa BA BA BB 46 BA BA LEAP ELECTRONIC WCE 8052 USER S MANUAL 8 Slow run Run the program in a slow speed File Edit Hun Vebug Uptions Windows L ADDR DATA INSTRUCTION AAAA 7907 MOU PRD rrr BERT cues node L OK 7 E N N
12. ili F586 0003 8006 FSAG MOU ABA 0004 6008 116F ACALL ABAF 0005 880A 23 RL f 0006 8600 7987 MOU Ri 0 a 0087 00BB DIF DJNZ Ri 8884 i 8808 BaB DIF DJNZ Ri 8884 Fi Help lt R Exit Alt F3 Close 11 41 18 LEAP ELECTRONIC WCE 8052 USER S MANUAL 5 Option ADDR DATA INSTRUC AAAA 7907 MOU Record macro Alt R Play macro Alt P PSU 00 DPTR 4608 RO 88 06 6606 06 0016 FF 76 FF DC FE DB FA 22 AA aa aa aa aa aa aa HA 00 0020 G BA BB HA BA HA aa HA BA aa BA BA BA BA BA HA 00 0038 66 a8 66 BA BA BA BB BB BA BA BA aa BA BA BA BA 06 0046 66 66 66 66 66 BA BA BB BA aa aa aa aa aa H H 06 0056 66 46 66 HA 66 BA BA BA BA BA BA aa BB BB BB BA 1 CPU type Select the CPU type which you want to emu late If no indication is provided the system will auto matically detect the CPU type File Edit Run Debug Options Windows e LAUT ILDEM 11 SS ADDR DATA INSTRUCTION i SP 388 AHAA 7907 MOU Ri 07 S Pe 88808 ACC B 60 PSU 00 DPTR 8000 N Autodetect eee eee eee ee N 66 0000 79 87 74 FE FS y tiJCJ Hz 06 0616 FF C FF DC FE DB FA 22 88 BB 00 BA BA BA BA BA i gtf 06 0626 OO BB BA BB BB BA BA BB BA BA BA BA BA BA BA BB 06 0636 66 66 66 66 66 66 GA 66 66 BB GA BA HA OB OB BA 06 0646 aa aa aa aa aa aa aa HA BA BA BA BA HA BA BA HH 06 0056 66 66 66 BB BB BA BA HA OA HA BA 66 OB OB OB OD
13. press Ctrl FS then press f g To change the size of the windows you can press Shift f g Mouse To shift the position of the windows you may move onto the title of the window and drag it To change the size of the windows you may move onto the right down corner of the window and drag it 2 Zoom Enlarge or diminish the current window 3 Cascade Display all windows in cascade way 4 Tile Display all windows in tile way 5 Next Move to the next window 6 Previous Move the previous window 40 LEAP ELECTRONIC WCE 8052 USER S MANUAL 7 Close Close the current window 8 Close all Close all the windows 9 Code Show the CODE window CODE MEMORY win dow and Registers window together 10 Memory Please refers to 4 Debug concerning Display Edit 11 Registers Open the Registers window or move to the Registers window 12 Internal memory Open the internal memory window or move to the internal memory window CAUTOILDENO SP 00 PC 0000 ACC BB B 88 PSU 00 DPTR 0000 R 88 VIL po NN 66 0600 HO BB BB BA GB BA BA A 60 6016 98 0820 08 080380 6 08 0840 66 6056 Alt Exit Alt F3 Close 13 Trace buffer Open the Trace buffer window or move to the Trace buffer window LEAP ELECTRONIC WICE 8052 USER S MANUAL H OPERATION EXAMPLE How to open a file 1 In the file menu select open the following figure will show There are 3 kinds of for
14. the data Show you the coverage of the current download program in a graphical way 3 Analyze the procedures of the program Analyze the TRACE data and show the section of the running IV OPERATION EXAMPLE Run a Hex file 1 Click FILE and click Open then select Hex FILE for open a dialog box Key in the file name or click the file name which you would like to open and click OK 2 After opening a dialog box will show make sure 1f you would like to download the file to the hardware Click OK downloading is beginning 3 Click RUN on the RUN menu or key in the hot key of F9 The program is runing 2 Set breakpoint 1 After program downloaded to hardware set breakpoint is able to use for debugging Set breakpoint only can be processed when hardware is not working 2 Click DEBUG click in the disassembler which you would like to set Or press hot key of F5 to set At the meantime the program black letters change to red It means the breakpoint has been set successfully If you would like to clear just click the point or press F5 24 LEAP ELECTRONIC WICE 8052 USER S MANUAL 3 Begin to run the program When run to the breakpoint the breakpoint will let the WICE 8052 stop 3 Software Simulation 1 Open a file which you would like to run 2 Click ICE52 click WICE click SOFTWARE SIMULA TION 3 Main menu change to software simulation status Click Oscillator and select frequency 4 All of t
15. 6 You may type the name whatever you like Click Next to continue the process WICE 8052 Q1998LEAP ELECTRONIC CO LTD All nights reserved n re 8 The set up condition is showing as following picture Click INSTALL to proceed the set up 6 LEAP ELECTRONIC WCE 8052 USER S MANUAL 1098LEAP ELECTRONIC CO LTD All ng AA 010104010101 Served arks of LEAP EL coq 1 hts re The LEAP ELECTRONIC name are regis CO LTD in Taiwan and other count 2 y 9 You will find a new program group in the File Manager After you sett up The WICE 8052 Windows Operating System LEAP WICE 8052 icon will appear on your screen Also you can find your program groups by click ing Start Button and pointing to Programs 3 Connecting the WICE 8052 hardware with PC 1 Connect one end of the cable to your WICE 8052 unit and the other end of the cable to your printer port of your PC 2 Let your WICE 8052 plug on power and run the WICE 8052 Pleae refer to Starting and Quitting a Program 3 While you get into LEAP WICE 8052 system select WICE 8052 on menu bar and click on WICE 8052 Connection LEAP ELECTRONIC WICE 8052 USER S MANUAL 4 If connection 1s successful the information of the Status bar will turn DISCONNECTED into CON NECTED 5 If connection is failed it will show you a failed message Please repeat Step 1 4 or you can find the problems in FAQ of this user s manual
16. A HA AA HA H BA OB BB BB HA BA Fi Help Gtrl F3 Download F Trace F8 Step Note For editing Registers windows you may press En ter at the item you want to edit Take Program Code PC editing as an example like follow the system shows the dialog box which allow you to edit PC ADDR DATA N E Ln AA N EN S Sd N N PC a BA N EN N EEN N W Nw WW 06 0006 66 66 HA HA 66 66 OB GB BB BB G GA BB BA BB HB 06 0016 66 aa HA BA BA BA AA AA AA AA aa aa aa aa HA BA 06 0026 66 BA BA BA BA BA BB BB BA BA B BA BA BB BA BA 00 0030 66 a8 66 66 BA BA BB 66 BA BA BA BA BB BB BA BA 00 0048 66 46 66 66 66 66 66 BB BA BA BA BA AB AB BB B 00 0058 66 66 HA 66 66 GB BB BA BA BA BA AA BB BB BB BB Fi Help Alt X Exit Alt F3 Close 35 T LEAP ELECTRONIC WCE 8052 USER S MANUAL 3 Memory E i e Edit R Debug Options Windows BLAUTOILDENO WE SUDE BAITS ADDR DATA INSTRUCTION SP 00 ganan 7907 MOU Ri 6 PG 880880 3087 Tig i ACC 88 B 88 PSU 00 DPTR 8000 RA 88 Ri 00 R2 88 R3 88 ICEF R4 88 SFE R5 88 SI FE Titi 66 0000 79 87 74 FE 66 0016 FF 76 FF DC FE DB FA 22 a8 aa aa aa 66 66 GB H 06 0026 ba HA HA 66 BA BA BB BA aa HA HA BA BA GB BB GO 06 0036 HA HA HA 66 BA BB BB BA BA HA BA BA BA BA BA BA 06 0040 HA HA HA HA BA BA BA BA
17. WICE 8052 USERS MANUAL LEAP ELECTRONIC LEAP ELECTRONIC WICE 8052 USER S MANUAL CONTENTS THE WICE 8052 GENERAL GUIDE E dedic dto a duca dtd Ei d l HDevic e suppor enea a l TEAC A a a fttv eas l IV Physical Environment aii 2 V Hardware JAppeatan6esiseeexrsestesiiexerisixkexs 2 VI System Requirements sees 3 VII Set Up The WICE 8052 Hardware 3 NTDEELSS DecltrodlLibOTgccneede ee trate ti osi 3 IX Physical amp Environmental Specfications 3 X External Oscillating Frequency 4 XI Synchronized RESET Operation 4 THE WICE 8052 WINDOWS OPERATING SYSTEM USER S GUIDE I Setting Up The WICE 8052 Windows Operating System 5 l Basic systems requirement 5 2ZoDbnsta bab fi suu E ni aa 5 3 Connecting the WICE 8052 hardware with PC 7 4 Starting and quitting a program 8 II Introduction of The Menu Bar 9 O tied ban IMPO IM pM DAM oro E Ce 9 AL elise ov pp 10 LEAP ELECTRONIC WCE 8052 USER S MANUAL CONTENTS AA O LEA EEL LC ELE 11 SAI GOES rn 13 CODON Sos meta biedtsom E Str belit eidcm ade Uu edet des 14 TINTO UE TIERE 15 e SPERM DET 15 III Introduction of Windows 16 Mair WAI OW d Rede SERERE OI TUE DD 16 Za Debus WIR O WS coartada 18 3 Breakpoint list window sess 19 AS NW AMON ada 22 5 Internal RAM window 22 O Trace I 23 IV Operat
18. am you can type the start address where you want to edit 30 LEAP ELECTRONIC WCE 8052 USER S MANUAL 1 ADDR DATA INSTRUCTION gana 790 MOU Ri 07 06 6006 BF 23 D9 F Gi 88 7B v talbJ Hs 06 0016 pa AA OA OA AA HA HA i mIf 66 6626 aa aa 66 66 aa BB B 06 0036 66 a8 BB H BB BA BB BB BA BA BA OB BB BB BB BB 06 0046 BB HA aa aa BA BB AB BA HA BB BA AB GB BA BB 66 0056 aa AA HA HA HA BA AA AA BA BA BA AR AB AA HA BA Fi Help f lt X E I ADDR DATA papa 7907 Stop Program reset Ctrl P2 Trace into F Step over F8 Run until F4 Go to address Alt F4 Slow run PSU 00 DPTR 0006 IA 1 BA Hu YL F 86 6008 79 87 74 FE F5 88 FS AB 11 GF 23 DY F Bi BB 7B y tiJciJ Ha 06 0016 FF 76 FF DC FE DB FA 22 88 GA GA OA AB aa HA HA i giff 66 8626 66 BB BB H BA OB BB BB BA BA BA BA BB BA B BB 06 0036 66 a8 66 66 BA BA GB BA BA BA BA BA BB AB BB BA 06 0046 46 HA aa aa BA AB AB BA HA BB GB BB GB HA BB 06 0056 66 BB HA HA BA BA AA AA BA BA BA BA BB AB HA BA Fi Help Alt X Exit lt F3 Close 15 03 49 1 Run Run the loaded file from the current Program Counter 2 Stop Stop the program s execution 3 Program reset Reset the hardware and software of WICE 8052 31 LEAP ELECTRONIC WCE 8052 USER S MANUAL 4 Trace into
19. f the connection is cut or the hardware is breakdown it will appear HARDWARE CONNECTION BREAK Please check the connection condition then WICE52 CON NECTION in ICE52 menu bar After it connected click RUN and click PROGRAM RESET for reset hardware 26 LEAP ELECTRONIC WICE 8052 USER S MANUAL THE WICE 8052 DOS OPERATING SYSTEM I MENU DPTR 4000 00 HJ 708 708 Hs 08 N N N N N N N N N N NX 06 6006 G6 66 ba GB BA BB BB BB BB BA BA BA BB BA BB BD 66 0616 66 AA AA AA BA BA AA AA AA BB AA AA AA AA BB BA 00 0020 66 HA HA BA BA HA aa BA BA BA aa BA BB AB BB BA 00 0030 66 46 46 BA BA BA BB BB BB BB BA BA BA HA BB BD 66 0046 66 ba HA BB 66 HA AB 46 66 HA GA GA GB BB GA BA 66 0056 66 G0 G6 BB 66 OB BB GB GB GB BB GB 66 BB BB BA elp Ctrl F2 Reset F3 Load F4 Until F Trace F8 Step F9 Run HLAUT ILDEMO SP 00 PC 0000 ACC BB B 00 PSU 00 DPTR 8000 RO 88 LJ d Open Save Save as PPPI 2 SLL Leet Change dir DOS shell Exit Alt X 272 2222222 06 6006 66 AA HA HA GA BB BA AB BGB BB GB GA GB OB GB OD 06 6010 HA AA aa BA aa aa BR aa HA aa aa aa AA AA AA B 00 0020 66 AA HA BA aa BA BAR AB BA aa BA BA BB BA BABA 00 0038 66 H BA 66 BB BA BA BB BA BA BA BA BB BA BA BA 06 0646 66 60 HA BA BB
20. g box Please refer to the introduction of TRACE WINDOW 5 ICE52 WICES2 Connection You can use this command to make sure the connected status between hardware and software You can reconnect by click this command as well Software Simulation Allow you to shift to software Simu lation mode There are two information in the main win dow 13 LEAP ELECTRONIC WCE 8052 USER S MANUAL S WICE52 D MYFILESNROLL HEX q St mu mean Er A Sar VEDU DtionsAM 1dOowsj L td LW A We 7E El 00 05 00 Di 4B 0008 DA 00 00 Emulation Time The total current software emulated ex ecution time Oscillator The oscillation frequency of emulation When you use software simulation the functions and approach are same as WICE 8052 hardware emulation 6 OPTIONS SET SLOWRUN TIMER Four sub commands are avail able in this selection 1 TRRIGER PER 0 1 SECOND 2 TRRIGER PER 0 5 SECOND 3 TRRIGER PER 1 0 SECOND 14 LEAP ELECTRONIC WICE 8052 USER S MANUAL 4 TRRIGER PER 3 0 SECOND You may set on of the above The system define trigger is per 0 5 second 7 WINDOWS NEXT Shift to next sub windows TILE Arrange all sub windows in tile way CASCADE To arrange all sub windows in cascade way ARRANGE ICONS To minimize all sub windows VIEW View the windows which you selected CLOSE ALL Close all the windows 8 HELP CONTENTS Show the HELP sub menu ABOUT The information about WICE 8052 15
21. gt az d power LED run LED signal output port g a a o LEAP ELECTRONIC DC IN o lt SX PRINTER PORT te j P power input port printer port connector 2 LEAP ELECTRONIC WICE 8052 USER S MANUAL VI System Requirements IBM AT 386 or above or 100 compatible MS DOS 6 22 or later Microsoft Windows 3 1 95 98 system VII Set Up The WICE 8052 Hardware 1 Connect one end of the cable to your WICE 8052 and the other end of the cable to your printer port of your PC 2 Connect one end of the 40 pin flat cable to your WICE 8052 and the other end of the cable to 40 pin module 3 Connect 40 pin module on your target board 4 Plug on power and set up the WICE 8052 software pro gram 5 Run the WICE 8052 software program VIII Specification 128K RAM program memory up to 64K external memory up to 64K 32K frames x 16bit wide of execution trace buffer Real time transparent emulation up to 40MHz Parallel printer port interface to the host Operating voltages AC100 to 240V Frequency range 47 to 63Hz Power consumption 8W 3 LEAP ELECTRONIC WICE 8052 USER S MANUAL IX Physical amp Environmental Specifications Dimension 14 cm x 11 cm x 4 6 cm Weight 0 38 kg Temperature 5 C to 45 C Humidity to 9096 noncondensing Altitude 5000 m X External Oscillating Frequency According the following BOM to weld component to the Eex Crystal Adaptor You may weld either in DIP
22. he function and approach are same as hardware emulation IX FAQ 1 Q How come it can not connect to WICE 8052 hardware A Please check the power cable and connected cable If they are connected well check the power is on or not and check the LED on WICE 8052 is flash or not Then run the main program of WICE 8052 click ICE52 and click WICES52 Connection 2 Q Why can I not set the breakpoint while running the pro gram A When the system is under the command like RUN STEP INTO STEP OVER SLOW RUN INTO SLOW RUN OVER you have to select STOP to stop the program first and then breakpoints can be set AS LEAP ELECTRONIC WICE 8052 USER S MANUAL 3 Q How can I re open the closed window A Select Windows on the menu bar Click View command click the windows which you want to open 4 Q How can I change the running point in the program A There are two different ways for 1t 1 Select Run on menu bar and click GO TO ADDRESS Then 1t will show you a GO To Address Dialog key in the address you want you go So that you have changed the running point 2 Select DEBUG WINDOW and click on Current Addr Then 1t will show you a Jump To Address Dia log box key in the address you want you go So that you have changed the running point 5 Q Why the system appears the message HARDWARE CON NECTION BREAK while software running A There is Automatic Detective Function in WICE 8052 sys tem I
23. ion ER 24 A Ue Mad a MM LT M 25 I Menu Introduction eese 27 I LUE PCM EA AT ee ee re ee 2 E CNN re r a e ET dey EEA a 30 Du ISSUE cedo dcos ded ur addi oed aos 3 Ja DEDU Terra tec du ves eee uet phe das 33 Dc Op EGO T I A 38 LEAP ELECTRONIC WCE 8052 USER S MANUAL THE WICE 8052 GENERAL GUIDE I Overview The WICE 8052 is a time saving developing emulator for 8051 8052 chip The following various features have greatly increased the WICE 8052 a value added and intelligent test instrument Speedy download Stable emulation Small size and light weight Protects reversed insertion Provides 128K program memory DOS and Windows 3 1 95 98 user interface II Device Support 80 C 3 1 32 1880 C 5 1 52 7B87 C 51 52 1889 C 51 52 TIT Accessories 1 Standard WICE 8052 mainframe x 1 26 pin cable x 1 40 pin module 40 pin flat cable x 1 2 pin signal line hook x 1 40 pin IC socket x 1 System software disk User s manual x 1 DC power adaptor x 1 EXT CRYSTAL x 1 LEAP ELECTRONIC WICE 8052 USER S MANUAL 2 Option PLCC adaptor IV Physical Environment WICE 8052 Physical Environment 40 FLAT Cable Protect Targute Buard AC adaptor IV Hardware Appearance external sae a port emulate pupa port g b g SN EXT CPU POD osc 2g RUN m idis WICE 8052
24. ion of the breakpoint You can set the _ triggering condition of the breakpoint the approach is like following Select SET BREAKPOINT CONDITION and click the left button of the mouse An Dialog box of ADD BREAKPOINT CONDITION shown as following 19 LEAP ELECTRONIC WICE 8052 USER S MANUAL BreakPoint Address 0003 H BreakPoint Pass BreakPoint Condition BreakPoint Active amp Break Enable C Break Disable BREAKPOINT PASS WINDOW You can set the pass times while the Breakpoint will be triggered after the times you set BREAKPOINT CONDITION You can set the breakpoint condition in the address The two kinds of syntax of this system is as follows register address constant operator register address constant judge operator register address constant register address constant judge operator register address constant Note It is not allowed to let the operand equal to the constant Register The address like ACC B DPL DPH SP PSW P1 P2 P3 P4 RO R7 can be sort out to direct address and indirect address 20 LEAP ELECTRONIC WICE 8052 USER S MANUAL Direct address 1 Integer 00 01 10 20 max 255 2 Hexadecimal 00H 01H 10H 20H max FFH Indirect address 1 Integer 00 6901 10 20 max 255 2 Hexadecimal OOH 01H 10H 20H max FFH 3 Constant Integer 00 01 10 20 max 255 Hexadecimal 00H 01H 10H
25. mat Every single one will show the dialog box Then select the file which you would like to load in 1 Binary Code 2 Intel Hex 3 Normal Text 2 If download is successful a dialog box will show for inquiring if you would like to download to hardware Press yes for auto download 3 Press F9 for running How to set breakpoint 1 After download the machine code the breakpoint is able to set 2 In the disassembler select the address which you would like to set double click or press F2 The address will change to red If double click or press F2 again the breakpoint will be canceled 42
26. on registers 11 ADDR DATA Hana 790 General purpose Serial Timer Counter Wy N N N iN N IN IN 88 0000 79 87 74 FE FS 88 FS AB ii GF 23 D9 F Gi B 7B v tilbJ 66 0016 FF 7G FF DC FE DB FA 22 88 66 BA BA AA AA AA aa i 3 00 0020 60 HA 66 HA aa BA BA aa BA BA BA BA BA BA BABA 06 0036 60 a8 66 HA aa BA BA AB BA BA BA BA BA BA BABA 00 0040 66 G aa 66 66 66 BB BA BA GB BA BA BB B BB OO 00 0058 66 aa aa 66 66 BA BB BA BA BA BA BA BA AB BB BB Fi Help filt 4 Exit Alt F3 Close 18 52 39 All displays all of the following four registers windows Ports Displays the Port register window General purpose Displays the general purpose register window serial Displays the Serial register window Timer Counter Displays Show the Timer Counter regis ter window 34 LEAP ELECTRONIC WCE 8052 USER S MANUAL RUTO1LDEMO CODE ADDR DATA INSTRUCTION z TMOD BM AnH 7987 MOU Ri 07 TLO 88 TLi 66 THA 88 THi 88 TCON 44 TFi 6 TRi 8 ss es ss ss oe oe oe cnc cO qaqa gg mi General pl 15 di PSU 268 BB BB B8 44 6006 79 87 74 FE FS 88 FS AG 11 GF 2 04 0016 FF 76 FF DC FE DB FA 22 AA PA HA AA AA AA BA AA 00 0020 66 HA HA HA HA BA BA AA BA HA BA BA BA HA HA HA 06 0036 66 66 HA HA HA HA BB BA DB DB BA BA BB HA BB 66 0046 66 a8 66 66 66 66 66 GA DB ba BB OB BB B HA A aa aaba BB HA HA HA HA H
27. or SMD way Insert the finished Exe Crystal Adaptor to the target board XI Synchronized RESET Operation Plug 2 pin signal line hook in WICE 8052 and place RE SET hook on the RESET circuit of the target board When you reset WICE 8052 the target board will simulta neously transmitting RESET signal LEAP ELECTRONIC WICE 8052 USER S MANUAL The WICE 8052 Windows Operating System User s Guide I Setting Up The WICE 8052 Windows Operating System 1 Basic systems requirement IBM AT 386 above or compatible 10M byte hard disk Windows 3 1 95 98 2 Installation 1 Please back up the WICE 8052 Setup Disk before you setting up 2 Set your computer on Windows system insert the WICE 8052 Setup Disk in a floppy disk drive 3 If you are in Windows 95 use the Start button and then click Run If you are in Windows 3 1 in File Manager or Program Manager click File and then click Run 4 Type the drive letter followed by a colon and a backslash and the word setup exe 5 Follow the instructions on your screen Click Next to continue through the Setup process Use Cancel to undo the process 6 It shows the Dialog which is about set up path Systems define for the WICE 8052 is C NWICES2 you may change the path wherever you like Click Next to con tinue the process LEAP ELECTRONIC WCE 8052 USER S MANUAL 7 Group Name option Dialog define for LEAP WICES2 WINI
28. r and Running window This area show the program code after disassembling The finger indicating point the WICE 8052 current execution point The red color represents breakpoints and blue color is invalid breakpoints You can browse all the program by press key board or move the scroll box by using mouse 2 The current running address edit window You can key in the address where you want to go and change the program s procedures invalid address will be neglected 3 Internal Registers Status Showing the registers value of the WICE 8052 REGS indicates the name of the regis ters HEX indicates the hexadecimal value and BINARY indicates the binary value You can edit them directly 18 LEAP ELECTRONIC WICE 8052 USER S MANUAL 4 Loading Program Code Status Showing the hexadecimal value of the program code You can key in the value and edit the current program WICE 8052 will trigger the re set function 1f you change the program code 5 Internal Memory Status Showing the overall hexadeci mal data in WICE 8052 You can browse and edit by mov ing the cursor 6 Split Line Move the mouse over the split line click the left button of your mouse and change the size of the brows ing area 3 BREAKPOINT LIST WINDOW Jl BREAKPOINT LIST 1 Breakpoint Address Showing the current address of the setting breakpoint It will not be changed until you change the setting in DEBUG WINDOW 2 Setting the condit
29. setting breakpoints and its value BREAKPOINT OPTIONS It offers three options to you to set the breakpoint Il LEAP ELECTRONIC WICE 8052 USER S MANUAL CLEAR ALL BREAKPOINTS Clear all the breakpoints which has been set DISABLE ALL BREAKPOINTS Disable the breakpoints set ENABLE ALL BREAKPOINTS Enable the breakpoints set SPECIAL FUNCTION REGISTERS There are four functions in this selection These register windows not only allow user conveniently to observe but also equip bit modification and special function bit dis playing functions PORT REGISTERS I O control registers GENERAL PURPOSE REGISTERS General purpose registers SERIAL REGISTERS Serial communicated registers TIMER COUNTER REGISTERS Timer and Counter registers These windows are not only providing for you to examine and edit on every register but also offering the function with bit editing and special function bit showing 12 LEAP ELECTRONIC WICE 8052 USER S MANUAL SET TRACE BUFFER WICE 8052 stores up to 32K TRACE BUFFER you can observe the program execution by start and end address The trace is equipped the ability to analysis and debug Note Start and end address must be set for of TRACE BUFFER 1 SET TRACE BUFFER OPTIONS It will show you the Dialog box which let you type the start and end address Click OK if you finish setting 2 WATCH TRACE BUFFER DATA It will show you the TRACE STATUS Dialo
Download Pdf Manuals
Related Search
Related Contents
Manual de Usuario de FACTURACIÓN ELECTRÓNICA UTILITY FLIGHT MANUAL スプリング式/電動式排気ホースリール設置要領書 [ EXT 011S 簡単操作マニュアル Cisco Unified Video Advantage + VT Camera III 商 品 企 画 書 飛ばし屋養成ギブス S-Mサイズ KD-SX991R/KD RouteR inalámbRico n TRX 33 Owners Manual Copyright © All rights reserved.
Failed to retrieve file