How to use printf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-18 11:42 PM - last edited on ‎2024-10-19 3:15 AM by Andrew Neil
hey how to use printf in stm32f429i-disc1 board and my mcu is stm32f103cbt6
Solved! Go to Solution.
- Labels:
-
STM32F1 Series
-
STM32F4 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-19 3:27 PM
Hello,
Are you sure SB11 and SB15 are soldered and JP4 not fitted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-21 1:09 AM
As I said to you earlier, and @Tesla DeLorean has now also said:
Get the basic direct UART output working before adding the printf stuff.
ie, first get it working with HAL_UART_Transmit() - to prove that your basic setup is functional.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-21 3:06 AM
this one also not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-21 3:12 AM
Did you check the schematics (as I described previously)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-21 3:16 AM
@syedhashmiraza wrote:this one also not working
Unhelpful.
Show exactly what you have done - a minimum but complete example.
Also confirm your hardware setup.
See the Posting Tips for how to post your code, etc:
The better the information you provide, the quicker you will get a good answer.
Remember that nobody knows you, or what your setup is, or what you have done other than from what you post.
So far, you have given very little to go on
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-21 7:19 AM - edited ‎2024-10-21 7:43 AM
New Knowledge Base article today, "Implementing UART receive and transmit functions on an STM32":
This shows you how to do the basic HAL_UART_Transmit() - START HERE !
See also the linked Wiki article, "Getting started with UART":
https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-27 10:05 PM
hello
can you provide me a disign setting for printf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-28 3:04 AM
@syedhashmiraza wrote:can you provide me a disign setting for printf
Sorry - what do you mean by that?
Have you got the basic HAL UART working yet?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-29 9:15 AM
@syedhashmiraza wrote:
hello
can you provide me a disign setting for printf
Hello,
Attached a project that prints "Hollo World" using printf over USART1.
Need first to check which COM was allocated by windows to your STLINK VCP in Device manager:
Then in the HyperTerminal to configure these parameters:
Baudrate: 115200
Datasize: 7
Parity: None
Handshake: Off
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 3:58 AM
Same question repeated here, a few weeks later:
A complex system designed from scratch never works and cannot be patched up to make it work.
