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

How to run ble_app_hrs project?

Hello, I have major problem trying to debug/run ble_app_hrs example. The thing is that when I enter debug mode the code is stuck here:


0x000001B4 4908      LDR      r1,[pc,#32]  ; @0x000001D8
0x000001B6 68C9      LDR      r1,[r1,#0x0C]
0x000001B8 2900      CMP      r1,#0x00
0x000001BA D0FB      BEQ      0x000001B4

it doesn't even get to this timers_init();:


int main(void)
{
    uint32_t err_code;

    timers_init();

I really don't know what's the problem. I assume that it's hidden in startup or system files, but since I'm a beginner it's had to find solution. Could you help me, please?

I also tried to load built example from nRFgo Studio, but when I push "Button 0" LED0 doesn't start blinking, LED0 and LED1 are OFF.

P.S. I'm using Keil uVision 4

Related