Issue with using Windows OTA upgrade app

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I'm trying to use the Windows OTA upgrade app, but the application seems to hang.  I'm using a Window 7 machine with a Bluetooth stack I downloaded from the Broadcom website:

Bluetooth Software Download | Broadcom

Here is my procedure:

1) Pair the device with the Win7 box via "Device and Printers" -> "Add a device" and click on my LE device pre-programmed with the "ota_firmware_upgrade" App

2) Run "WsOtaUpgrade.exe ota_firmware_upgrade-BCM920736TAG_Q32-rom-ram-Wiced-release.ota.bin"

3) The following dialog pops up and I click start and it gets to a transfer status and just sits here forever:

Smart Upgrade.jpg

Looking at the Frontline BLE sniffer, I don't see any LE traffic coming through.  When I click on the Device in "Device and Printers", I get this:

Device.jpg

So it seems to me that I may not be using the right stack.  Can somebody who has gotten the OTA upgrade to work on windows 7 comment?  Or perhaps give me your procedure that worked for you?

Thanks in Advance

-Howard

====UPDATE:==============

So I was able to get the OTA upgrade to work on Win8 machine which has the LE stack built in.  So for those having issues with Win7, try finding a Win8 machine.  The link is stable enough for the OTA upgrade to succeed

1 Solution

Let me try to address some of the topics that were presented in this thread throughout the evening.

1.

Yes, the free Windows based OTA Client software we provide within the SDK requires a Broadcom BCM20702 based dongle.  The BCM20702 is used in many of the low cost dongles on the market today, many of which can be easily found both online and at brick and mortar type retailers throughout the world.

2.

The Broadcom "Bluetooth for Windows" (BTW) software that supports these dongles can be found online at Broadcom.com (shows up as one of the top results on Google).  These are also the drivers that many of the BCM20702 dongle providers ship with their product.

3.

When installing these drivers it is VERY important to first disable any internal Bluetooth radio that already exist on your PC. The install simply will not work if a BCM20702 based chipset is not found.

4.

Once installed, reboot and plug the dongle in, then pair it with your PC using the Bluetooth Control provided in Windows.  Once this process is complete, the Windows client should work.

5.

OTA cannot be used for first time programming.  It has to be the HCU UART as noted in posts throughout the site.

6.

hThere are several OTA enhancements/improvements coming in SDK 2.2

7.

There is an excellent Appnote here on Secure OTA: WICED Secure Over-the-Air Firmware Upgrade Application Note (SDK 2.1 and TAG3 Board)

Secure OTA Requires the BCM20737 as it is the only device that supports RSA (Polar SSL library included in ROM), which is leveraged for "Secure" OTA.

In addition, for non secure OTA (supported on the 20736 as well) documentation, there are simple explanations within the headers of the source files provided.  In addition, there is a Readme in the ota_firmware_upgrade\peerapps\windows\wsotaupgrade directory you will find helpful.

8.

Yes, unprecedented growth this year within the community has made some of this information difficult to find on the website.  As we are assuming 100%+ growth again this year, my plan for 2015 is to create a much more scalable information architecture across all of the community websites (including of course BLE) which will make much of this information front and center.

As a quick patch for the OTA related information, I created a new category for OTA and updated all of the Tags attached to this content as to enable better searching: WICED Smart Forums

Hopefully many of you will find this helpful.

View solution in original post

19 Replies