You are here

Programming Not Working SPC Timeout | Cypress Semiconductor

Programming Not Working SPC Timeout

Summary: 13 Replies, Latest post by vvsk on 30 Jun 2011 04:27 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
maudi's picture
User
2 posts

I keep on getting this error (see below). I am using a custom board layout with a CY8C3244LTI-130ES2 chip. Does anyone know why this is happening or how to fix it? I have a MiniProg3 Rev5 programmer/debugger and the board is connected to the appropriate 10 pin connector to match. help please?

dbg.M0023: There was an error while programming the device: (PSoC Creator received error (100 - FAILED! Timeout of SPC polling. Lost communication with chip.))

user_611219's picture
User
41 posts

Hi maudi,

Is it correct to say that this new board has never been successfully programmed?

maudi's picture
User
2 posts

yes

user_611219's picture
User
41 posts

Hi maudi,

No easy way out then.

You would have to start with the basics and verify your circuit.
You may want to verify your programmer on a known working board.
If you are using SWD remember the programming clock must 1/3 or less of the PSoC freq.

Good luck

Stub for 2584170's picture
User
64 posts

Normal
0

false
false
false

EN-US
ZH-CN
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}

Please try this workaround:

  1. Connect Miniprog3 to PC
  2. Connect Miniprog3 10 pin connector to target
  3. Open Programmer
  4. Execute Program Function
  5. SPC polling Error
  6. Execute any function other than Program (checksum, read, verify, or erase.)
  7. Execute Program
  8. Programming Successful

Let me know if this can work out for you.

 

Thanks,

--Meng

user_2405011's picture
User
88 posts

Update:

 

Now with PP_COM wrapper in the zip (has to be unzipped to the same folder as the .exe). Also make sure PSoCprogrammer is installed.

 

Please let me know if this works for you.

 

Regards,

Rolf

Alexey Myslivets's picture
User
3 posts

I am using a custom board layout with a CY8C3244LTI-130ES2 chip too. I have the same problem. I install the .NET utility  FixSPCtimeout. But it did not help me. 

Run the program.
Choose options: 3.3v,Reset,10pin-  FIX.  

appears:

NVL DATA @ 0xF8 read from Chip:00 00 00 00

NVL DATA olready okay..

 Then run the programmer, programming chip. But still keep on getting this error .

maddyaurme's picture
User
1 post

Hi,

I have the same problem.  I tried this .net app but the error still exists.  Was anybody able to resolve this issue?.

 

Thx,

-/\/\addy

 

 

 

user_2405011's picture
User
88 posts

Do you have more info?

What's the version of your PSoC Programmer and Miniprog?

Was the part already programmed before?

How's the hardware setup, is it a custom made PCB?

 

Regards,

Rolf

RR
user_50155775's picture
User
2 posts

I too have a similar problem.

I moved from PSOC3 ES2 to ES3 in the last few days.

I have a progam which, when it runs, seems to corrupt something critical within the PSoC3.

(It is a port of a Keil uVision4 C project meant for standard 8051s).

The parts program fine the first time but after this they are un-reprogrammable.

When I try to use PSoC Creator to reprogram, I get the following messages:

dbg.M0033: The selected debug target 'CY8C3866LTI-068 UNASSIGNED' is not compatible with the project's selected device 'CY8C3866LTI-068 ES3'.

or

dbg.M0033: The selected debug target 'CY8C3866LTI-068 ES1' is not compatible with the project's selected device 'CY8C3866LTI-068 ES3'.

 

Using standalone PSoC Programmer:

Auto Detection off:

Program Finished at 13:05:16                                    |
FAILED! Timeout of SPC polling. Lost communication with chip.
Erase Succeeded
WARNING!---> Debug mode enabled, this should be turned off from PSoC Creator before production.
Device set to CY8C3866LTI-068 at 13:05:02                       | 65536 FLASH bytes
 

Auto Detection on:

Program Finished at 13:11:15                                    |
                                                                | Programming Terminated
WARNING!--->                                                    | Debug mode enabled, this should be turned off from PSoC Creator before production.
ERROR!--->                                                      | The hex file was built for silicon revision ES3, but the acquired device is revision ES1.
                                                                | Use PSoC Creator to generate a hex file for the proper device.
Device set to CY8C3866LTI-068 at 13:11:14                       | 65536 FLASH bytes

 

This has happened on 3 new devices. 

Ant ideas on what is being corruoted or how I could "reset" PSoC contents ?

 

 

 

Stub for 10685173's picture
User
1 post

Pls download the newest Psoc programmer 3.12.4, It fixed this issue.

Log in to post new comments.