cancel
Showing results for 
Search instead for 
Did you mean: 

Uart interrupt & debug problem

bsPark
Associate

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
bsPark
Associate

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

 

View solution in original post

3 REPLIES 3
mbarg.1
Senior III

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

PavelA_0-1753001619067.png

Disable Overrun detection.

 

 

bsPark
Associate

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