- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Solved! Go to Solution.
- Tags:
- miniprog3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This shouldn't happen. Could you measure the VCCD and VDDD pin voltage on board and check if they are normal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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