Bug in KSDK 1.3.0 lwIP port when using FreeRTOS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bug in KSDK 1.3.0 lwIP port when using FreeRTOS

758件の閲覧回数
gaute_nilsson
Contributor II

When running lwIP on FreeRTOS, the port layer is not setting the interrupt priorities for the ENET interrupts as needed.

The port layer contains this code:

 

#if defined(FSL_RTOS_MQX)

install interrupt handlers...

 

  /* Set priority for ISRs */

  NVIC_SetPriority(ENET_1588_Timer_IRQn, 4U);

  NVIC_SetPriority(ENET_Transmit_IRQn, 4U);

  NVIC_SetPriority(ENET_Receive_IRQn, 4U);

#endif

 

It sets the interrupt priorities correctly if you are using MQX, but misses it when using FreeRTOS.

 

Also, if you are following Erich Stygers tutorial, you need to make sure the "Make SysCall Interrupt Priority" setting in FreeRTOS component is configured to have a higher priority than the ENET interrupts.

ラベル(1)
タグ(3)
0 返答(返信)