Smart Bluetooth Forum Discussions
Hi,
I've been using OTA (non-secure) to update my device. It seems to be working fine for the most part, but I'm finding that when I do OTA my NVRAM values are not getting cleared. Is OTA supposed to clear them? And if it does clear them what's the default value for NVRAM, 0xff?
My issue is that I'm storing some system values in NVRAM (like max pwm value) and I'm finding that after I OTA the value I had in there is still there.
thanks!
akbar
Show Lessi m getting java error when tried to install the WICED-Smart-SDK-2.1.1_installer.exe
error image is attached. kindly help ..
machine details : win7 64 bit, with 32 bit java
thanks
kiran
Show Less===
SDK: 2.1.
Tag: 920737.
app: OTA firmware download.
OS: Android smarphone
Download size ~ 25KB
===
Problem:
we try to implement OTA upgrade from Android smartphone to our device but some
handset, the download speed is successful and speed is ok, near 20s. But some
smartphone, like Samsung S3, the downloading speed is VERY VERY slow, near 20min.
Dont know where the problem is, Is smartphone lower-layer BLE device is too old or
we can use lel2cap_sendConnParamUpdateReq() to adjust the speed with master side?
I would like to disengage PWM and use the pin as a GPIO - input/output.
How do I do that ?
Functions:
void pwm_disableChannel(UINT32 mask);
void pwm_setReset(UINT32 mask, BOOL32 resetEnable);
only stop the PWM locking the output on high or low level.
The pwm_tones sample app conveniently disables the gpio output with:
// In state 4, disable output and the PWM entirely and insert an internal pull-down on the GPIO.
gpio_configurePin((TONES_LED1_GPIO) / 16, (TONES_LED1_GPIO) % 16, GPIO_OUTPUT_DISABLE | GPIO_PULL_DOWN, 0);
but that is not what I want. I want to reuse this GPIO, not disable it.
You can try to configure the pin back as gpio output with:
gpio_configurePin
but then when you try to set the level the output may get inverted depending on what level the PWM stopped at.
So if PWM stopped at high level later when you set 0 you will get 1, when you set 1 you will get 0.
When PWM stops at low level everything is normal.
Any idea how to properly reconfigure the pin from PWM to gpio ?
Show LessHi guys,
I am writing an application for Windows 7 similar to the WICKED Sense app on for Android. I haven't worked with BLE's before or coded in C++ before so this stuff is pretty new to me. I am looking at the Hello Sensor application for Windows 7 and trying understand it but my progress has been really slow. Is there a tutorial that I can go through to understand this better and faster?
To start with, I am trying to figure out the main loop where the data is being read from BLE stream and the GUI fields are updated. I want to run the WICKED Sense firmware on the WICKED sense tag and also read data from the other sensors for my application.
Thanks in advance. Your help is greatly appreciated
Show LessI wanted to try a sample program on my laptop using the default WICED FW. I downloaded the drivers that comes with SDK as well as Silicon Labs but no luck as it seems they are used only to download FW to WICED module using the USB cable. Win 7 Device Manager shows errors as there are no drivers available (pictures attached).
Is there a quick guide to help starting coding windows applications?
How can I get access to WICED API using VS2008 or VS2010?
Thanks,
Show LessHere are a few common tips and tricks when beginning SDK 2.1.1 development:
Java JRE Error:
The WICED SMART SDK utilizes a 32-bit version of an Eclipse based IDE which requires a 32-bit version of JRE to be installed.
If you have the 64-bit JRE installed you will need to install the 32-bit version as well.
The JRE is designed to allow both 32 and 64 bit variants to be installed on the same system.
Error on Download:
**** Build of configuration Release for project WICED-Smart-SDK ****
/Users/JT/Documents/WICED/WICED-Smart-SDK-2.1.1/WICED-Smart-SDK/make wiced_sense-BCM920737TAG_Q32 download
Linking target ELF
OK, made elf.
Call to wiced_sense_spar_crt_setup @ 002079a1
OK, made /Users/JT/Documents/WICED/WICED-Smart-SDK-2.1.1/WICED-Smart-SDK/Wiced-Smart/spar/../../build/wiced_sense-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-wiced_sense-rom-ram-spar.cgs. MD5 sum is:
d2d93699236ab6dbcf0ed18e0720c22b ../../build/wiced_sense-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-wiced_sense-rom-ram-spar.cgs
--------------------------------------------------------------------------------
Patches start at 0x00204568 (RAM address)
Patches end at 0x002052D0 (RAM address)
Application starts at 0x00204F70 (RAM address)
Application ends at 0x0020797E (RAM address)
Patch size (including reused RAM) 3432 bytes
Patch size 2568 bytes
Application size 10766 bytes
------
Total RAM footprint 13334 bytes (13.0kiB)
--------------------------------------------------------------------------------
Converting CGS to HEX...
Conversion complete
Creating OTA images...
Conversion complete
OTA image footprint in NV is 12829 bytes
Detecting device...
+------------------------------------------------------------------------------------------+
| No BCM20737 detected |
| 1. Verify the BCM20737 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 happens, 2 things might be wrong:
- You may NOT have installed the Silicon Drivers:
- The WICED Sense Kit is NOT in download mode so:
- Hold the External WAKE Button (1) down for 3 seconds and try to download again.
More Tips and Tricks to come
JT
Show LessDoes SDK 1.1 have support for 64-bit signed integer division?
Hello,
Can WICED technology link Smart phone to Keyboard & Monitor? This can be very helpful when working remotely and the VPN goes down?
Thanks
Navin
Show LessI have read through the Hardware Interfaces document, but some things are still not clear.
Are there any restrictions around using the various interfaces at the same time? For example, if we are using the PUART to communicate with our main system processor, is the functionality limitted at all while the module is using I2C to comm with external EEPROM?
Thanks
Show Less