You are here

Problem when I Programming | Cypress Semiconductor

Problem when I Programming

Summary: 13 Replies, Latest post by hli on 14 Jan 2014 02:56 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
Mikaël's picture
User
2 posts

Hello,

I am a new user from PSoC3 and I meet problem.

When I do Debug -> Programm, the following message appears :

 

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

and after

 

dbg.M0023: There was an error while programming the device: (PSoC Creator received error (14 - Failed to program the chip!))

I don't understand because i have already success to program the same project.

Regards Mikaël.

 

PS: sorry my English is approximate

Stub for 2575603's picture
User
99 posts

Can you provide any additional information about your setup?  What OS are you running?  Are you trying to program one of the Cypress PSoC boards (if so which board) or is it a custom board?

 

Have you changed any of the NV latch settings for the PSoC in your design?

 

Thanks,

Bobby

user_2405011's picture
User
88 posts

I experienced the same problem. I've programmed about 2000 PSoC3 devices and I got this message everytime. However the PSoC is programmed well.

The weird thing is the early datecodes of the CY8C3866AXI-ES2 don't have these issues. I guess it has to do with timing and hardware layout. I built my own hardware with a TQFP100 programming socket which is connected to the Miniprog3. In this setup I receive the message. The finalized boards on which the 2000 PSoC3's are mounted do have an 10 pin in-circuit header. In this setup I don't receive the message.

 

Best Regards,

Rolf (CYPro)

user_2405011's picture
User
88 posts

Oh, and I tested both on Visat and XP giving both the same results...

Mikaël's picture
User
2 posts

Thanks to your reply,

OS : XP

I work with a PSoC Development board the CY8CKIT-001 and used the processor CY8C38. I think not to change the NV latch settings even if I don't see what it is precisely.

So Rolf, you say me there is no solution without change my processor ?

Regards,

Mikaël

user_2405011's picture
User
88 posts

I don't know a solution yet. I am facing the same problem again on two boards with exactly the same layout. The only difference is the datecode.

I've tried an older version of the programmer 3.10.0.469. This version doesn't have this problem, but this version doesn't load also the hex files build with the latest PSoC Creator version.

Regards,
Rolf

user_2405011's picture
User
88 posts

Both NVL settings are the same.

I've made a small video demonstrating the problem. I hooked up two miniprog3 and two boards, one (first) with the working chip, second with the failed result. Swapping the programmers don't make changes.

Regards,
Rolf
 

user_2405011's picture
User
88 posts

the attachment isn't working, now zipped..

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

kiku's picture
Cypress Employee
64 posts

You can use the following workaround to resolve the issue:

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

 

The issue has been addressed in the PSoC Programmer 3.12.4 version which is expected in WW07.

 

Regards,

Kishore.

dushybansi's picture
User
3 posts

 i have observed the same error when the XRES pin on my test board was not connected properly/disconnected. Please check if that's the case.

 

Thanks and Regards

Dushyant

Log in to post new comments.