You are here

programming succeeds only 1 time | Cypress Semiconductor

August 17, 2017: We apologize for any difficulties or delays in posting new discussions to the Community on cypress.com. We are in the process of merging our support forums onto a single platform in an effort to create a much-improved community experience for you.

programming succeeds only 1 time

Summary: 2 Replies, Latest post by pavloven on 27 Oct 2016 12:20 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
user_49271930's picture
User
496 posts

In my project, the programming succeeds only 1 time.
I get an error (102 - Failed to erase the flash) when I try to re-programming.
The device (CY8C3245PVI134) no longer programmed in any project.
I can not erase the Flash using a programmer (File -> ERasing All Flash).
What could be the cause, and is it possible to recover the chip? 
 

anmn's picture
Cypress Employee
5 posts

Hello,

For 48pin-package PSoC3 silicon there are no dedicated XRES pin, but there is an Optional XRES Pin P1[2] which can either be configured as XRES pin or GPIO. By default P1[2] is configured as XRES pin, to change this configuration,we need to disable the "Use Optional XRES" option in .cydwr and reprogram the silicon. After program, P1[2] become GPIO pin .After that ,it can be programmed only in Power Cycle programming mode which can program the silicon without XRES pin. But as for now, only Miniprog3 Rev*B can support this Programming Mode.

Athira

user_49271930's picture
User
496 posts

Many thanks Athira!
Miniprog3 in Power Cycle programming corrected my mistake.
Now everything is working.

Log in to post new comments.