There was an error running port acquire: Can not acquire SWD device!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Leo_liu1
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

     I can  program  success only in the first time. after that,it always point "There was an error running port acquire: Can not acquire SWD device!" how can i program it again,thanks~

psoc4.png

1 Solution
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi Leo,

Seems that the KitProg is in CMSIS-DAP mode. Kindly refer this thread.

Kitprog stops working after firmware update (CY8CKIT-059)

Thanks,

Ryan

View solution in original post

0 Likes
4 Replies
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi Leo,

Seems that the KitProg is in CMSIS-DAP mode. Kindly refer this thread.

Kitprog stops working after firmware update (CY8CKIT-059)

Thanks,

Ryan

0 Likes

Hi,Rzzh,

     Thank you very much !

     You solved my problem perfectly.

0 Likes
SrikanthD_56
Employee
Employee
25 sign-ins First question asked First comment on blog

Which kit are you using? By looking at your project, I guess you are using CY8CKIT-042-BLE.

Please make sure that the jumpers on the are at their default position before programming, by referring to the kit guide.

Currently I see that you are using the KitProg in CMSIS-DAP/Mass Storage mode. Try changing the KitProg to default programming mode and then try programming the device, see if that helps. Refer to section 4.1 Enter or Exit the Mass Storage Programmer Mode of KitProg User Guide for steps to change the KitProg mode.

0 Likes

Hi,Srds,

          The reason for this mistake is that I accidentally pressed the reset button for more than 5 seconds.

Thank you for your reply.

0 Likes