Quick Start Guide
WICED
Run an Application
This section assumes you have successfully completed
and the ping application is running on the WICED module.
Several methods are available to verify the ping application is working. After power-on-reset, the ping
application prints status messages to the USB UART of the WICED evaluation board.
To verify printing, follow the instructions in
setup a terminal application such as PuTTY (Windows) or CoolTerm (OS X). Start the terminal application and
connect to the WICED evaluation board then press the reset button on the board. The following text displays:
Platform BCM943362WCD4 initialised
Started ThreadX v5.5
Initialising NetX v5.6
Creating Packet pools
Starting Wiced v2.3.0
Joining : YOUR_AP_SSID
Successfully joined : YOUR_AP_SSID
Obtaining IPv4 address via DHCP
Setting IPv6 link-local address
IPv4 network ready IP: 192.168.1.100
Pinging 192.168.1.1 every 1000ms with a 900ms timeout.
Ping Reply : 3 ms
Ping reply : 1 ms
...
Note: A description of the ping application is provided in the header comments of the ping.c source
file located in the WICED SDK at <WICED-SDK>/Apps/snip/ping/ping.c.
Debug an Application
The WICED development system supports single-step thread-aware interactive application debugging with the
WICED IDE. Brief instructions to start debugging an application are provided in the WICED IDE Help tab. The
following example demonstrates how to start debugging the 'ping' application.
1. Setup a breakpoint:
a. Using the Project Explorer tab on the left of the IDE, navigate to the 'WICED-SDK/Apps/snip/ping'
directory. Double-click on 'ping.c' to open the source file in the WICED IDE editor window.
b. Scroll to the 'application_start' function and locate the call to 'wiced_init' (at approximately line 180).
c. Double-click in the column to the left of the 'wiced_init' function to place a break point at this function
(alternately right-click in the column and select 'Toggle Breakpoint'). A green dot appears in the column.
2. Setup the 'ping' debug build target: In the WICED IDE Make Target tab, right click on the 'ping-
BCM943362WCD4 download run' build target and click Edit (alternately, copy-paste and then edit a new
build target). Change the build target to 'ping-BCM943362WCD4-debug download'.
3. Build and download the debug firmware image: Double-click the newly created 'ping' debug target, the
debug firmware image builds and downloads to the 'BCM943362WCD4' module on the WICED evaluation
board.
Broadcom
®
January 15, 2014 • MMPWICED-QSG203-R
"Build and Download a Sample Application" on page
Appendix A: "Configuring a Terminal Application," on page 19
Using the WICED IDE
13,
to
Page 16
Need help?
Do you have a question about the WICED and is the answer not in the manual?