Setup:
- MCUXpresso IDE v11.7.1 [Build 9221] [2023-03-28]
- Custom Kinetis K82 board
- Segger J-Link Base
Debug works after freshly powering up my workstation and board, connecting the debug probe, launching MCUXpresso with my project, and hitting 'Debug' in the Quickstart panel.
However, the debug environment fails after a few debug cycles. (Powering everything down and starting up again fixes it.)
Symptom 1: Breakpoints are no longer honored, including the auto-breakpoint at the first executable statement in main().
Symptom 2: Some unnamed thread is running, and file 'startup_mk82f25615.c' pops into focus, positioned at function RsetISR()

Symptom 3: The application is not running (Its blinking LED remains off). If terminate the debug session the application remains stalled. But if I reset the board the application runs normally.
I normally have Semihosting active, but deactivating it does not fix the issue.
Can anyone cast some light onto this?
Denis