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

FreeRTOS Blinky stops

I've been trying to run the FreeRTOS blink example on a custom board.

After some time (I have not yet been able to determine exactly how long - but somewhere in the range 20-60 minutes I think) the device stops blinking.

Running on a PCA10056 board works fine. The only changes to the example has been to change from LED0 and LED1 to LED2 and LED3 which matches where I have LEDs on my custom board.

Out custom board does not have an LF clock, we only have a HF clock Can that be the issue?

Parents Reply
  • Hello,

    I can't think of any obvious reasons for this. I assume you changed the CLOCK_CONFIG_LF_SRC and CLOCK_CONFIG_LF_CAL_ENABLED to use the internal RC oscillator?

    When the device stops blinking, could you attach the debugger and read the CPU registers to try determine what state the device is in (if it's stuck in a fault handler, etc)?

    Reading CPU registers from running target using nrfjprog:

    nrfjprog --readregs

Children
Related