I am using an STM32F373 and debugging with SWD. I want to use PA15 as an IO pin. When I go to configure PA15 as an output, the call to GPIO_INIT() causes a reset which disconnects the debugger. I'm not sure, but I think this is because PA15 is used for JTAG and something is interfering.
The reference manual says to use PA15 I need to set SWJ_CFG=010. How do I do this? I've searched through the manual and can't find any reference to it other than that. The STM32F103 has an AFIO register for setting it but I can't find something similar.
Is there something else I'm failing to do?