Well, I have now tried programming this PSoC3 using JTAG with the 10-pin connector and SWD with both 5 and 10-pin connectors. These are the following failures I get from both:
JTAG: FAILED! Timeout of SPC polling. Lost communication with chip (Status = 0x80)
SWD: FAILED! SWD respond packet contains Failed status!Can someone please tell me what's going on? Is there something in software I'm missing? Some component in Creator that I am not aware of?
I wanted to point out a few things. From the part number, it seems you are using 48-pin SSOP. As you know for 48-pin SSOP devices, P1 is the only pin available for XRES and you have to be careful that you dont change the functionality of that pin from XRES pin to GPIO pin. This is given as option "Use Optional XRES" in PSoC Creator cydwr file.
If you program data that disables the P1 as XRES, then you can program the part only by Power cycle mode. Unfortunately, the current Miniprog3 does not support Power cycle mode. Please refer the KB article www.cypress.com/ (http://www.cypress.com/?id=4&rID=45570) for details on this.
With these information, the reason for your failure might as well be that you are programming NVL data that disables P1 as XRES. The easiest way to find this is if you can attach your hex file used to program PSoC 3. If the information is confidential, please email hex file to VVSK@cypress.com (it is 2 V's and not W in email id) and I will confirm this.
same error SPC polling failed....communication with the chip lost....comes when XRES pin is disconnected/not connected properly on the board or the programmer.
Thanks and Regards
This problem is more than two years old. I doubt that original poster will read this...