nRF Connect Breakpoint -> FATAL ERROR: Platform external interrupt

Hi,

I'm developing with nRF Connect SDK v2.9.0 in VS Code. I followed the exercise l1_e1 from the intermediate course. When I debug with breakpoints and the first breakpoint is hit, everything is fine. When I continue execution, the application crashes and the TF-M terminal shows

FATAL ERROR: Platform external interrupt (IRQn): 0x00000041
Platform Exception:

I use the nrf54L15 DK with cpuapp/ns target. What's the problem?

Parents Reply Children
  • Yes, the example works otherwise

  • When I debug with breakpoints and the first breakpoint is hit, everything is fine. When I continue execution, the application crashes and the TF-M terminal shows

    Is this a breakpoint you set manually? If yes, where?

    Also, can you try the same with the Zephyr/hello_world sample?

  • The breakpoint is after line

    ret = k_msgq_put(&device_message_queue,&acc_val,K_FOREVER);

    as suggested in the tutorial. I have not observed this in applications without threads.

  • I tried to reproduce, and I somehow do not get the same error. Did you compile with debugging options?