Changing SCU UART Pins

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

Changing SCU UART Pins

1,085 次查看
MJames
Contributor I

Hi,

I am using a custom board with iMX8QXP. For debug purposes, I had to change the SCU UART pins to the M4 UART pins. I did the following change in the board.c file according to the document:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Use-UART0-RX-TX-as-SCU-UART-debug-port-o...

#define ALT_DEBUG_UART and #define ALT_DEBUG_SCU_UART. I added these to the board.c file. It worked and I was able to get prints from the SCU on the M4 core console.

The initial SCU UART pins used are:

       SCU_GPIO0_00 & SCU_GPIO0_01

The M4 UART pins used are:

       ADC_IN2 & ADC_IN3

I would like to revert to the previous settings. I removed the above change and rebuilt the SCFW. But now I am getting SCU prints on both the M4 console and on the original SCU UART pins. I even tried re-flashing the board with a firmware, built from a fresh source code. But still no change. How can I fix this?

@qiang_li-mpu_se Could you please look into this?

0 项奖励
回复
2 回复数

1,069 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please make sure that all changes made are reverted.
Also, you may try using a fresh source code instead.

Saludos,
Aldo

0 项奖励
回复

1,054 次查看
MJames
Contributor I

Hi @AldoG,
I have tried after reverting all the changes, but the issue is not resolved. I have also tried changing the entire firmware, built from a fresh source code. Still there is no change.

0 项奖励
回复