Question
DEBUGGER STUCK IN FREERTOS TASK
Good day community,
I'm experiencing difficulty with debugging my project. I'm using FreeRTOS with a STM32L433 Nucleo.
The software is stuck in the task with the breakpoint and it won't hit the next breakpoint I have in my Timer1 interrupt.
STM32CubeIDE v1.5.1
MAC OS Catalina 10.15.5
void usartIT_H(void const * argument)
{
/* USER CODE BEGIN usartIT_H */
/* Infinite loop */
for(;;)
{
if (SerialFlag) //If value == 1
{
if((Rx_Data[0] == 0x3C) && (Rx_Data[5] == 0x3E))
{
liveButton.pageNr = Rx_Data[1];
liveButton.btnID = Rx_Data[2];
liveButton.btnVal = Rx_Data[3];
liveButton.btnPress = Rx_Data[4];
}
if((Rx_Data[0] == 0x66) && (Rx_Data[2] == 0xFF) && (Rx_Data[3] == 0xFF))
{
switch (Rx_Data[0])
{
case 0x66:
PageNrFromNex = Rx_Data[1];
break;
default: break;
}
}
// TODO: Clear Rx_Data MEMSET 0
dataPtr = 0;
SerialFlag = 0;
}
osDelay(10);
}
/* USER CODE END usartIT_H */
}