This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

array size increase causes bluetooth to not connect.

Hello once again Nordic Pro's,

My latest issue, I believe to be related to stack/heap settings, but dont have enough information to track/correct.

I have a couple int array variables that, if their size is increased above 105 elements, bluetooth no longer connect to our central test board.

Not sure where to start chasing this  as I have no compile, build or load error messages, just a failure to connect.

Any help in chasing this down is greatly appreciated.

Device: 51822,

SDK: 12.3,

IDE: Keil 5.28,

App based on app_ble_uart peripheral.

Thanks again,

Robin @ TL

Parents Reply
  • Hello everyone,

    According to the map file, I am well under RAM and ROM limitations.  There are only 2 arrays and they are both static as are most of the variables in our app.  W/r/t stack size it is define in the startup at 2048.  Any change to this in either direction causes the same result, not BLE connection.  So, where should I look when debugging, given no stack pointer overrun?

    Thanks again

    Robin @ TL

Children
No Data
Related