- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please help me with the steps to debug the WICED sense using the programming USB cable? I would like to see the ble_trace<n> messages in the console. At the moment when I go to Trace -> Start Debug Traces, nothing happens.
I have seen somewhere that bleapp_trace_enable = 2 (or 1 for PUART). But when I try to define this in APPLICATION_INIT I get an error, if I redefine as UINT8 bleapp_trace_enable = 2; still no output.
Using BLE_APP_ENABLE_TRACING_ON_PUART(); doesn't seem to help either.
I commented out this line.
//#define BLE_TRACE_DISABLE
Also, a couple of separate questions.
I have re-programmed the WICED sense using the latest MAC sdk, now it doesn't beep when connecting to the phone (iPhone 6) is this expected?
When the device is programmed with the USB it is active but if no association happens and it's still plugged in to USB the device enters sleep mode and pushing the buttons can't make it come out, the device needs to be unplugged and the battery inserted. Is there a way to be able to debug with USB in and turn the sense back on?
Thanks,
Mike
Solved! Go to Solution.
- Labels:
-
Debug
-
HCI UART
-
Peripherhal UART
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, debugging (breakpoints, single step) of FW is not supported.
But
you can use UART, you can have your own debug log messages in FW, when executed.
This works with UART VCP and a terminal program running on PC.
Please check some other threads how to use (just enable UART in FW and send log messages via USB UART).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We did not officially support Debug/Trace output on WICED Sense as it was designed as a demo board only.
However, several users like easyit and bchristi have figured out how to get this working per the thread here: how to get debug traces ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, debugging (breakpoints, single step) of FW is not supported.
But
you can use UART, you can have your own debug log messages in FW, when executed.
This works with UART VCP and a terminal program running on PC.
Please check some other threads how to use (just enable UART in FW and send log messages via USB UART).