I'm desperately trying to recover my Wiced Sense device with the factory image using "Wiced Sense SDK 2.1 v1.1 Firmware "
I followed every steps from the blog, including recovery process.
Building and downloading process is fine.
The problem I'm facing is that device is only discoverable for a few millis when I insert the battery, led1 stops changing its brightness and device seems to go offline.
No connection can be then established from central devices and device is not discoverable anymore.
My understanding of the code is when advertising (normally) stops, "button 2" should restart advertising. That seems not to be the case.
I investigate further on this strange behavior. I built an entire new application, trying to make led2 toggle on every fine timer callback calls. It blinks, but only for the period observed previously.
Am I missing some concepts, like timeouts, deeps sleep or other ?
Could it be an hardware failure ?
Anyone facing the same issue ?
I'm using WICED-Smart-SDK-2.1.1-IDE-Installer on Windows 7 / iOS 7 and Android 4.4 for central device.
Thanks for your replies.
Solved! Go to Solution.
I followed instructions from Programming the 20732S MODULE USING 2073xTAG Board Section 6 to convert cgs file to hex and use ChipLoader to load the file to the Wiced Sense device.
So, basically, I copied the following files from SDK/Tools and SDK/Platform/BCM920737TAG_Q32 into a folder:
and launched following command lines (with appropriate values) :
Unfortunately, I got the following error:
Download minidriver successfully had written 64 bytes to address 0x00201000
Download minidriver successfully had written 64 bytes to address 0x00201040
Download minidriver successfully had written 64 bytes to address 0x00201080
Downloaded 0 code bytes ( 0.0%) and 0 data bytes ( 0.0%). Verified 0 code bytes ( 0.0%) and 0 data bytes ( 0.0%). Current state: Terminated with error
Download minidriver error trying to write 64 bytes to address 0x002010C0
Any clue on what's happening ?
Another point: looking at the difference between the cgs file I generated and the one you provided showed me that my "entries" are made of "compressed data" and yours are only "data".
e.g ENTRY "Compressed data" = ".text from ../../build/wiced_sense-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-wiced_sense-rom-ram-spar.elf" vs ENTRY "Data" = ".text from ../../build/wiced_sense-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-wiced_sense-rom-ram-spar.elf"
I think this is quite normal as the files in the build folder are .ccgs (i guess it means compressed cgs), but could this be the reason we can't get functional firmware ?
I read in BCM20732 Memory Map Architecture that SFLASH uses uncompressed images. So, should I load your firmware into SFLASH instead of EEPROM ?
Hello Alex and Brownie,
Thanks for your patience on this issue.
The compressed data and data is the reason why you can't program with the cgs file
However, I have a work-around for fixing the original issue and I will post the changes today.
We have a crystal warm-up issue and I will post the video on the BLOG site for you to see.
Please change the Crystal Warm-up time from the 2800 value to 5000 in the mandatory.cgs file located at: C:\Users\jtate\Documents\WICED\WICED-Smart-SDK-2.1.1\WICED-Smart-SDK\Wiced-Smart\tier2\brcm\mandatory\bld\20737\mandatory.cgs
ENTRY "PMU Crystal Warm up Time"
"Crystal warm up time" = 5000
Short video showing the change is on the BLOG:
I'm facing same problem with WICED Sense firmware 1.2 (new version).
Moreover, I'm facing this problem not only wiced_sense app but also sample apps of WICED Smart SDK 2.1.1.
(hello_sensor, speed_test, proximity, etc.)