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

Cannot connect to nRF Connect on my phone using ble_app_template

Hello all !

I've been searching for an answer to my problem over the forum but I haven't found exactly what i'm looking for, so, that's why i'm posting this.

I'm using SDK 12.3.0 with nRF51DK (PCA10028 V1.2.2) with Segger Embedded Studio V3.40.

I'm actually trying to run ble_app_template from examples folder included with the SDK. I've been able to flash the DK (I had to modify flash_placement.xml and thumb_crt0.s) and the program "seems" to be running as expected, but when i'm trying to connect to it with nRF Connect on my phone, nothing appears in the scanner section.

I'm using my Samsung S7 phone, android version 8.0.0 with Bluetooth Low Energy supported on this device.

If you've been through something like this before, I'd like to know how did you overcome this situation ? Am I suppose to modify the code in any manner to expect something to be happening ?

Thank you.

Parents
  • Okay I found the problem.

    When using Segger and flashing a device, we must be careful to which address SRAM_START is set to. In my case, I had to change it to 0x20001fe8 instead of 0x20001870 as shown in the tutorials covering Segger.

    One last thing. Sometime it seems that when disconnecting from the ble_app_template, the board stays connected because LED1 stays lit.

    I don't know if it has something to do with RF comm, but anyway I still found a solution to my problem.

    hope it will help others in the same situation.

Reply
  • Okay I found the problem.

    When using Segger and flashing a device, we must be careful to which address SRAM_START is set to. In my case, I had to change it to 0x20001fe8 instead of 0x20001870 as shown in the tutorials covering Segger.

    One last thing. Sometime it seems that when disconnecting from the ble_app_template, the board stays connected because LED1 stays lit.

    I don't know if it has something to do with RF comm, but anyway I still found a solution to my problem.

    hope it will help others in the same situation.

Children
No Data
Related