Using m4ctrl on 8QuadXPlus MEK

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

Using m4ctrl on 8QuadXPlus MEK

1,047 Views
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 Kudos
Reply
2 Replies

899 Views
2548903578
Contributor III

Hi lars_r_andersso,

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

0 Kudos
Reply

905 Views
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 Kudos
Reply