Hi nxp community,
I have two questions.
1. How can I 'printf' some messages from Cortex-M7 to uart terminal (e.g. uart 1, and uart 0 used for Linux console)? Can you provide a simple example that has already tested on S32G2-VNP-RDB2 board?
Below is my experiment setup:
Software: S32 Design Studio IDE v3.5 with packages
S32G2 AUTOSAR 4.4 RTD 4.0.2_P04 D2312
FreeRTOS 10.4.6 UOS 4.0.2 D2307
S32G IPCF 4.10.0 D2405
NXP Linux BSP42
NXP GCC 9.2.0 for Arm 32-bit Bare-Metal (for M7 core)
NXP GCC 11.4.0 (for A53 core)
Board: S32G2-VNP-RDB2
I create an example project from IPCF_FreeRTOS_S32G274A_M7_0, it can communicate with A53. (this project will be as a starter for our application with IPCF)
Now I want to printf (output) some messages from M7 to a uart terminal, how can I do?
2. how to see 'printf' messages on debug console when using a S32 Debug probe? I can debug M7 program by 'step, watch variables, and etc.' But nothing happens although I chosen 'Newlib semihosting (-specs=rdimon.specs) in 'Settings-> Target Processor'