Smart Bluetooth Forum Discussions
text.format{('custom.tabs.no.results')}
I made a couple of very simple custom boards that host the BCM20732S SiP.
I can successfully download the firmware onto the module and connect to it. However if I disconnect and try again, the peripheral cannot be discovered anymore.
1 - I use LightBlue app to scan and connect to the peripheral.
2 - I tired this with other sample firmwares that same with the SDK and the same things happened. Confirming that this has nothing to do with my own firmware.
3 - The interesting thing is that I do not have any issue with the BCM20732 TAG dev kit. I can connect and disconnect as many times as I want to the peripheral but when I run the same code on the module, the module becomes undiscovered after 1 or 2 times of connecting to it. Depending on how much time I allow before I disconnect and reconnect, I can only reconnect only once or twice before the module become undiscoverable (stops advertising).
4 - At first I though the problem might be because of lack external pull-up/down resistors on RESET, TMC, SDA, SCL pins (I assumed they are probably picking up noise). Then I tired soldering pull-up/down resistors to these pins through test pad on my board, but the issue persists.
5 - I barely have anything else on the board and this is driving me nuts. I can share the schematic through email (since I cannot attach pictures here)
Please help!
Thanks,
Mehrdad
Show LessIf you have the datasheet of BCM20706,Pls email to baofeng@compassic.com.TKS!
Show LessHi All,
I've been able to add a sample BLE application in the WICED-Smart-SDK-2.2.2/WICED-Smart-SDK apps directory, build and deploy it to hardware, but I'd like to have my application source outside of the SDK's install directory. In order to use the SDK's toolchain, I tried adding -I's to my Makefile based on absolute paths under the SDK install dir, which helped gcc find headers, but I still have undefined symbols like "UINT8" etc. despite including types.h.
Adding VERBOSE=1 to the sample app target I built show that make is using the "spar" directory with:
"Tools/common/Win32/make.exe" -C Wiced-Smart/spar -j4 cgs
Are there other examples of adding an app outside of the SDK tree, or guides on how the "spar" make system works?
Thanks!,
John
Show LessHi,
Info:
SDK 2.2
BCM20736S
In my application's create function I now call "wdog_configure(FALSE);" because I don't want to use it anymore.
But I still get watchdog resets, I think.
Then I noticed that I forgot to remove the "wdog_restart();" call from the code.
So my questions is:
Does the "wdog_restart();" call re-enables the Watchdog? Apparently it does. Can anyone confirm?
Thanks,
Gil
Show LessHi,
in my project I tried to integrate the secure OTA update functionality following the document "WICED-Secure-Over-The-Air-Firmware-Upgrade.pdf".
I'm using the Android App "Smart OTA". It works fine with the "wiced_sense" project on my device,
but using my project on my device I could never connect with this App, so I can not start an upgrade or even read the version info.
My device is based on the BCM20737S and I'm working with the WICED SDK 2.2.2.
Without the opportunity of debugging the App and debugging my device it is not possible to solve the problem, before start the production next week I urgently need help!
Show Less1) Does the recovery procedure mean the original application is installed or just that it is put in a state to accept new firmware?
I have done the recovery procedure on two sensors because I was having trouble downloading firmware in general and after the IDE claimed success, neither appear to start up via the battery or do anything at all (no LED activity, do not appear in the iOS test app anymore)
2) What is the magic sauce in pushing the reset button to download firmware?
Even though I know I have the UART correct because the recovery claims to succeed, I can not get anything to download. It always says to press restart. I have the board removed and connected via the USB cable, same as for recovery. I have pressed it, held it, done the combination with the boot button like for recovery, done other combinations with the boot button, held while inserting the usb cable and pretty much every variation I can think of without success using
WICED_SENSE-BCM920737TAG_Q32 download UART=COM7
or similar for other examples I have tried.
Show LessI develop ble with BCM920736TAG_Q32 and WICED-Smart-SDK-2.2.1
I add some code in the create function below:
void xxx_create(void)
{
......
devlpm_init();
devlpm_enableWakeFrom(DEV_LPM_WAKE_SOURCE_QUAD);
devlpm_registerForLowPowerQueries(application_time_to_sleep_callback, 0);
devlpm_registerForEarlyWakeNotification(application_time_wakeup_callback,NULL);
}
the application_time_to_sleep_callback function is:
UINT32 application_time_to_sleep_callback(LowPowerModePollType type, UINT32 context)
{
switch(type)
{
case LOW_POWER_MODE_POLL_TYPE_SLEEP:
ble_trace0("LOW_POWER_MODE_POLL_TYPE_SLEEP");
return ~0;
case LOW_POWER_MODE_POLL_TYPE_POWER_OFF:
ble_trace0("LOW_POWER_MODE_POLL_TYPE_POWER_OFF");
return 1;
default:
return ~0;
}
}
and the application_time_wakeup_callback function:
INT32 application_time_wakeup_callback(void* arg)
{
BACKEY_TRACE("WAKING UP!");
return 0;
}
when I run the program, the log keep showing:
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
19:20:58 - LOW_POWER_MODE_POLL_TYPE_SLEEP
When a puart interrupt comes, it stops showing LOW_POWER_MODE_POLL_TYPE_SLEEP
and never show it again! Does it means the chip never sleep? If the chip sleep, why it keep printing
LOW_POWER_MODE_POLL_TYPE_SLEEP but not just print once? If it waked up, why application_time_wakeup_callback
do not run?
Because something difficult in my device, I just can not measure the current.
Show LessHello,
I have a problem programming my BCM920737TAG.
When i programming my board this is the result:
I have used a different USB lead to rule this out.
Also i am able to receive the debug data back when i go into debug mode and switch number 2 off on sw4.
When programming, all the switches are in the on position in sw4. I press the restart button on the board before trying to program and make sure i am not in debug mode.
I have uninstalled the WICED SDK and re downloaded it and installed it but was no luck.
I also have a second board which i tried it on and have the same problem. I do not believe it to be a hardware issue or programming sequence.
I believe it could be something to do with a driver or the wiced IDE.
I have also had a good at doing a reboot but this does not work either.
Any information would be great.
Regards,
Luke.
Show LessI am using wicked sense tag and wicked smart sdk 2.2.1 to flash code into it. I am able to download and build the wicked_sense inbuilt app on my tag but not able to debug it. While dubugging I am getting an error that "Error in final launch sequence". can you help me out of this?
Show LessHi,
In our board, we want to use P1 as puart_rts. This is the only pin for it.
Can we use P13, P14 as WP?
And LED, may I use P12 instead of P14 as LED?
Thank you.
Message was edited by: Jeffrey Wang
Show Less