- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I recently bought some of the 049 kit for a school project but it appears that I'll need debug features. So i bought also one 059 kit with the snappable kitprog to use it to program/debug the 049. I searched how to do it but i don't find the information anywhere... Do we only have to put 5 cables from the kitprog J7 headers (SWDIO, SWDCLK, RST. GND, VTARG) to the pins on the 049 kit (Pins 3.2, 3.3, reset, gnd, vdd)
Also, do we need to change something in the project of the 049?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum, Anthony!
Do we only have to put 5 cables from the kitprog J7 headers (SWDIO, SWDCLK, RST. GND, VTARG) to the pins on the 049 kit (Pins 3.2, 3.3, reset, gnd, vdd) Not quite... Connect the 5 signals from the Kitprog to the 5 Signals on the lower right hand corner (USB pointing left) Signals are clearly marked on silk screen. Best is to solder 5 posts on both boards and use a ribbon cable with plugs on either side.
(...) do we need to change something in the project of the 049? Yes, hopefully you are on Creator version 3.3, remove the Bootloadable component and any references in main.c
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! I connected both with the 5 wires, updated my kitprog firmware, but each time i click on program the 49 kit, the window select debug target appears with the kitProg in the list but i can't program it..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please report the state of the LEDs (Kitprog) The green LED should light permanently. if not, press switch on Kitprog for ~5s until green LED lights up.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The green LED is on. It still works when i put the cable on the 059 kit, but it seems that the progkit can't see the 049 kit..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi! I took some pictures of the connections i made. There is also a picture of the select debug target showing no psoc connected to the kitprog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No idea of what can be wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No idea. Can you scope / la the signals.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Does the Power LED of the 049 kit light up? (Assuming that you still have the UART-Bridge connected there, if so use a DMM) If not, you target board is not powered .
- Can you connect (and program) to the 059-board you snapped the KitProg of?
- You might need to update the KitProg firmware (this is explained in the KitProg user guide)
- You can also try to use PSoC programmer. There you can select different programming methods (e.g. XRES / Power cycle). I'm not sure whether the SWD pins on the PSoC4 device are enabled by default, so it might be that you need another configuration than the default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the Power LED of the 049 kit light up? -> Yes, i have one 049 board snap that still do the blinking LED (bootloadable project) when connected. The one that are not snapped show the power LED.
Can you connect (and program) to the 059-board you snapped the KitProg of? -> Yes
You might need to update the KitProg firmware (this is explained in the KitProg user guide) -> Already done
I have tried with programmer, but still doesnt detect the 049 kit... Is it because there is still a bootloadable/bootloader project loaded on the kit ?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, the bootloader should not make a difference. When using PSoC Programmer, did you try different programming methods ('Reset' / 'Power cycle')? (According to the TRM 'Reset' should be fine, but you never know...).
If this still doesn't help, you should open a support case (Top right menu, 'MyCases').
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't try to program. The kitprog doesn't see the 049 kit.. I think i will open a case with support ! thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let us know what the solution is to that. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had this problem with a cable length of 20 cm.
I just shortened the cable to 8cm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi! Thank you all! I contacted the support and told me the same thing as Pavloven. I was using 20cm cable and change it to ~ 10 cm cable and everything is working fine! Thank You !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This was a good tip; I've used the CY8CKIT-049-42xx together with the KITPROG from an CY8CKIT-059, but I wasn't able to program the 42xx board. My cable was about 40cm long. Now it's just 5cm long, and all works fine!