Error code - Warning: dbg.M0039: There was an error running port acquire: Can not acquire SWD device!
To narrow down cause of issue, I tried loading hex files with help of PSoC programmer. MiniPgog3 is connected and powered (bottom right), but unable to erase flash or write image. See image below
Console window says :
- the connection between the programmer and the PSoC
Not checked yet
- the correct programming protocol is selected
I selected SWD, which I was using earlier.
- the correct connector option is selected.
I selected 5-pin, because we are using 5-pin
It seems MiniProg3 is working fine, but issue is connection between MiniProg3 and the PSoC. Does that means my board is broke, but remember board is running program(yesterday programmed) very well.
programmer.png 74.5 K
I see a warning before the erase concerned with powering the target. Are you providing power through miniprog3 and externally or have you got a short on your 3.3V supply (Measure)
No there is no short circuit
I would say there is an error in the connections to the chip for the programming circuit. We are not able to determine what it is as you won't share the Schematic. Also the Schematic could be okay but the board layout could have an error. Also have you tried to program the unit with the power off? Does that work? Your chip could be defective due to an ESD issue.