Fault with MQX on Kinetis MK10

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fault with MQX on Kinetis MK10

454 Views
amirpatoka
Contributor I

Hi,

We are currently using  Kinetis MK10DX256VLK7 Microcontrollers which runs MQX v4.0.1 on a couple of board types (primarily to manage IOs) which differ mostly in their configurations (Number of DI/DO etc)  and we have recently stumbled on an issue which happens only on one of our board types after around 2-3 days of continues running with continual IO operation and communication through CANbus.

In our CAN communication task we sleep on an event which is triggered upon CAN frame send completion and inside the MQX function _lwevent_wait_for we get a fault due to wrong memory address access, register R7 which is used to access the stack points to the wrong location (the low word of the register has been zeroed out).  The strange thing is that inside _lwevent_wait_for before the call to _lwevent_wait_for_internall the value of the register is ok.

Does anyone have an Idea what is happening? Could this be an issue with rescheduling which happens inside _lwevent_wait_for_internall? Could this be an issue with interrupts? Could this be our fault somehow but only happens once every couple of days and only on one board layout?

1 Reply

320 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Amir:

Since MQX v4.01 is a old version, I would suggest you update to MQX 4.2.0 with patch 4.2.0.2, and then test whether this issue still exist?

Regards

Daniel

0 Kudos