cancel
Showing results for 
Search instead for 
Did you mean: 

How to redirect printf to a UART on stm32f429i-disc1

syedhashmiraza
Associate II

how to use printf in stm32f429i-disc1?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

+ You asked the same question in this thread: https://community.st.com/t5/stm32-mcus-embedded-software/how-to-use-printf/td-p/733254

And I provided you a project on which printf is used on stm32f429i board.

So the question is, are you reading our posts/comments?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4

You posted this as a reply to the Knowledgebase article:

https://community.st.com/t5/stm32-mcus/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages/ta-p/49865

Have you actually read that article?

As noted here:

The first thing you need to do is to get basic, direct UART output working:

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART

 

You need to get that done before you start thinking about redirecting printf to it!

See also:

https://community.st.com/t5/stm32-mcus-embedded-software/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages/m-p/740284/highlight/true#M56711

SofLit
ST Employee

See these threads:

https://community.st.com/t5/stm32-mcus-products/problems-with-data-reception-via-usart3-on-stm32f429-disco-board/m-p/741831

https://community.st.com/t5/stm32-mcus-products/how-to-use-printf-in-stm32f429i-disc2/td-p/736508

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
SofLit
ST Employee

+ You asked the same question in this thread: https://community.st.com/t5/stm32-mcus-embedded-software/how-to-use-printf/td-p/733254

And I provided you a project on which printf is used on stm32f429i board.

So the question is, are you reading our posts/comments?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@SofLit wrote:

I provided you a project on which printf is used on stm32f429i board.


@syedhashmiraza you even marked that as The Solution!

 

And that thread has already covered the importance of getting basic, direct UART output working first.