Modus Toolbox: Error: kitprog3: failed to acquire the device

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

cross mob
EvanK4
Level 1
Level 1
5 questions asked 5 sign-ins First reply posted

When trying to program my application on Modus Toolbox, this error occurs:

Error: kitprog3: failed to acquire the device
Info : clock speed 2000 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'psoc6.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : Power dropout detected, running power_dropout proc.
Power dropout, target voltage: 0.106 mV
** OpenOCD init failed **
shutdown command invoked
** Program operation failed **
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error executing event reset-deassert-post on target psoc6.cpu.cm0:
C:/Users/EKene/ModusToolbox/tools_2.4/openocd/bin/../scripts/target/mxs40/mxs40_common.cfg:115: Error:
in procedure 'ocd_process_reset'
in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 788
in procedure 'mxs40_reset_deassert_post' called at file "C:/Users/EKene/ModusToolbox/tools_2.4/openocd/bin/../scripts/target/mxs40/psoc6_common.cfg", line 134
at file "C:/Users/EKene/ModusToolbox/tools_2.4/openocd/bin/../scripts/target/mxs40/mxs40_common.cfg", line 115
Error: Error connecting DP: cannot read IDR
Error executing event reset-deassert-post on target psoc6.cpu.cm4:
C:/Users/EKene/ModusToolbox/tools_2.4/openocd/bin/../scripts/target/mxs40/mxs40_common.cfg:115: Error:
in procedure 'ocd_process_reset'
in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 788
in procedure 'mxs40_reset_deassert_post' called at file "C:/Users/EKene/ModusToolbox/tools_2.4/openocd/bin/../scripts/target/mxs40/psoc6_common.cfg", line 169
at file "C:/Users/EKene/ModusToolbox/tools_2.4/openocd/bin/../scripts/target/mxs40/mxs40_common.cfg", line 115
Info : Power dropout detected, running power_dropout proc.
Power dropout, target voltage: 0.106 mV
Error: Error connecting DP: cannot read IDR
Info : psoc6.dap: powering down debug domain...
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Warn : Failed to power down Debug Domains

 

The exact application worked perfectly before but in the last few weeks this error keeps appearing and i dont know how to get it to work again. Everything seems to be as before so dont know why it is not working now when it was working previously.

Could it be a problem with the psoc 6 wifi bt prototyping kit itself? is so should i get a new one?

 

All help would be much appreciated!

Thank you,

Evan

0 Likes
2 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @EvanK4 

Can you please share the hex file of your project here?

Since your logs show power dropout,
Is it possible for you to monitor the power supply and see if it is below the desired level or fluctuating?

Best Regards
Ekta
 

0 Likes
Bharath_R_
Employee
Employee
5 sign-ins First reply posted Welcome!

Which Evaluation kit are you working on??

I faced the same issue on CY8CKIT - 062S2 - 43012 Combo Kit

Basically the issue was with the J15 Jumper which was not connected properly. The voltage supply for the target was an issue. By placing this jumper properly, I was capable of resolving this issue.

0 Likes