Skip navigation
Home > All Places > WICED Smart Bluetooth > WICED Smart Bluetooth Forums > Blog > 2014 > August


Posted by jota_1939431 Aug 27, 2014
1.0Initial Release

Added WICED Sense Android Source Code Walk-Thru and iOS Source Code version 1.1



Welcome to the WICED Sense BLOG.

WICED Sense Kit Beginners Guide:

WICED Sense Kit Smart Phone Application:


WICED Sense Kit using SDK 2.2:

WICED Sense Kit:


Please refer to the WICED Sense documents are located here: WICED Smart Documents & Downloads


WICED Sense Beginners Guide:

  1. Removing the Battery and WICED Sense Kit Board





WICED Sense SDK Beginners Guide:

  1. SDK 2.1.1 Download
  2. WICED Sense BLOG, Design Files, iOS Source Code
  3. Installation of the Silicon Labs USB-UART Drivers
  4. Connecting the WICED Sense Kit to the USB Cable
  5. Creating a SDK Project for the WICED Sense Kit
  6. Compiling and Downloading the WICED Sense Firmware to WICED Sense Kit.



WICED Sense Recovery:

  1. Connect the USB Cable to the Kit
  2. Locate the COM Port enumerated by your PC


The Recovery Process uses either the COM35 or COM36 ports in our case.

In the SDK Make Target, the recover port is COM35 and we edit the WICED Sense Target as shown below:

Before using the SDK to Recover, we need to place the Kit in Recovery Mode by pressing the sequence of Rest and Boot Buttons as follows:


Now we click the Make Target Recovery button and we should see the following:


WICED Sense Modification for Debug:

  1. After programming the WICED Sense Kit with your application you will need to remove the resistor highlighted below to add debugging using a TeraTerm Window.
  2. Caution: Remember to Re-Install the resistor to reprogram the device.




WICED Sense Code Walk-Thru:



Procedure for running the WICED Sense TAG on USB Power:

  1. Remove the USB cable after you have successfully programmed the Tag
  2. Leaving the Battery cover off in this process, press the battery into the battery socket until you see the RED Led turn on



3. While holding the battery with your fingers making the battery connection, insert the USB Cable in the Tag


4.  Release your finger from the battery, letting the battery drop out of the socket and you are now running the Tag from the USB Power





Introduction to WICED Sensors


The following STMicro Sensors are used:


Please refer to the STMicro Web site for details on Sensor Data Sheets.



The iOS App receives notifications in this format:





/// Bit mask of sensor data
/// Bit 0: When set, accelerometer included X (2 signed bytes), Y (2 signed bytes) and Z (2 signed bytes).
/// Bit 1: When set, gyro included X (2 signed bytes), Y (2 signed bytes) and Z (2 signed bytes).
/// Bit 2: When set, humidity included (2 unsigned bytes in percentage).
/// Bit 3: When set, magnetometer included X (2 signed bytes), Y (2 signed bytes) and Z (2 signed bytes).
/// Bit 4: When set, pressure included (2 bytes, pressure in mBar * 10)
/// Bit 5: When set, temperature included (2 unsigned bytes, temperature in C * 10).
UINT8    included_sensor_data;
/// sensor data.
/// Data included in the order of the bits set.
/// Max length is 20 bytes, may be smaller when data for only some sensors is included
///        in the notification.
/// Notifications sent out when enabled
/// Notifications for Sensor Notification characteristic value (handle 0x2A)
UINT8    sensor_data[];


Android App Released:

The WICED Sense App for Android is now available on Google Play...


JB 4.3 Work-Around:

WICED Sense Android Pairing Work-Around


iOS Application designed by



Thank you.



RevisionChange DescriptionDate
1.1Added J-Link Cable for Reference08/11/14


WICED Smart J-Link Debugger


The WICED Smart J-Link Debugger is a Software debugger combined with Segger J-Link Debug Probe.


  1. The J-Link Debug Probe is shown below and the link is located here: SEGGER - The Embedded Experts



Figure 1: J-Link Segger Debugger


2.  Schematic of cable adapter to the J-Link 20 Pin connector:



Figure 2: J-Link Segger Debugger Interface Connector


3.  Shown below is the connection to the BCM20737TAG_Q2 Board:




Figure 3: J-Link Connection to BCM20737TAG_Q2 Board





4.  The Smart Designer J-Link setup procedure:


  1. Start SDK

  2. Connect USB to Top Port PC
  3. BCM20737TAG_Q2 Board Switch configuration for programming:


Figure 4: Boot ROM, Reset and Switch Buttons




    1. Please refer to the Quick Start Guide:

  1. Configuration for Push Button Switches
    1. BOOT ROM Push Button
    2. RESET Button
  2. Push Button Sequence:
    1. Press and Hold BOOT ROM Button
    2. Press and Hold RESET Button
    3. Release RESET Button
    4. Release BOOT ROM Button
  3. SDK Commands
    1. Run Clean
    2. Run PWM-Tones App
  4. Run Debugger:
    1. Remove USB and Insert Battery
    2. Return Switches to opposite program
    3. Connect J-Link USB Connector to PC
    4. Connect J-Link to Board - See Figure 3 above.
    5. Push Reset
    6. Run GDB Server
    7. Click OK – Observer 2 Green Lights
    8. Click Bug Icon in SDK (Top Middle Section)
    9. Click “I” Icon (Under Navigate Menu) – Instruction Mode

   Click “I” once then press F5 3 times.

Note: R3 (the 10K pulldown on RXd) must be removed for the debugger to work.

Please let us know if you have any issues.





Filter Blog

By date:
By tag: