programming succeeds only 1 time

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

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? 
 

0 Likes
1 Solution
Anonymous
Not applicable

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
    
    

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

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
    
    

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

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

0 Likes