You are here

psoc3 ECC flash question | Cypress Semiconductor

psoc3 ECC flash question

Summary: 1 Reply, Latest post by Stub for 2575603 on 20 Jan 2010 12:08 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
user_460349's picture
1362 posts

I want to use the 8k ECC flash to store some user information. And from the data, it seems tha the user cannot program it directly, one has to program 32 byte at a time with the orgirnal row that extra 32 bytes is linked to.

My questions is

1. Is there a way to program the those ECC flash directly?

2. If it has to program with the row that it links with, does that mean we have to copy the first 256 byte from the row into the latch and then append the 32 bytes and do a write flash?

3. Is there a way to read more than 32 byte ie say 256 byte of the ECC flash in one go?

Stub for 2575603's picture
99 posts

A similar question was posted to PSoC Developer, and was answered by user 'NLaksh'. I've pasted that posted into this forum to capture the information here too, since not everyone reads both forums.

NLaksh's post is below (


You could use the API CyWriteRowConfig available with the PSoC Creator. Please refer to the "System reference Guide" for info about this API. Since ECC is just a Flash, you have to write all the 32 bytes. I believe this API will handle the reading of the row, writing the changed byte along with the row. I am not sure about the API handling but this API is what you need to use for ECC writes.





Log in to post new comments.