My MQX4.2 projects often get stuck

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

My MQX4.2 projects often get stuck

1,016件の閲覧回数
wyflsxy
Contributor II

Hello everyone, my program is run on the MQX4.2 KSDK1.2 based board is frdmk64f

But my program on MQX4.2 always met with some strange questions

For example, the same code, such as I2C or CAN communication transmit and receive code,

the same code which was run ok in a project without MQX RTOS

when it  was run on the project with MQX will be have some strange problems

For example, when I put the code of  CAN initialization and CAN transmission  together in a function,it will run ok,but when I Separate them in two function then run in a task,it will not to be sent.

I2C exactly the same code works ok in a project without MQX rtos, but will be sent out in the waveform is not right with the  MQX rtos .

and the project with mqx often when I Modify some parameters

I'm really more dizzy,

Even I was only create One MQX task in the project it was  still have  the problem!!!

0 件の賞賛
返信
1 返信

842件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Yufei:

I think you need to check whether MQX rtos is running. Did you call OSA_Start in your application?

You can debug the task with MQX TAD

I suggest you the latest KSDK1.3, you can refer to the MQX rtos i2c example in the installation path

C:\Freescale\KSDK_1.3.0\examples\frdmk64f\demo_apps\i2c_rtos\i2c_rtos_mqx

Regards

Daniel

0 件の賞賛
返信