Hi everyone, Yesterday I upload code on my board(STM32F303k8T6) one time.I use STlink V2 mini SWD programmer(SWDCLK,SWDIO,3.3v, gnd) After I try to upload new code in uc but keil say "device not found" but its connected. After I think keil try to erase code in flash so its get error.I connect nrst pin with rst pin in STlink V2 mini. After keil send error "Could not stop cortex-M device. Please check the JTAG cable". Can someone help me? Thanks.
Hi, When I connect nrst and rst pin my code not working and not upload new code.But when I connect nrst with 3.3v my code is working but new code is not upload to smt32.Error message is same "not found target" Dou you know what is the problem? Thanks
Most frequently these errors occur if you break the pins the debugger is using, ie reprogramming GPIOA PA13, PA14, or going into a low power or sleep mode where the core powers down along with the gates the debugger is trying to communicate with.
Remove broken code, and look at connection settings, select "connect under reset"
In worst situations pull BOOT0 high so it doesn't run your broken code.
Make sure to select SWD and not JTAG as the communications protocol.