User Tools

Site Tools


products:wizwiki_w7500eco:start_getting_started:debugging_w7500eco

How to Debug WIZwiki-W7500ECO

On the WIZwiki-W7500ECO, there is CMSIS-DAP to debug WIZwiki-W7500ECO. At first, you need to set Flash Algorithm to use debugging. This page shows how to set Flash Algorithm and how to use CMSIS-DAP Debugger.


Set Flash Algorithm

Download

To follow

  1. Download the attached File and unzip. Then you can find one folder and one file in it. In 'W7500_flash_algo_mdk' folder, open the project and Build it.

  2. After build, you can check the generated files in project folder. Back to 'W7500_128_Flash' folder and copy 'W7500_128_FLM' flash algorithm file into the Flash folder in Keil.
    C:\Keil_v5\ARM\Flash


Using CMSIS-DAP Debugger

CMSIS-DAP does support USB cable and Debugger as well. You need to Set Flash Algorithm to use CMSIS-DAP Debugger in Keil.

To Follow

  1. Click 'Flash' in top menu and open 'Configure Flash Tools'. Set 'Debug' on top menu with choosing 'CMSIS-DAP Debugger'.

  2. Click 'Utilities' and choose 'CMSIS-DAP Debugger'. Open 'Settings' menu and unchecked 'SWJ' in Debug menu. Then confirm 'ARM CoreSight SW-DP' set on SW Device.

  3. Next to the Debug menu bar, Click 'Flash Download' and set 'Erase Full Chip' in Download Function, '0x20000000 to 0x4000' in RAM for Algorithm, Add 'W7500_128KB_FLASH' on Programming Algorithm. After checking it with below figure, click 'OK'.

  4. Download the firmware into WIZwiki-W7500. You can check complete message and the CMSIS-DAP Debugger at the bottom. Chick the 'Debug icon' or Ctrl+F5 to debug.

2015/05/20 19:36 · ekkim
products/wizwiki_w7500eco/start_getting_started/debugging_w7500eco.txt · Last modified: 2015/08/31 13:50 by kaizen