2013-08-08 02:20 PM
Hey guy's !
[I'd like to apologize for my bad englisch] I think I've made two mistakes in a row... First, I designed a STM32 Board with the usage of the Pin PA.15 - which is remapped after Reset as JTDI. UnfortunatelyI realised this mistake after completing the hardware part of my project - so i had to look for a software solution. I wrote a code with usage of :GPIO_PinRemapConfig(GPIO_Remap_SWJ_Disable, ENABLE);
This one works perfect. I am able to use Pin PA.15 as GPIO - BUT I'm no longer able to load a new code to the STM I'm using Keil µVision 4 and it's telling me that ''No Target connected''
I'm using a STM32F100VBT6B. I programm the Chip with a STM32 Discovery Board using the SWD Pins.
Any idea what I can do in this situation? Is it possible to erase the programm stored in the STM32? Is it possible to use PA.15 as GPIO and SWD for programming and debugging?
Thanks in advance!
#stm32-jtag-swd-gpio-reuse
2013-08-08 05:03 PM
Pull BOOT0 High at reset, should permit you to recover the part, and erase the user code.
Just disable the JTAG, and not the SWD * @arg GPIO_Remap_SWJ_JTAGDisable : JTAG-DP Disabled and SW-DP Enabled2013-08-10 12:51 AM
Thank you !
Changes and recovery worked perfectly!