hi all
I am facing the issue that the chip still retains in debug mode. SWDCLK pin has connected to GND directly.
steps:
1. after flashed hex file, removed debugger from the chip and made a hard reset.
2. now my customized application has communicated with another device via UART(note: this is half-duplex communication and multiplexing UART line and power line to another device).
3.it again resuming debug mode and retain( ~1mA).
4.oftenly resetting the chip automatically.
NOTE:
1.SWDIO has connected to VDD with 10K resistor.
2.SWDCLK has connected to GND directly. I made strong GND on SWDCLK pin.
please help anyone.
thanks in advance