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

hrs malfunction when switch to sdk9.0

I modified the nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\pca10001\s110\ble_app_hrs proj and downloaded to my self-made pcb,and it worked well. Then I want to update to sdk 9.0 ,since I want new DFU. I modified \nRF51_SDK_9.0.0_2e23562\examples\ble_peripheral\ble_app_hrs\pca10028 proj. , pca 10028 was changed to pca10001,51422 changed to 51822, and other neccessary modifications made. Now I get a problem, the advertising led is toggling normally, but I just cannot find the ble device on the phone!! The mem map is the following: IROM1 0x18000 0x28000 IRAM1:0x20002000 0x2000 I believe the sd in 51822 chip is working,but I donnot know what's wrong. Any help? Thanks in advance.

Parents Reply
  • thanks.I tried what u said,i got no err loop. I compared the code between the two projs. The ble bond manage files show a lot of diferrences. In sdk 5.0, it is called ble_bondmngr.c, while in sdk 9, it is called device_manager_peripheral.c. Is there something I have to do to make it adapt to 51822? I tried to clear bond info in sdk 5 hrs proj, and I can connect 51822 normally, but in sdk 9, if I tried device_manager_init(true), the code will halt at some place, with no advertising led toggling. What can I get from the my try?

Children
No Data
Related