Skip to main content
Associate
July 20, 2025
Solved

Uart interrupt & debug problem

  • July 20, 2025
  • 3 replies
  • 883 views

Hello.
First of all, thank you for your help.

I have a question about UART & debug.
When I stop transmitting from the PC while communicating with the PC and then debug, there is no problem.
When I stop debugging and resume while transmitting from the PC, the communication fails. When I check the UART related register, it remains in busy state.
This problem was previously fixed using stm32cubeide 1.9.0 or 1.17.0, but it has been fixed after changing to 1.19.0. Is there a problem with the installation? Where should I set to solve this problem?

Additionally, I opened and checked the old project, and there is no problem with the old project. The IC used to be mainly stm32f103, and this is the first time I am using stm32h743. Is there a problem with the chip parameter settings?

 

bsPark_0-1752999455174.png

bsPark_4-1752999663807.png

 

bsPark_2-1752999584393.png

 

bsPark_1-1752999496252.png

bsPark_3-1752999626259.png

 

 

 

Best answer by bsPark

Confirmed in other disclosures.

I can debug by disabling both overrun & dma on rx error.

 Solved: Issue in debug mode when use Uart - STMicroelectronics Community

bsPark_0-1753001768891.png

 

3 replies

mbarg.1
Senior III
July 20, 2025

In these cases, my approach is:

compare OLD (working) xx.ioc with NEW (buggy) and see what they did.

You can put your discoveries here and hope somebody in STM will take note; by sure, it can help some of us.

It is pretty common for STM to forget previous patch chile moving to new releases.

I noted that yesterday (?) a new release appeared - 1.19.1 - eventually try this one first.

If my notes solve the problem, please mark as solution.

Thanks

Mike

Pavel A.
Super User
July 20, 2025

PavelA_0-1753001619067.png

Disable Overrun detection.

 

 

bsParkAuthorBest answer
Associate
July 20, 2025

Confirmed in other disclosures.

I can debug by disabling both overrun & dma on rx error.

 Solved: Issue in debug mode when use Uart - STMicroelectronics Community

bsPark_0-1753001768891.png