I am trying to debug an app on the BCM943362WCD4. I try to follow the instructions in the quick start guide section 4.3, "debug an application", but there is snip/ping directory. Instead I'm using the snip/scan target.
Step 4 says:
Click the green bug icon on the WICED IDE toolbar (or press F11 on Windows® systems). The debugger starts.
But when I click the icon, I get an alert titled "Unable to Launch" which says "the selection cannot be launched, and there are no recent launches". Searching the web for this string tells me I should click the tiny dropdown next to the bug and create a new configuration. I have no idea how. Should it be a "GDB hardware debugging configuration" and what should it look like? I tried making one but it had unspecified "errors".
Another web search indicated that I should simply append "debug" to the target build string. I tried this too, so my target name looks like this:
"snip.scan-BCM943362WCD4-debug download debug".
This seems to do something useful, but it looks like the debugger quits very soon after launch:
Reading symbols from /Applications/WICED/WICED-SDK-2.4.0/build/snip_scan-BCM943362WCD4-debug/Binary/snip_scan-BCM943362WCD4-debug.elf...done.
Open On-Chip Debugger 0.7.0-dev-00227-g86900a5-dirty (2013-04-16-14:43)
That didn't work - there was nothing to select in the menu. The top item should be "1 WICED debug".
To ascertain this, I deleted the entire WICED directory including WICED's Eclipse, and my workspaces, then re-installed the SDK 2.4.1.
It still didn't work, but at least the help was visible, which tells me to click on the tiny triangle next to the green bug, not on the green bug itself (which is what the QSG says). It didn't work because the installer installs the SDK to a directory called WICED-SDK-2.4.1, but in the debug configuration the gdb command is: