Flash Protection -- how to determine after the fact

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
WaMa_286156
Level 5
Level 5
First comment on blog 100 replies posted 50 replies posted

   I need to know how to determine if flash is protected without trying to reprogram, due to system setup issues.

   

   I looked on Google, and searched in the Communities on cypress.com, and looked in documentation.  In documentation, it says the code won't verify if protected.

   

   I'm assuming you have to load the flash programmer program.  However, that program appears to only want to verify after reprogramming, unless I really missed something.

   

   Is there a tutorial on verification of flash protection?

   

   I'm assuming the part is locked, as SWD could not connect at all.  However, I've had the programmer not connect to parts that were *not* locked, until the 4th, 5th, or more tries, once a program was loaded and operational, so I don't fully trust that as a verification step.

   

  Any suggestions?

0 Likes
2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

   

I assume that you need to check if a particular row in the flash is protected or not. You can read the flash from PSoC Programmer. Protected rows will give "X" instead of the data.

   

Thanks,

   

Hima

0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

From the TRM, attached.

   

 

   

Regards, Dana.

0 Likes