Fault with MQX on Kinetis MK10

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

Fault with MQX on Kinetis MK10

550件の閲覧回数
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 返信

416件の閲覧回数
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 件の賞賛
返信