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

PCA100001 HardFault s120 heart rate

I'm trying to get the ble_app_hrs working on PCA100001, the software installation is brand new (all installed today). I modified the pca100028 ble_app_hrs to try work with PCA100001 since I don't have that in my folder structure.

I use S120 v2.00, loaded with nRFgo. V2.00 headers seem to be in the right place. I changed the device to the nRF51822 AA device, changed IROM1 to 0x1D000 and IRAM1 to 0x20002800.

I changed the clock source to this: NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION

In the softdevice_handler_init it all goes wrong when I hit this line: m_softdevice_enabled = true; It just kinda stops working, the debugger doesn't show where the control goes. Earlier it was getting past that and going to HardFault when I hit the very next line: return sd_nvic_EnableIRQ(SWI2_IRQn);

Any ideas?

Parents Reply Children
No Data
Related