Using CY8CKIT-003 as a programmer

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

cross mob
lock attach
Attachments are accessible only for community members.
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

I tried to use CY8CKIT-003 as a programmer for  chips CY8C3866AXI-040, installed in my device.
I did the following:
1. I made the switch for Pin XRES   from CY8C3866AXI-040 installed on the CY8CKIT-003:
      Normal connection or connection with Vssd (to set this chip in a high impedance state).

   

2.Pins SWDIO(P1_0), SWDC(P1_1), SWV(P1_3) , Vssd and Vddd brought out through a connector for programming CY8C3866AXI-040 installed in my device.

   


When I use CY8CKIT-003 as a programmer, I set the jumper between XRES and Vssd and connect connector to my device for programming the chip CY8C3866AXI-040 .
Chip CY8C3866AXI-040 is connected as in Figure 6-4. PSoC Power System (Page 29) PSoC ® 3:      CY8C38 Family Data Sheet.pdf

   

All VddX in xxx.cydwr --> Voltage Configuration is set at 5,5V

   


I have the following problems:

   

1. The chip is  detected and  programmed only at Vddd = Vdda = Vdiox = 3.3Volt.
2. The program is executed, but USBUART operates in 3,3 V while the file main.c I have USBUART_1_Start (0, USBUART_1_5V_OPERATION);

   

Exactly the same chip in CY8CKIT-003 is programmed with both voltage Vdd (5 and 3.3) and operates at 5V USBUART.

   

If someone was doing this, tell me what I did wrong.

   

I used to experience this project: ECG_PGA.ZIP    http://mylab.wmsite.ru/ftpgetfile.php?id=59
Changes in the board CY8CKIT-003 are shown in the picture attached below.

0 Likes
7 Replies
Anonymous
Not applicable

Thats a neat modification! I'll download your project soon and see if I can be of some help.

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

Hi  kmmankad.

   

I plan to work only with PSoC3 and PSoC5 therefore I don't want to buy Miniprog3. 

   

Besides I have already successfully spoiled a several CY8CKIT-003 (CY8C3866AXI-040 doesn't work) i.e. the material for programmer is ready.

   

I used the information from here: http://www.cypress.com/?app=forum&id=2232&rID=53748

   

Now I try:

   

1. To be convinced that the Scheme correct, and I can program devices from the list: PSoC Creator--> Project--> Device Selector

   

2. To learn, why USBUART operates in 3,3 V while the file main.c I have USBUART_1_Start (0, USBUART_1_5V_OPERATION);

   

    you can use any project containing USBUART. I suggested that this project is for illustrative purposes only.

   

3. Probably there is more simple variant which approaches for PSoC3 and PSoC5.

0 Likes
Anonymous
Not applicable

 You might want to try this,

   

A simple FX1 based PSoC3/5 Programmer. http://dangerousprototypes.com/forum/viewtopic.php?f=56&t=3105

   

Or you could purchase a this FX2LP board for a little over USD 15,and then that'd do the same thing.

   

www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=230684823584

0 Likes
Anonymous
Not applicable

 Oh,and another thing,do upgrade to PSoC Creator 2.0. http://www.cypress.com/?id=2494&source=header

0 Likes
Anonymous
Not applicable

 Another thing I noticed,this is a PSoC5 project,(not a PSoC3 one) that you could program into your 014(003 for PSoC3) kit.Just another side note,if youre doing USB,you'll need to source the IMO from the External crystal.

   

Also,the DWR power settings come into force only if you dont specify explicity via USBUART_1_3V_OPERATION or USBUART_1_5V_OPERATION flags,which you have,so thats also okay.I cant seem to spot the problem,but I'll keep you posted when I do.

   

Also,is it that the code doesnt execute at 5V,or its just USB_UART that fails?

0 Likes
lock attach
Attachments are accessible only for community members.
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

Thanks for the link to Cypress CY7C68013A EZ-USB FX2LP USB 2.0 Develope Board
PSoC Creator 2.0 I have installed, but only for new projects.
if need,  I rewrote Project ECG_PGA.ZIP for CY8C3866AXI-040. I attached it below with comments in English.

   

I did not see that my changes on the board CY8CKIT-003 is correct:
     I messed up last CY8C3866AXI-040, which was used for the experiment.
 I'm guessing that the error can be on my layout.
I hope someone will do it faster than me, or for CY8CKIT-014.

0 Likes
Anonymous
Not applicable

"You might want to try this,

   

A simple FX1 based PSoC3/5 Programmer. http://dangerousprototypes.com/forum/viewtopic.php?f=56&t=3105 "

   

 

   

Actually, I have not been succesful with it. The programmer can erase/read/verify an already programed chip but I have not been able to upload new firmware with it. I'm going to try again in a couple of weeks.

0 Likes