2015-07-24 07:37 AM
Hello everyone.
I am using a custom board with STM32F030C8 on it and ST-Link V2 for programming and debugging on keil MDK v5.14.It worked fine and i was able to burn and debug the firmware. Yesterday i programmed an example from STM32 standard peripheral library, i was successful to program the controller first time. But the next time i try to flash the code, it throws an error ''No target connected''. I dont know but somehow it bricked the controller. The same thing happened with the other perfectly working board. And now i have 2 bricked boards.Is there any way i can find out if the controller is working?Because i am not able to detect it using keil or STlink visual programmer.I am very new to STM microcontrollers...Somebody plz help... #stm322015-07-24 07:51 AM
Change the ''connect under reset'' setting, or pull BOOT[0] high and reset, then Erase your code (ST-LINK Utilities), and look very carefully at what you're doing. Look especially if you are reprogramming the GPIO pins used for the debug interface, or putting the device into a low power mode (WFI, etc)
I'm honestly not sure these kinds of things wouldn't show up in a Google search because it's an awfully repetitive topic.2015-07-25 12:18 AM
Hey..!!Thanks for the head start..!!:-)
The ''connect under Reset'' didnt help....it is not able to detect the target..it says cannot connect to target..!!!I will try the other way...pulling the boot0 pin high and reset the chip..!!will keep updating..!!!Thanks!!2015-07-25 04:27 AM
hey pulling BOOT0 high is not working..!!!
I guess i am doing some mistake....i am connecting 3.3V from an external source...and then resetting the board..!!It is not going to Bootloader mode...the ST-Link utility says target not connected...!!!Any other way around for this??2024-01-23 07:54 AM
I have tried many ways but all failed. i bought a new ST-LINK and then it worked well