Smart Bluetooth Forum Discussions
Hello everybody,
I'm using the segger J-Link Plus for debugging. I set up everything according to the how-to guides. I managed to get a connection to the BCM and it also stops at a set breakpoint. But if I try to step on or pres on run I get a bunch of error messages within the Segger GDB Server (see attachment)
do I do something wrong here?
Everything else seems to work though...
Thanx in advance for any help on this issue
Show LessHi Guys,
Here you can find a piece of my code
I did update the gatt database with incremental "Handle"
#define HANDLE_DEVICE_SN_UUID | 0x54 | ||
#define HANDLE_DEVICE_SN_VALUE | 0x55 | ||
#define HANDLE_DEVICE_SOFT_VERSION_UUID | 0x56 | ||
#define HANDLE_DEVICE_SOFT_VERSION_VALUE | 0x57 |
......
PRIMARY_SERVICE_UUID16 (0x004d, UUID_SERVICE_DEVICE_INFORMATION),
CHARACTERISTIC_UUID16 (0x004e, 0x004f, UUID_CHARACTERISTIC_MANUFACTURER_NAME_STRING, LEGATTDB_CHAR_PROP_READ, LEGATTDB_PERM_READABLE, 13),
'...',
CHARACTERISTIC_UUID16 (0x0050, 0x0051, UUID_CHARACTERISTIC_MODEL_NUMBER_STRING, LEGATTDB_CHAR_PROP_READ, LEGATTDB_PERM_READABLE, 8),
'....',
CHARACTERISTIC_UUID16 (0x0052, 0x0053, UUID_CHARACTERISTIC_SYSTEM_ID, LEGATTDB_CHAR_PROP_READ, LEGATTDB_PERM_READABLE, 8), 0x93,0xb8,0x63,0x80,0x5f,0x9f,0x91,0x71,
/*
CHARACTERISTIC_UUID16 (HANDLE_DEVICE_SN_UUID, HANDLE_DEVICE_SN_VALUE, UUID_CHARACTERISTIC_SERIAL_NUMBER_STRING,
LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_WRITE,
LEGATTDB_PERM_READABLE | LEGATTDB_PERM_WRITABLE, 15),
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
CHARACTERISTIC_UUID16 (HANDLE_DEVICE_SOFT_VERSION_UUID, HANDLE_DEVICE_SOFT_VERSION_VALUE, UUID_CHARACTERISTIC_FIRMWARE_REVISION_STRING,
LEGATTDB_CHAR_PROP_READ,
LEGATTDB_PERM_READABLE, 9),
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
*/
// Handle 0x61: Battery service
// This is an optional service which allows peer to read current battery level.
PRIMARY_SERVICE_UUID16 (0x0061, UUID_SERVICE_BATTERY),
// Handle 0x62: characteristic Battery Level, handle 0x63 characteristic value
CHARACTERISTIC_UUID16 (HANDLE_BATTERY_UUID, HANDLE_BATTERY_VALUE, UUID_CHARACTERISTIC_BATTERY_LEVEL,
LEGATTDB_CHAR_PROP_READ, LEGATTDB_PERM_READABLE, 1),
0x64,
Here I have two questions :
first : why when I comment both "HANDLE_DEVICE_SN_UUID " et "HANDLE_DEVICE_SOFT_VERSION" battery service works, and when I uncomment "HANDLE_DEVICE_SN_UUID" the battery service isn't working anymore ?
second :
Why when I uncomment the "HANDLE_DEVICE_SOFT_VERSION" and I give a length bigger than "9" (with the corresponding array following the init) my device doesn't "start" properly ?
I say it's not starting propertly because of the data I receive on Putty (Uart), I get only number following each other and not getting my program to work.
Thanks
Yannick
Show LessHey,
I have noticed a high power peak lasts for 500 to 600 msec diretly after reset (or after wakeup from deep sleep entered by calling devlpm_enterLowPowerMode).. the peak level is about 5 to 6 mA. Tried with different apps and always the same. Last tried with rtc_sample default example: rtc_sample-BCM920737TAG_Q32 download
Tested on latest SDK 2.2.1.71
Attaching below a scope reading snapshot
Any explanation? if it is a well know bug, any workaround?
Thanks,
Ayman
Show LessHello,
I would like to know what this function does and how it affects the master and slave when in a connection.
Ideally, I would like to not do a connection update request from the slave to speed the connection up but instead use this to fix the slave latency locally from the slave.
Hope that makes sense.
Thanks,
Vincent
Show LessHello,
Greetings of the Day!!
I'm Dinesh Katkar,from Robota Corporation,Pune-India.
I would like to share the updated circuit design of the wearable wristband design.We have decided to use A20737A Anaren module for our end product and planning to store the audio on wearable wristband and transfer it in smaller packet bursts and recreate the file on the other end.
It requires audio encoder on our wristband that will sample the audio samples and convert it into digital data and store it on the wristband.But when I started with the design ,I found there is no GPIO pin left for the Audio interface.So I need some reference design as well as technical support for audio interface circuitry with storage of audio .
We have used ---
Accelerometer ,which has below interface required with Anaren Module
SoC_SCLK
SoC_DIN
SoC_DOUT
SoC_CS_B
SoC_INT1
4-channel LED driver ,which has below interface required with Anaren module..
SoC_SCL
SoC_SDA
SoC_EN
SoC_CLK_32
And vibrator interface with Anaren module...
SoC_Vibrator
I have interfaced Digital microphone ,but I think we need to interface analog microphone with audio encoder support.Please provide me some technical support in hardware design of LE audio sampling and converting this to digital format and interface with BCM20737S SIP Module
kindly see the attached schematic in PDF format...
Looking forward for your positive response...
Hi all,
I keep getting
Detecting device...
Device found
Downloading application...
****Download failed - Press the reset button on the device and retry ****
18:37:10 Build Finished (took 3s.111ms)
When trying to program our module on our custom board. Have you seen this before?
Thanks!
Ethan
Show LessHey guys,
I want to program my custom board with a BCM20736S-Controller on it. But everytime I want to download the program I get either the error:
Download failed - Press the reset button on the device and retry
when I add to the make target of the hello_sensor program: BT_DEVICE_ADDRESS=20736S100331 PLATFORM_NV=SFLASH UART=15
or the error:
Download failed. This version of the SDK only supports download to BCM20736A1 and BCM20737A1 devices
when I make no changes in the make target.
I searched in the forum and found some tricks to fix this problem like adding
JOBS=1
VERBOSE=1
to the makefile, but these changes had no effect. What else can I do to fix the problem? Or have I missed something?
Show LessHello,
I'm trying to write a long characteristic and when calling the function with:
bleprofile_WriteHandleData(MY_CHARACTERISTIC_VALUE, db_pdu, MY_CHARACTERISTIC_LEN + 2)
#define MY_CHARACTERISTIC_LEN 160
it returns with 17 which is a error. Is there a description of error numbers ?
Thanks, Marko
Show LessHi all,
I'm wondering if it is possible for a BCM20737 chip to behave as a BLE master and slave at the same time.
I have done the following tests so far:
1. First of all I have created two applications, APP_X is BLE master and APP_Y is BLE slave.
APP_X (BLE master): contains GATT database, send advertisement, discoverable
APP_Y (BLE slave): no GATT database, non-discoverable, only scan for advertisement.
They can pair with each other and communicate successfully.
2. Then I want to let APP_Y(BLE slave) work as a master, and connect it with my phone (like a slave).
So I add another GATT database into APP_Y, make it discoverable and send its own advertisement.
if APP_Y is not connected to APP_X, I can successfully connect APP_Y using my phone, so it means APP_Y can work like a BLE master.
3. Here comes the problem:
(1) If I make APP_Y discoverable then start APP_X, even though APP_Y can receive APP_X's advertisement, the connection up event never occurs. So the BLE connection between APP_X and APP_Y can never be established.
Only when I make APP_Y non-discoverable, it can connect with APP_X successfully.
(2) If APP_Y is already connected with my phone, APP_Y can receive APP_X's advertisement, but connection up even never occurs as well.
This time even if I make APP_Y non-discoverable, it cannot connect with APP_X anyway.
From my test result, it seems that it is possible for a BCM20737 chip to be BLE master and slave at the same time, because the advertisement can be received without problem, but somehow the API blecen_Conn(HIGH_CONN, evt->wd_addr, evt->addressType); doesn't trigger the connection up event.
Could anyone tell me how to let BCM20737 chip to connect both a BLE master and a BLE slave at the same time?
Thanks
Jingdong
Show LessI want to use an FDC1004 capacitance to digital converter with a BCM920376s module, but the FDC1004 is on i2c address 0x50, the same as the BCM920376s's eeprom. Is it possible to power down the eeprom after booting so that I can use the FDC1004? Alternatively, is there any way of getting another i2c bus? I'd prefer not to bit bang i2c...
Show Less