Hi friends.
II am working in a project using the follow environment:
- LPC55S06JHI48 MCU
- MCUXpresso IDE v11.7.1 [Build 9221] [2023-03-28]
- SDK_2.x_LPC55S06 v3.10
After several hours of operation (about 10 to 12 hours) an interrupt error happens, as the picture below show.
It seems some pointer is null. To be honest I don't know if the problem is in mcan driver or freertos.
Do you have any idea what could be going on?
Thank you!
Hi,
Pls check your application code and check where the assert(expr) is located and check the condition expr. In the case, abnormal happens.
BR
XiangJun Rong
Hi XiangJun Rong.
Look the last picture again with the stack error.
Now look the picture below with the assert in fsl_assert.c.
failedExpr = 0xa738 "fsl_mcan.c:1315 : NULL != pRxFrame"
My code is simple. A file can_evt.c with the callback implementation
and a file can_rx_task.c with the task tha read the CAN frame
The problem is coming from the CAN interrupt. But like the driver describe, I do not develop any code inside the interrupt. I need to register a callback to get the signals. May be some problem in the SDK driver?
Thanks