in stm32 project,
I configure one timer, and in the ISR, ther are some operation in,
when doing the serial print, I got this reply:
Error:..\FreeRTOS\portable\RVDS\ARM_CM3\port.c,378
when I reach to the exact location it is this:
if( uxCriticalNesting == 1 )
{
// here is the line that it locates: line 378
configASSERT((portNVIC_INT_CTRL_REG & portVECTACTIVE_MASK) == 0);
}
and here is the timer isr:
void TIM1_UP_IRQHandler(void) //TIM1中断
{
if (TIM_GetITStatus(TIM1, TIM_IT_Update) != RESET)
{
TIM_ClearITPendingBit(TIM1, TIM_IT_Update);
switch(SlaveNode1Flag)
{
case 0:
message1(arb4_ID);
break;
case 1:
message1(arb1_ID);
break;
default:
break;
}
TIM_Cmd(TIM1, DISABLE);
}
}
more details:
freertos V9.00
MCU: stm32f1
TIMER: advanced-timer 1