This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Migration from SDK 11 alpha to 11 final, advertising problem

Hello,

This morning i did migration of my code from SDK 11 alpha 2 to 11 final on nRF52 and i have a big problem.

Nor bootloader or application do advertising. Am I alone ?

(i possibly not checked bootloader in 11 alpha but it worked with SDK 9 on nRF51)

What can I do as test ?

Parents
  • FormerMember
    0 FormerMember

    Could you run the chip in debug mode and check where in the code it fails?

    It can also be useful to take a look at the migration document that comes with the S130 v. 2.0.0 softdevice. It describes migration from S130 v.1.0.0, but it may still be worth taking a look.

  • Have not. Only moved it. Calling TIMER2 (systick_init) prior to ble_init() or calling systick_init() immediately after ble_init() and there is no BLE Advertising. Removing the call to systick_init() or adding a delay of 50ms following ble_init() and BLE Advertising works, a connection can be made, and then disconnect occurs within 3 seconds.

    This is code that has worked flawlessly for several months. Only started getting wonky with the update from SDK9 -> SDK11 and s130 v2.0.1. No hardware change. nRF51822 xxAC with LFCLKSRC = RC.

Reply
  • Have not. Only moved it. Calling TIMER2 (systick_init) prior to ble_init() or calling systick_init() immediately after ble_init() and there is no BLE Advertising. Removing the call to systick_init() or adding a delay of 50ms following ble_init() and BLE Advertising works, a connection can be made, and then disconnect occurs within 3 seconds.

    This is code that has worked flawlessly for several months. Only started getting wonky with the update from SDK9 -> SDK11 and s130 v2.0.1. No hardware change. nRF51822 xxAC with LFCLKSRC = RC.

Children
No Data
Related