Hello i wanna lite an LED with PA13, but i also wanna be able to use the SW interface to update the code. anybody know how to do both contemporaneously?
After reset, PA13 PA14 debug pins are enabled,
you may check by software:
if it's not in debug mode, (eg. in CM3/CM4 check DHCS register)
,then config them as gpio ouput.
you mean lines 13 & 14 start in debug mode by default before my code executes?
Normally, those pins are assigned for DBG IOs after reset.
You may reconfigure them as you need, once you didn't detect in debug mode.
ok i see. THANK YOU Zhitai :-)
Let's make our STM32 forum more efficient!
mike louaillier wrote: ok i see. THANK YOU Zhitai :-)
mike louaillier wrote:
Retrieving data ...