WICED Smart Quick Start Guide
Viewing Traces from the WICED Smart Tag
Traces from the application can be viewed by configuring the WICED Smart tag to route traces to the HCI UART,
and then to the COM port of the platform.
To view the traces:
1. In WICED Smart IDE, in the Project Explorer pane (left side of the IDE, see the screenshot on
in the WICED-Smart folder, locate and open the
WICED-Smart-SDK\Wiced-Smart\spar\common\sparinit.c file
2. Make sure that the application_setup function includes the following line:
BLE_APP_ENABLE_TRACING_ON_HCI_UART();
3. Compile and download the application to the WICED Smart tag as described in
Application" on page
Note: To successfully download the application to the WICED Smart tag, DIP switches 1 through 8 on
the mini-switch must be set to the ON position.
4. Wait for the Build Finished message to display in the console window.
5. Locate the mini-switch (SW4) on the WICED Smart tag, and set DIP switch 2 to the OFF position. The final
switch settings of mini-switch SW4 are: 1 = ON, 2 = OFF, and 3 through 8 = ON.
6. Press the Reset button on the WICED Smart tag
7. In the WICED Smart IDE menu select Trace > Start Debug Traces.
Broadcom
®
September 24, 2014 • MMPWICED-Smart-QSG203-R
13.
Figure 6: Configure UART for Tracing
Reset
Button
Viewing Traces from the WICED Smart Tag
.
SW4
(Figure
6).
page
"Build and Load a Sample
WICED Smart Development System
13),
Page 19
Need help?
Do you have a question about the WICED Smart and is the answer not in the manual?