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?