2023-02-15 01:52 AM
made my own board with stm32g431kb and accidentally disabled swd. I can't acces my board anymore and pulling up boot0 doesn't help.
2023-02-15 02:00 AM
Youre not locked out , try this:
2023-02-15 02:26 AM
is this cubemx or cubeide? in dube ide and cubemx I don't see the tab from your picture. and also do this with or without boot pulled up?
2023-02-15 02:29 AM
Like the "raindance", did it several times...
2023-02-15 02:30 AM
CubeProgrammer
2023-02-15 02:34 AM
2023-02-15 02:44 AM
I tried this several times with and without boot pulled up and it wont connect
2023-02-15 03:08 AM
show us how youre connecting the SW pins, do you connect the reset line from the stlink to your board?
Just to be clear, it was working fine untill you disabled SW in your code?
2023-02-15 03:37 AM
I can't connect the reset line both to the stlink and manually pull it down. but i tried both. it's a custom board but here is a picture. yes it worked fine the first time with both my boards ( I made two) . but after that, they both didn't connect anymore. then i saw i forgot to check the swd debugging pins in ide. i just connect the swd and swclock to the swdio and swclk of the stlink.
2023-02-15 06:16 AM
>>but after that, they both didn't connect anymore
If you didnt break anything, you should be able to programm the mcu even without SW active in your previous code.
>>I can't connect the reset line both to the stlink and manually pull it down
Just do one of them not both at the same time.