CY8CKIT-049 debugging using MiniProg3

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

cross mob
BeAn_2785866
Level 1
Level 1

Hello

I am new to the PSOC4 so I got myself a CY8CKIT-049-042 and a MiniProg 3

I want to debug the CY8CKIT-049 using the MiniProg3 and in order to do this I erased the CY8CKIT-049 from its bootloader using the MiniProg3 and I then wrote a small program that just blinks the LED and programmed the Kit using the MiniProg3 and this works just fine

But if I try to debug this program using the MiniProg3 the debugger gets stucked in the file Cm0Start.C in the function CY_NORETURN   CY_ISR(IntDefaultHandler) which has no return

Is there anyone that know what the problem is ?

0 Likes
1 Solution

I found the problem

I forgot to set the debugging to SWD rather than GPIO

The flag is found in the project under Design Wide Resources - System - Programming\Debugging - Debug Select

Now the MiniProg3 can be used for debugging the CY8CKIT-049-4200

View solution in original post

0 Likes
3 Replies
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

This shouldn't happen. Could you measure the VCCD and VDDD pin voltage on board and check if they are normal?

0 Likes

Hi xzng

Thank you for your answer

I have checked VDDD and its 3,34V and VCCD is 1,85V

I have set MiniProg3 to supply the Kit at 3,3V and the CY8CKIT-049 is not connected to my PC-USB

0 Likes

I found the problem

I forgot to set the debugging to SWD rather than GPIO

The flag is found in the project under Design Wide Resources - System - Programming\Debugging - Debug Select

Now the MiniProg3 can be used for debugging the CY8CKIT-049-4200

0 Likes