2016-09-24 05:24 AM
Hello
I'm new with St.is it possible to use SWDI pin for programming and simultaneously using as GPIO ?best regards2016-09-24 06:16 AM
You aren't really programming and running the code at the same time, right?
If you want to use PA13 in your application you can do so, don't expect to use it for debugging at the same time. Use other methods to debug/diagnose the application.2016-09-24 10:08 PM
Hello clive
I just want to use this pin as GPIO and when ever i need to program myuc use this pin as pin of SW not debugging .2016-09-25 05:40 AM
You need to provide a sufficiently long window to allow the debugger to connect, or provide access to NRST and/or BOOT0 so the code doesn't execute.
You also need to think about what else you have connected electrically to the pin. Having you app use it to drive a GPIO attached LED would work. As a input driven by some other board logic, not so much.