Viewing Traces From The Wiced Smart Tag - Broadcom WICED Smart Quick Start Manual

Development system
Hide thumbs Also See for WICED Smart:
Table of Contents

Advertisement

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. See
To view the traces:
1. In WICED Smart IDE, in the Project Explorer pane (see
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
4. Wait for the Build Finished message to display in the console window.
5. Set SW6 DIP switch 2 to the OFF position and verify that SW6 DIPs 1, 3, and 4 are in the ON position.
6. Press the Reset button on the WICED Smart tag.
7. In the WICED Smart IDE menu select Trace > Start Debug Traces.
Note: The content of the ble_trace statements should appear in the console window of the WICED
Smart IDE.
To exit Debug mode and download a new version of the application to the WICED Smart tag:
1. In the WICED Smart IDE, select Trace > Stop Debug Traces. See
locations.
2. Verify that the SW6 DIP switches are set properly:
• 1 = OFF
• 2 = ON
• 3 = OFF
• 4 = ON
3. Press the Reset button on the WICED Smart tag.
Note: Downloading a new application to the WICED Smart tag should work exactly as described in
"Build and Load a Sample Application" on page 14
Broadcom
®
March 12, 2016 • WICED-Smart-QSG302-R
Figure 1 on page 9
14.
Viewing Traces from the WICED Smart Tag
for component locations.
Figure 2 on page
15, left side of the IDE), in the
.
"Build and Load a Sample
Figure 1 on page 9
and
"Run an Application" on page
WICED Smart Development System
for component
18.
Page 20

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WICED Smart and is the answer not in the manual?

This manual is also suitable for:

Bcm20737tag

Table of Contents