Solved
Hard reset on write USART.
I apologize for my english.
I came across an incomprehensible thing for me (general experience with STM32 for about 10 years).
I work with STM32L010K8. When I try to write to USART2->TDR, I fall into reset. Test on Keil and IAR, different optimisation.
Has anyone come across this?
