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

PSoC™ 4

ZONDAR1
Level 1
10 sign-ins 5 replies posted 5 sign-ins
Level 1

Hi,

I'm now using a MiniProg3/kitprog3 to debug the board. Due to certain restrictions, I am wondering if i can debug it without the Reset cable, only using 5V, GND, SWDIO and SWCLK. Or is the Reset cable essential for debugging ?

If it is realizable, how should i set the configuration ?

Best regards

0 Likes
1 Solution
MaMi_1205306
Level 6
25 likes received 250 sign-ins 10 comments on KBA
Level 6

Hello,

 

I understand that you are using a system power supply, not MiniProg.

When powering from MiniProg with USB bus power(200mA or less), you can debug without a reset signal, however in the case of system power supply, I think that it can not be supported even in power cycle mode.

In that case, I can only think of way to connecting the PSoC4 XRES and the MiniProg XRES.

I'm sorry for not being able to help.

 

Regards,

View solution in original post

0 Likes
5 Replies
AditiB_81
Moderator
Moderator 250 replies posted 250 sign-ins 100 solutions authored
Moderator

Hi,

May I know which board it is?

Thanks

Aditi

 

0 Likes
ZONDAR1
Level 1
10 sign-ins 5 replies posted 5 sign-ins
Level 1

Hi Aditi,

Thanks for your reply.

It is a customized board using 4000s (CY8C4025LQS-S411).

Best regards

0 Likes
MaMi_1205306
Level 6
25 likes received 250 sign-ins 10 comments on KBA
Level 6

Hi,

 

If your debugger is PSoC Creator, I think you can do it by following the steps below.

If you're using ModusToolbox or something else, I don't know how to do it right.

 

(1) Select the following in PSoC Creator.

[Debug] - [Select Target and Debug]

MaMi_1205306_0-1643344256433.png

(2) Select [Port Settings].

 And by changing the "Acquire Mode" from "Reset" to "Power Cycle", the device can be recognized without connecting XRES.

MaMi_1205306_2-1643344432120.png

Reset : Assert the reset signal and enable the SWD terminal at the timing of reset release.

Power Cycle : Enable the SWD terminal when the power is turned on again after the power is turned off without using the reset signal.

 

With the above settings, I tried with MiniProg3 and PSoC4000S Prototyping Kit, the debugger starts normally without using XRES.

 

Does your system run on power from the MiniProg?

Or is it powered by system power?

 

Regards,

0 Likes
ZONDAR1
Level 1
10 sign-ins 5 replies posted 5 sign-ins
Level 1

Hi MaMi, 

Thanks for your reply. 

 The board is powered by system power. 

I have followed the steps that you supplied.  It could be debugged powered by MiniProg while couldn't  by system power. 

Best regards

0 Likes
MaMi_1205306
Level 6
25 likes received 250 sign-ins 10 comments on KBA
Level 6

Hello,

 

I understand that you are using a system power supply, not MiniProg.

When powering from MiniProg with USB bus power(200mA or less), you can debug without a reset signal, however in the case of system power supply, I think that it can not be supported even in power cycle mode.

In that case, I can only think of way to connecting the PSoC4 XRES and the MiniProg XRES.

I'm sorry for not being able to help.

 

Regards,

0 Likes