Using m4ctrl on 8QuadXPlus MEK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using m4ctrl on 8QuadXPlus MEK

1,729 次查看
lars_r_andersso
Contributor I


I'm trying to use m4crtl to reprogram the M4 core in an i.MX 8QuadXPlus MEK devkit.

I've cross compiled m4ctrl and m4ctrl_dev.ko.

After inserting the kernel module, I'm trying to deploy the hello_world_TCM.bin binary on the M4 using:

root@imx8qxpmek:~# ./m4ctrl --deploy hello_world_TCM.bin
Stop cortex M4, core 0
ioctl: Input/output error
dmesg:

[ 243.730740] stoping the core M0
[ 243.730862] pwroff the core M0

On the serial console (attached to the M4), I see this:

#################### CODEC SRTM DEMO ####################

Build Time: Mar 25 2019--15:31:14

##########################################################
Press 'r' to do M4 partition reset
Is this printed by code running on the M4?

Any idea why I'm getting ioctl: Input/output error when trying to run m4ctrl --deploy?

0 项奖励
回复
2 回复数

1,581 次查看
2548903578
Contributor III

Hi lars_r_andersso,

I cannot find the library when compiling m4ctrl. Have you encountered it?

0 项奖励
回复

1,587 次查看
CarlosCasillas
NXP Employee
NXP Employee

Hi Lars,

I’m afraid that i.MX8QXP family is still on preproduction, and we cannot provide additional information or support through this channel yet. In case of requiring help about i.MX8X, please directly contact with your Sales/FAE.

For complementary reference, you could take a look at the following thread:

Messaging Unit (MU) issue 

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 项奖励
回复