[i.MX8MP] M7 DEBUG PORT

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

[i.MX8MP] M7 DEBUG PORT

ソリューションへジャンプ
872件の閲覧回数
petertseng
Contributor IV

I'm designing a customer's board using i.MX8MP

And I noticed that on IMX8MP-EVK respectively using

- UART2 for A53 debug output (KERNEL)

- UART4 for M7 debug output

petertseng_0-1706777931418.png

Under what circumstances will the M7 debug port be used?

Does the M7 debug port need to be retained?

 

Regards,

 

 

0 件の賞賛
返信
1 解決策
857件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @petertseng!
Thank you for contacting NXP Support!

We reserve the uart4 for M core debug in case you are using that core, but you can use the uart4 on A core.

If you want to use the UART4 under Linux, please check this guide:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-UART4-on-iMX8M-from-Linux-Use...

Best Regards!
Chavira

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
858件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @petertseng!
Thank you for contacting NXP Support!

We reserve the uart4 for M core debug in case you are using that core, but you can use the uart4 on A core.

If you want to use the UART4 under Linux, please check this guide:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-UART4-on-iMX8M-from-Linux-Use...

Best Regards!
Chavira

0 件の賞賛
返信
828件の閲覧回数
petertseng
Contributor IV

Hi Chavira,

I'm using the LF6.1.22-2.0.0 imx manifest.

https://community.nxp.com/t5/i-MX-Processors/IMX8MP-uart2-to-uart4/td-p/1616936

I have added all the patches based on the above article.

 

But when I try to use UUU to burn the sd.bin-flash_evk file I get the following error.

petertseng_1-1707101923002.png


Best Regards
Peter 

0 件の賞賛
返信
805件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @petertseng!

What board are you using?

Try to see if your board is connected correctly using the command "uuu -lsusb"

The patches of the post that you are referring to are to change the UART2 for UART4 to console debug for A core.

To add the UART4 to be used in Linux you have to refer to the post that I mentioned before.

To burn only the imx-boot image you have to use the next command:

uuu -b emmc imx-boot.bin

To burn the imx-boot image and the rootfs you have to use the next command:

uuu -b emmc_all imx-boot.bin imx-image.wic

If you are using Linux try with sudo and if you are using Windows open the PowerShell with administrator permissions


Best Regards!
Chavira

0 件の賞賛
返信
796件の閲覧回数
petertseng
Contributor IV

Hi Chavira,

Thanks for your reply!

Since the customer's PCB is still being designed, I can only use 8MPLUS-BB EVK for verification.

I previously referred to TARGET_IMX8MP_DDR4_EVK to create a customer's module.

But it seems that you can only use TARGET_IMX8MP_EVK (LPDDR4) to verify on EVK.

Now I can burn images to EVK, and UART4 also works fine

 

Best Regards
Peter 

0 件の賞賛
返信