cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32h503CBT6 doesnt start but can be programed

transistor
Associate II

Hello when i added PWM on TIM1 channel 2 the all code stopped working i tried uploading code by stm32programmer but it doesnt help im using Stm32h503CBT6

3 REPLIES 3
AScha.3
Super User

Hi,

so you wrote something very strange in your prog....

show source.

use </>  to put code here.

If you feel a post has answered your question, please click "Accept as Solution".
harrykane51
Associate II

I’ve run into similar issues with STM32 timers before. Check if you accidentally enabled any conflicting settings like the Break Input or Dead Time on TIM1 that can lock things up. Also, make sure your clock config is stable and not affecting PWM initialization. Let me know if you want to compare settings.

 
Ask ChatGPT
 
transistor
Associate II

i already solved this problem but i got a new, when i reconnected stm32 to power it doesnt want to run code and when i try to connect i get this error