You are here

Using the 059 kitprog with CY8CKIT-049-42XX | Cypress Semiconductor

Using the 059 kitprog with CY8CKIT-049-42XX

Summary: 15 Replies, Latest post by Jeikei on 02 Oct 2016 06:10 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.

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!

user_1377889's picture
User
10439 posts

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

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..?

user_1377889's picture
User
10439 posts

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

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..

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.

 

 

No idea of what can be wrong?

user_1377889's picture
User
10439 posts

No idea. Can you scope / la the signals.

 

Bob

hli
user_78878863's picture
User
2716 posts
  • 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.

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!

hli
user_78878863's picture
User
2716 posts

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').

Log in to post new comments.