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

Parents
  • Finally someone has a problem like me! (sorry but that rarely happens, almost never)

    The biggest nonsense is that it doesn't even gets to the first function in main (I'm not even sure does it even gets to the main).

    Also have another question, where can I find something more about heart rate profile? But it has to be written for total beginners. I have already understood low level registers and all communication in this chip (nrf51822) but I simply can not find anything that has simple explanations how to understand and implement ble functions.

Reply
  • Finally someone has a problem like me! (sorry but that rarely happens, almost never)

    The biggest nonsense is that it doesn't even gets to the first function in main (I'm not even sure does it even gets to the main).

    Also have another question, where can I find something more about heart rate profile? But it has to be written for total beginners. I have already understood low level registers and all communication in this chip (nrf51822) but I simply can not find anything that has simple explanations how to understand and implement ble functions.

Children
No Data
Related