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

program restart on BOARD_PCA10001

I copied the example "ble_app_hrs_s110_pac10028(nRF51 PCA10028)"in the nRF51 sdk 10.0.0. I Changed the configuration to make it run on BOARD_PCA10001. But the program keep restarting all the time! The picture shows more detail!image description(/attachment/5020c2db17102491217f9af24f2f339c)(/attachment/6b942317563b99f33f2adff9478529f5)

The program restart when It runs into buttons_leds_init(&erase_bonds); I feel It is really inconvenient to use BOARD_PCA10001! Change the define in c/c++ tag to BOARD_PCA10001 can not make the example program run or even build crrectly. Maybe the err_code would be helpful

Parents
  • I fixed it! I create the project by click the COPY in Keil, Pack Installer and there are two more place to modify! in the nrf_drv_config.h file #define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4 in the pstorage_platform.h file #define PSTORAGE_NUM_OF_PAGES 2

    I tried to Open the example project In the SDK documents downloaded myself and change device and support board in the target option. It runs perfectly! So there are some difference between the SDK10 in Nordic official and Keil Pack Installer!

Reply
  • I fixed it! I create the project by click the COPY in Keil, Pack Installer and there are two more place to modify! in the nrf_drv_config.h file #define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4 in the pstorage_platform.h file #define PSTORAGE_NUM_OF_PAGES 2

    I tried to Open the example project In the SDK documents downloaded myself and change device and support board in the target option. It runs perfectly! So there are some difference between the SDK10 in Nordic official and Keil Pack Installer!

Children
No Data
Related