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

Bluetooth can not connect

Hi,

I run the demo program "ble_app_hrs_freertos" and the ble can advertise, and my phone can find the device,but can not connect to it.

When I run demo program "ble_app_blinky" it's all ok.

I think there is something wrong with these macors value:

FLASH_PH_START=0x0

FLASH_PH_SIZE=0x80000

RAM_PH_START=0x20000000

RAM_PH_SIZE=0x10000

FLASH_START=0x26000

FLASH_SIZE=0x5a000

RAM_START=0x200022b8

RAM_SIZE=0xdd48

I don't know the meaning of these macors, is there any documatation to introduce how to use these macros.

Or is there any other problems affect the bluetooth.

Thanks.

Parents
  • Please go through this post to understand the meaning of those macros in your memory section placements file. The ble_app_hrs_freertos example unedited should run and connect fine out of the box.

    The Flash start address and size looks fine for the softdevice, but i am not sure about the RAM START and its size. Ifyou have UART or RTT logging, it will tell you to correct the RAM value based on the attribute size you have.

Reply
  • Please go through this post to understand the meaning of those macros in your memory section placements file. The ble_app_hrs_freertos example unedited should run and connect fine out of the box.

    The Flash start address and size looks fine for the softdevice, but i am not sure about the RAM START and its size. Ifyou have UART or RTT logging, it will tell you to correct the RAM value based on the attribute size you have.

Children
No Data
Related