cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

New Contributor II

I am using the CY8CKIT-062-WiFi-BT kit and WICED studio 6.2.

I am trying to debug the Scan snip. My make target is "snip.scan-CY8CKIT_062-debug download_apps download".

The board is in CMSIS-DAP mode.

However when I run the windows debug I get the following message.

pastedImage_1.png

I am just starting to learn WICED so bear with me if this is a noob question.

0 Likes
Reply
1 Solution
Moderator
Moderator

1. In the Debug configuration add the following commands in Halt parameter in Startup tab

monitor targets psoc6.cpu.cm4

monitor psoc6 reset_halt sysresetreq

monitor sleep 500

2. Untick the Load image

3. Go to Runtime Options

Tick the Set Breakpoint at: application_start

Tick the Resume tab

Create a debug make target and launch the debugger now. Attached is the screenshot of debug configuration working in SDK 6.2.1

pastedImage_0.png

View solution in original post

6 Replies
Moderator
Moderator

Have you set-up the debugger as mentioned in Re: Debugging the BCM943362WCD4_EVB ?

New Contributor II

Yes I completed those steps but the error persists.

0 Likes
Reply
Moderator
Moderator

I have been able to reproduce the issue and we are internally tracking the same. I will update the thread once the issue is resolved.

New Contributor

I have just come across the same error when trying to debug the uguitest2 app on the CY8CKIT_062. I followed the instructions in "Debugging the BCM943362WCD4_EVB". My make target is "ww101.04.07_uguitest2-CY8CKIT_062-debug download. After than, I run 433xx_Wi-Fi_Debug_Windows. The error says:

Error in final launch sequence

Failed to execute MI command:

load C:\\Users\\john\\Documents\\WICED-Studio-6.2\\43xxx_Wi-Fi\\build\\eclipse_debug\\last_built.elf

Error message from debugger back end:

Error erasing flash with vFlashErase packet

Error erasing flash with vFlashErase packet

0 Likes
Reply
Moderator
Moderator

1. In the Debug configuration add the following commands in Halt parameter in Startup tab

monitor targets psoc6.cpu.cm4

monitor psoc6 reset_halt sysresetreq

monitor sleep 500

2. Untick the Load image

3. Go to Runtime Options

Tick the Set Breakpoint at: application_start

Tick the Resume tab

Create a debug make target and launch the debugger now. Attached is the screenshot of debug configuration working in SDK 6.2.1

pastedImage_0.png

View solution in original post

Contributor II

Had to clean and rebuild target and then RaktimR_11​ solution worked like a champ!

0 Likes
Reply