你好,根据官方给的imx8m原理图参考,uart_debug的调试口有两个:uart1和uart2,uart1 对应于A53 核,uart2对应M4核,如下图所示。现在想将两个调试串口合并为一个,如:将M4调试换到uart1上,需要软件如何设置,硬件是否需要改动?
希望给解答一下,万分感谢。
Hi Huajian,
See below, please!
1. Hardware
Don't need to modify it.
2. software
(1)You need to modify software in linux BSP: u-boot & dts
this is for A53.
(2)You need to modiy firmware for M4
At first download SDK for M4 of i.MX8MQ from : https://mcuxpresso.nxp.com/en/select, select i.MX8MQ EVK , then select other items according to guidance.
Open it's one of demo apps, you will find UART2 is used for Console. so modify it to UART1.
Have a nice day!
NXP TIC weidong sun