Advertisement

Quick Links

W7100A / W7100
Debugger Guide
Version 1.1
© 2012 WIZnet Co., Inc. All Rights Reserved.
For more information, visit our website at
http://www.wiznet.co.kr
1
© Copyright 2012 WIZnet Co., Inc. All rights reserved.
Ver. 1.1

Advertisement

Table of Contents
loading

Summary of Contents for Wiznet W7100A

  • Page 1 W7100A / W7100 Debugger Guide Version 1.1 © 2012 WIZnet Co., Inc. All Rights Reserved. For more information, visit our website at http://www.wiznet.co.kr © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 2: Table Of Contents

    Table of Contents Driver installation for the Debugger ..............3 Connect the Debugger ................. 5 Installation of the W7100A / W7100 Debugger ............ 7 KEIL Project ..................... 8 Debugger menu ..................14 Open project ................14 Initialize the W7100A / W7100 Debugger ..........16 Run and Stop ................
  • Page 3: Driver Installation For The Debugger

    If it is not automatically installed, select the ‘Install from a list or specific location (Advanced) and set our attached driver as below. [Fig.1.2] The new hardware search window 2 Wait for searching the device driver of the Debugger. When the device driver installation is completed, © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 4 END button to finish. [Fig.1.3] Completing the new hardware searching #2 © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 5: Connect The Debugger

    USB cable between the Debugger and PC. Next, insert the power cable to the IMCU7100EVB, and push the EVB reset button as figure 2.1. Then, push the debugger reset button of the Debugger. Confirm the LED5 (RUN LED) after pushing these reset button. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 6 If the Debugger successfully recognizes the W7100A / W7100, the LED5 (RUN LED) will turn on. But if the LED5 is not turned on, it means that W7100A / W7100 is not recognized. Check the connecting cable or try to reset the IMCU7100EVB and the Debugger. The LED5 should be turned on before using the W7100A / W7100 Debugger.
  • Page 7: Installation Of The W7100A / W7100 Debugger

    3 Installation of the W7100A / W7100 Debugger In this section, the installation of W7100A / W7100 Debugger is explained. First, run the W7100A / W7100 Debugger install file. [Fig.3.1] The W7100A / W7100 Debugger install file Then the installation of iMCU7100EVB debugger is started. Push the Next button to setup.
  • Page 8: Keil Project

    Vision3 format ※ Caution on W7100A / W7100A Lock function The W7100A / W7100A has the memory lock function. If the lock was set, user cannot use the W7100A / W7100 debugger because it cannot read anything from W7100A / W7100A memory.
  • Page 9 The W7100A / W7100 debugger cannot recognize multi directory structure of KEIL project so all project file and source file must be placed in same directory to use W7100A / W7100 debugger. And the ‘make hex file’ option and ‘make symbol’ option should be activated in the KEIL project.
  • Page 10 [Fig.4.3] Open the KEIL project Check the ‘Create HEX File’ option from the ‘Output’ tap as figure 4.2. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 11 Also check the ‘Symbols’ option of the ‘Assembler Listing’ region. The ‘Assembler Listing’ is optional. Click the ‘OK’ button to finish, and compile the KEIL project. Confirm the HEX file in the project directory after compiling. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 12 SRC File’ and ‘Assembler SRC File’ options must be checked. First, open the Options for File ‘xxx.c’ that uses the Assemble code. [Fig.4.7] Open the Options for File ‘xxx.c’ © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 13 Then, check the ‘Generate Assembler SRC File’ and ‘Assemble SRC File’ options. [Fig.4.8] Setting the Options for File ‘xxx.c’ © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 14: Debugger Menu

    5 Debugger menu Open project The W7100A / W7100 debugger can debug the KEIL project or the hex file. To debug the KEIL project or the hex file, run the W7100A / W7100 debugger and open the hex file. Open Project.
  • Page 15 If the user opens the project that is consisted only with a HEX file, the Debugger will show a caution message. And it shows only ‘Assembly window’. [Fig.5.3] Complete opening the project © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 16: Initialize The W7100A / W7100 Debugger

    The Close project command is used to close a project. Select ‘Project’ => ‘Close’ or push the short key Ctrl + Q. *Note: While using the W7100A / W7100 debugger, the user must use the ‘stop’ command in order to close the debugger.
  • Page 17 ‘Debugger commands’ such as ‘Continue, Step, Next’. [Fig.5.6] Load image mismatch Debugging The W7100A / W7100 Debugger serves ‘Debug’ and ‘Tool’ menu and Toolbar button for debugging. [Fig.5.7] Deugging menu Go to Source Line The Go to Source Line command is used to move the cursor to the wanted source line.
  • Page 18: Run And Stop

    Function. After the execution, the debugger is stopped and waits for the next command. To use this command click the button on the toolbar or select the Debug menu => Stepi. It can also be done by short key F7. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 19 [Fig.5.8] Run To Cursor Line command Sometimes the ‘Run To Cursor Line’ command continues when the cursor is not properly set. If that is the case, execute the Stop command to stop it. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 20: Break Point

    Set the breakpoint and execute the Continue command. Then the debugger will run until it meets the breakpoint and will stop at the checked breakpoint. After that, the user can use © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 21 The Goto Previous Break Point command will move the cursor to the previous break point. To use this function, Click the button on the Toolbar Select the ‘Tool’ menu => ‘Goto Pre Break Point’ © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 22 Menu => Assembly menu. The Source window is always shown unless opening only HEX file. Source Window [Fig.5.11] Source Window menu The Source window is shown in the figure 5.11. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 23 : Indicates the break point  : Shows the assemble code with related C code   : Shows the break point double click: Sets or unsets the break point  © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 24: Search & Variable Window

    6 Search & Variable Window The W7100A / W7100 debugger provides various windows to see the local variable, global variable, and the register value. Global variable window: Shows the value of global variable in the project  Local variable window: Shows the value of local variable at the PC(program counter) ...
  • Page 25 [Fig.6.1] Display format User can select the display format by clicking the mouse right button on the search, local and global window such as binary, octal, decimal and hexadecimal. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 26: Local Variable Window

    [Fig.6.3] Global variable window Symbol window The symbol window shows the information of all symbols in the project. It shows the class type and the address of the related symbol. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 27: Register Window

    PSW, and special function register (SFR). To modify the value of the register, click the field of register value and write the new value. But if the register is read only, then the value is not changed. [Fig.6.5] Register window © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 28: Memory Window

    Activate Code memory window: Click the button or select the ‘Window’  menu => ‘Code Memory Window’ Activate Flash memory window: Click the button or select the ‘Window’  menu => ‘Flash Memory Window’ © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 29: Idata Memory Window

    External Data Memory Window The external data memory window shows the value of external data memory (X:0x000000 ~ X:0xFFFFFF). © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 30: Code Memory Window

    Flash Memory Window 7.4.1 Code Memory Domain In the flash memory window, if the ‘Data memory’ option is unchecked, it will shows the © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 31: Data Memory Domain

    But it has the flash write button which writes the whole value of flash memory window to the flash memory of iMCU7100API. Also it has a button for updating the value of flash memory. © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...
  • Page 32 Fixed some awkward expressions of English documents Copyright Notice Copyright 2012 WIZnet, Inc. All Rights Reserved. Technical Support: support@wiznet.co.kr Sales & Distribution: sales@wiznet.co.kr For more information, visit our website at http://www.wiznet.co.kr © Copyright 2012 WIZnet Co., Inc. All rights reserved. Ver. 1.1...

This manual is also suitable for:

W7100

Table of Contents