On bare-metal and / or FreeRTOS SDK examples for cm4/cm7 running on a evkmimxrt1170, the PRINTF output from M7 displays on serial terminal. However, M4 calls to PRINTF are not sent to serial port.
Must I ensure BOARD_InitDebugConsole is called only from the M4 ?
1) How can make M4 access the serial port using PRINTF and NOT the M7 ?
2) Can both M4 and M7 access the same serial port using PRINTF if both call BOARD_InitDebugConsole ?
I understand this may be problem with un-synchronized combined output.
3) Are there any examples for RT1170-EVK, that both M4 and M7, can have their own dedicated serial port for printing debug statements?
Thanks in advance for any debug console tips,
-Ed
This seems to work
PRINTF using float "%f" does not printing anything?
Removing "CR_INTEGER_PRINTF" from the preprocessor did not fix?
Hi,
It seems you've solved this problem.
Thanks for sharing.
Regards,
Jing
Yes, you can use M4 to print via UART only. The LPUART1 is used to print information. M4 can also access LPUART4.
Regards,
Jing