2020-04-06 11:37 AM
Hi,
I'm using ST35RU3993-EVAL board without ST-LINK debugger; generating .bin file with Keil uVision5 IDE and uploading the firmware with the Reader suit GUI.
I would like to see output of printf function in the serial terminal. Is that possible, or UART is used only for communicating with the GUI?
Thanks,
Mirnesa
Solved! Go to Solution.
2020-04-08 04:57 AM
Hello Mirnesa,
On the PCB you find on the left side a pin called "UART LOG". This is the TX pin of a UART, which can be used to send out from the FW logging or debug information.
Please use this UART pin (together with a GND pin) for logging and debugging.
A example of howto would be the following code from main.c
LOG("FW Version = %02d.%02d.%02d.%02d\n",FW_VERSION_MAJOR, FW_VERSION_MINOR, FW_VERSION_MICRO, FW_VERSION_BUILD);
This code prints on the log UART the version number information at startup of the board.
BR
Nick
2020-04-08 04:57 AM
Hello Mirnesa,
On the PCB you find on the left side a pin called "UART LOG". This is the TX pin of a UART, which can be used to send out from the FW logging or debug information.
Please use this UART pin (together with a GND pin) for logging and debugging.
A example of howto would be the following code from main.c
LOG("FW Version = %02d.%02d.%02d.%02d\n",FW_VERSION_MAJOR, FW_VERSION_MINOR, FW_VERSION_MICRO, FW_VERSION_BUILD);
This code prints on the log UART the version number information at startup of the board.
BR
Nick
2020-04-09 05:03 AM
Hi Nick,
I missed that one. Thanks :)
Kind regards,
Mirnesa