Hi Alice,
I am using the standard LPCXpresso 45608 board from NXP but I discovered that my "some issues" are related to the program I'm debugging.
Without FreeRTOS I don't see a problem but with FreeRTOS it suddenly becomes unstable.
It seems like I can view/watch standard variables but no structures.
I took the lpcxpresso54608_freertos_generic example program from the SDK (SDK_2.x_LPCXpresso54608 version 2.5.0).
This example works but when I add some lines of code I can reproducethe same error as in my own application.
To the prvQueueSendTask I added just two lines of code. See the changed function:
static void prvQueueSendTask(void *pvParameters)
{
TickType_t xNextWakeTime;
const uint32_t ulValueToSend = 100UL;
TaskStatus_t task_list;
xNextWakeTime = xTaskGetTickCount();
for (;;)
{
vTaskDelayUntil(&xNextWakeTime, mainQUEUE_SEND_PERIOD_MS);
task_list.pcTaskName = "bla";
xQueueSend(xQueue, &ulValueToSend, 0);
}
}
TaskStatus_t task_list; and task_list.pcTaskName="bla"; , on lines 5 and 17, are added.
This just adds a structure to trigger my debugging problem.
When I place a breakpoint in the code to stop in this function (FreeRTOS task), I can view the variables used and continu the program. But as soon as I hover over "task_list", the debugger is corrupted. When I press Resume (F8), the program does not continue and I get an error message from MCUXpresso:

This problem only seems to pop up when I debug FreeRTOS tasks and try to view structures or arrays of structures.
Regards,
Rob