background image

Build and Load a Sample Application

WICED Smart Quick Start Guide

 

Broadcom

®

WICED Smart Development System

September 24, 2014 • MMPWICED-Smart-QSG203-R

Page 16

During firmware download, a red LED labeled 'D2' on the WICED Smart tag flashes to indicate that a firmware 

download is in progress. 

If the WICED Smart tag is not recognized or detected by the programming tools, the following message may 

appear: 

Detecting device...
+------------------------------------------------------------------------------------------+
| No BCM20736 detected                                                                     |
| 1. Verify the BCM20736 tag is connected _AND_ powered                                    |
| 2. Verify SW2 and SW3 switches are towards Vusb and Vreg respectively and all SW4        |
|     switches are set to ON                                                               |
| 3. Press the reset button on the tag and retry                                           |
|                                                                                          |
| If this problem persists, the EEPROM on the tag may be corrupted                         |
| Please see Appendix D in the Quick Start Guide for recovery instructions                 |
+------------------------------------------------------------------------------------------+

Download failed. This version of the SDK only supports download to BCM20736A1 and BCM20737A1 devices

If this message appears, do the following steps:

1.

Verify that the WICED Smart tag is plugged into the development PC.

2.

Verify that the USB-UART driver is correctly installed and all switches (

SW2

SW3

, and 

SW4

) are correctly 

set as described in 

“Connect the WICED Smart Tag” on page 11

.

3.

Press the WICED Smart tag 

Reset

 button (see 

Figure 3

) to prepare the tag for firmware download on the 

UART interface.

4.

If a console window or terminal emulation program was used to monitor traces, stop the traces or close the 

terminal emulation program. To view traces, see 

“Viewing Traces from the WICED Smart Tag” on page 19

.

5.

Double-click the build target to rebuild and download the application to the tag.

Figure 3:  Reset Button

Reset

Broadcom 

Confidential

Summary of Contents for BCM20737TAG

Page 1: ...Smart QSG203 R 5300 California Avenue Irvine CA 92617 Phone 949 926 5000 Fax 949 926 5203 September 24 2014 Quick Start Guide WICEDSmart S WICED Smart Development System B r o a d c o m C o n f i d e...

Page 2: ...age 17 Coin Cell Powered Application on page 17 Figure 4 on page 17 MMPWICED Smart QSG202 R 07 30 14 Updated The document structure by converting to sections WICED Smart Development System Overview on...

Page 3: ...10 Windows Instructions 10 Install the WICED Smart SDK and IDE 10 Connect the WICED Smart Tag 11 Verify Driver Installation 12 Section 3 Using the WICED Smart IDE 13 Build and Load a Sample Applicati...

Page 4: ...Figure 5 LightBlue iOS Application Showing the WICED Smart Tag Heart Rate Monitor Application 18 Figure 6 Configure UART for Tracing 19 Figure 7 Connecting the WICED Smart Tag to a PC Running Windows...

Page 5: ...t Quick Start Guide Broadcom WICED Smart Development System September 24 2014 MMPWICED Smart QSG203 R Page 5 List of Tables Table 1 Overview of the WICED Smart SDK Top Level Directory 9 B r o a d c o...

Page 6: ...e instructions in this document must be completed before the WICED Smart SDK and WICED Smart Tag can be used Audience This document is for software developers who are using the WICED Smart Development...

Page 7: ...t your Broadcom Sales or Engineering support representative Customers who work with Broadcom through a distribution channel can acquire technical documentation and software from the Broadcom Support C...

Page 8: ...tures The BCM20737TAG included in the BCM92073X_LE_KIT can be used for feature evaluation debugging and developing Bluetooth Smart applications for either the BCM20736 or the BCM20737 For final produc...

Page 9: ...the WICED Smart tag see Connect the WICED Smart Tag on page 11 3 Create and load an application see Build and Load a Sample Application on page 13 and Reference 2 on page 7 4 Run the application see...

Page 10: ...Installer exe file to begin the installation A setup window similar to the screenshot below is displayed After being presented with the above screen 1 Click Next to continue with the installation 2 In...

Page 11: ...ce for programming and debugging and can also provide 5V power To enable the USB interface of the tag verify the following switch settings before proceeding 1 Each of the eight DIP switches on the SW4...

Page 12: ...as COM40 and COM41 The assigned port numbers vary among systems The first port HCI UART is used to download the application to the WICED Smart tag the second can be used to talk to the chip over the p...

Page 13: ...n iOS or Android mobile device with support for Bluetooth Low Energy If a Bluetooth Low Energy capable iOS or Android mobile device is not available Testing a WICED Smart Tag with Windows 8 on page 22...

Page 14: ...rgets that are preconfigured for various sample applications that run on the BCM20737TAG_Q32 WICED Smart tag platform The example below creates a new target for the Heart Rate Monitor application The...

Page 15: ...e Call to heart_rate_monitor_spar_crt_setup 002053cd OK made C Users bob Documents WICED WICED Smart SDK 2 1 1 WICED Smart SDK Wiced Smart spar build heart_rate_monitor BCM920736TAG_Q32 rom ram Wiced...

Page 16: ...ppendix D in the Quick Start Guide for recovery instructions Download failed This version of the SDK only supports download to BCM20736A1 and BCM20737A1 devices If this message appears do the followin...

Page 17: ...the UART port is no longer configured for downloads The Reset button must be momentarily pressed to enable downloads again Coin Cell Powered Application To run the application from a CR2032 coin cell...

Page 18: ...HR Monitor in a box as shown in the upper portion of the left most LightBlue window in the screenshot in Figure 5 The heart rate monitor application is configured to regularly send dummy heart rate m...

Page 19: ...n_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 Build and Load a Sample Application on pag...

Page 20: ...mart tag 1 In the WICED Smart IDE select Trace Stop Debug Traces or exit the terminal emulation program used to monitor debug output traces 2 Make sure all DIP switches of mini switch SW4 are set to t...

Page 21: ...n the features demonstrated by the application and the usage model For developers working with Windows operating systems Testing a WICED Smart Tag with Windows 8 on page 22 provides instructions that...

Page 22: ...and may vary slightly compared to Windows 8 To connect the WICED Smart tag with the Windows PC 1 Using the WICED Smart SDK a Build and download the hello_sensor application see Build and Load a Sample...

Page 23: ...e variable Select the correct device if it is not already selected and click OK to initiate a connection to the tag The connection process may take 5 10 seconds The tag will emit an audible beep when...

Page 24: ...b Push the middle Application button on the WICED Smart tag see Figure 10 The Hello X message is displayed in the Value field Each time the button is pressed the message number increments Hello Confi...

Page 25: ...ne here http www cheat sheets org saved copy eclipseCDT8 0 cheatsheet pdf Particularly useful keystrokes are listed below General search to search the WICED Smart SDK tree for a variable a Click the r...

Page 26: ...ngle computer to run the same or different applications To use the feature edit the make target for the required application to add the UART COMx and BT_DEVICE_ADDRESS address parameters Figure 11 sho...

Page 27: ...rectangle in Figure 12 4 Continuing to hold the Boot ROM button push and release the Reset button 5 Release the Boot ROM button Figure 12 Boot ROM Button Location SW2 SW3 and SW4 Positions 6 Create t...

Page 28: ...otice to any products or data herein to improve reliability function or design Information furnished by Broadcom Corporation is believed to be accurate and reliable However Broadcom Corporation does n...

Reviews: