2022-09-23 02:54 AM
Hello,
I am using freeRTOS on dual-core of STM32H745I disco dev-kit.
Where I am able to print debug messages using "printf" function in core M7 using UART3 but not able to print messages using "printf" function.
I have followed the https://community.st.com/s/article/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages steps.
Also, I have done changes when I want to use UART3 for core M4. : Disabled UART3 on M7 and initialized(enabled) in M4 using "MainSTM32.ioc". Still, I am facing issue.
2022-09-23 03:06 AM
You're going to need to be less vague..
Lead with details.
Works here in Keil.
2022-09-23 03:10 AM
I am using STM32cubeIDE 1.8.0
2022-09-29 03:00 AM
Hello ST team @Amel NASRI
I still facing this issue is there any solution?
2022-10-05 02:06 PM
> I am able to print debug messages using "printf" function in core M7 using UART3 but not able to print messages using "printf" function.
Do you even understand yourself? And you have not explained anything useful, therefore nobody can help you.
2022-10-06 12:37 AM
@Piranha,
Thanks for your reply.
If you read properly my post then you can find that I have mentioned one link and I have followed the same steps for core CM7 where printf works fine.
I have followed the https://community.st.com/s/article/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages steps.
Also, I have done changes when I want to use UART3 for core M4. : Disabled UART3 on M7 and initialized(enabled) in M4 using "MainSTM32.ioc". Still, I am facing the issue.
Whenever I followed the same steps for Core M4 then I am facing printf issue like the one below.
I want to print "printf("\n\nGetting run time cpu usage over %ld ticks\n", STATS_TICKS);"(in my firmware)
But the actual print on UART(Tera Term) is "Gttting r n time upu usago over 1000 ticks|"
So that is the issue I am facing
Thanks!