imx9596 - is it possible to flash only M7 core with JLink ?

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

imx9596 - is it possible to flash only M7 core with JLink ?

Jump to solution
1,649 Views
anicolle
Contributor II

Hello,

I am currently working on an iMX9596 evaluation board and I am therefore trying to do multi-OS segregation. To flash the different cores, I am creating a flash.bin file and flashing it using the USB-C port, as explained in the datasheet and training documents. I can then obtain two OSes running: a Linux one on the A55 cores and a Zephyr one on the Zephyr core. I will often change the Zephyr OS but not the Linux one, which is why I am trying to be able to quickly change the Zephyr firmware using the JTAG port and a J-Link probe.

I downloaded the latest J-Link software and found out that my device, iMX9596-M7, is listed in the J-Link library. However, when I tried to connect with J-Link, I got the following error, attached to this message.

Furthermore, my SM on M33 causes my Zephyr and Linux systems to reboot as well. Is there a way to flash only the M7 using J-Link, or is this not supported? I would also like to be able to debug with it.

Thank you in advance for your answers.

0 Kudos
Reply
1 Solution
1,614 Views
anicolle
Contributor II
I found that if you stop linux booting in uboot you can then flash the M7 core with jlink probe.

View solution in original post

4 Replies
1,615 Views
anicolle
Contributor II
I found that if you stop linux booting in uboot you can then flash the M7 core with jlink probe.
1,608 Views
danielchen
NXP TechSupport
NXP TechSupport

Thanks for sharing.

0 Kudos
Reply
1,625 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @anicolle 

 

sorry imx9596 is not launched yet.   I would suggest you contact the person who gave you this product for support.

 

Regards

Daniel

1,614 Views
anicolle
Contributor II
Hello,

Ok thanks.

Regards,
Audrey.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2044399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx9596%20-%20is%20it%20possible%20to%20flash%20only%20M7%20core%20with%20JLink%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2044399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20on%20an%20iMX9596%20evaluation%20board%20and%20I%20am%20therefore%20trying%20to%20do%20multi-OS%20segregation.%20To%20flash%20the%20different%20cores%2C%20I%20am%20creating%20a%20flash.bin%20file%20and%20flashing%20it%20using%20the%20USB-C%20port%2C%20as%20explained%20in%20the%20datasheet%20and%20training%20documents.%20I%20can%20then%20obtain%20two%20OSes%20running%3A%20a%20Linux%20one%20on%20the%20A55%20cores%20and%20a%20Zephyr%20one%20on%20the%20Zephyr%20core.%20I%20will%20often%20change%20the%20Zephyr%20OS%20but%20not%20the%20Linux%20one%2C%20which%20is%20why%20I%20am%20trying%20to%20be%20able%20to%20quickly%20change%20the%20Zephyr%20firmware%20using%20the%20JTAG%20port%20and%20a%20J-Link%20probe.%3C%2FP%3E%3CP%3EI%20downloaded%20the%20latest%20J-Link%20software%20and%20found%20out%20that%20my%20device%2C%20iMX9596-M7%2C%20is%20listed%20in%20the%20J-Link%20library.%20However%2C%20when%20I%20tried%20to%20connect%20with%20J-Link%2C%20I%20got%20the%20following%20error%2C%20attached%20to%20this%20message.%3C%2FP%3E%3CP%3EFurthermore%2C%20my%20SM%20on%20M33%20causes%20my%20Zephyr%20and%20Linux%20systems%20to%20reboot%20as%20well.%20Is%20there%20a%20way%20to%20flash%20only%20the%20M7%20using%20J-Link%2C%20or%20is%20this%20not%20supported%3F%20I%20would%20also%20like%20to%20be%20able%20to%20debug%20with%20it.%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20your%20answers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045382%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx9596%20-%20is%20it%20possible%20to%20flash%20only%20M7%20core%20with%20JLink%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045382%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20sharing.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx9596%20-%20is%20it%20possible%20to%20flash%20only%20M7%20core%20with%20JLink%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EOk%20thanks.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EAudrey.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045311%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx9596%20-%20is%20it%20possible%20to%20flash%20only%20M7%20core%20with%20JLink%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045311%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20found%20that%20if%20you%20stop%20linux%20booting%20in%20uboot%20you%20can%20then%20flash%20the%20M7%20core%20with%20jlink%20probe.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx9596%20-%20is%20it%20possible%20to%20flash%20only%20M7%20core%20with%20JLink%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246847%22%20target%3D%22_blank%22%3E%40anicolle%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3Esorry%20imx9596%20is%20not%20launched%20yet.%26nbsp%3B%20%26nbsp%3BI%20would%20suggest%20you%20contact%20the%20person%20who%20gave%20you%20this%20product%20for%20support.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E