Can ECC mechanism be tested with S29GL01GT?

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

cross mob
EtAl_1569471
Level 1
Level 1

Hi,

We are using S29GL01GT. Our code will program the chip correctly to avoid disabling the ECC mechanism. However, in order to make sure our code integrates correctly with the Flash, we would like to test that ECC is really enabled. We'll have a requirement on ECC for which we'll need a test case. Is there some way to generate a bad ECC code such that the Flash detects an error?

Thanks.

0 Likes
1 Solution

Hi,

Automatic ECC feature in our device S29GL01GT is transparent to user.

You won't be able to change the internal ECC codes.

Thanks and Regards,

Sudheesh

View solution in original post

0 Likes
3 Replies
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi,

Please see section "2.7 ECC Status ASO" on page 11 of the datasheet, https://www.cypress.com/file/218336/download .

You can check the status of ECC (enabled/disabled) for each page by reading bit 3 of the ECC status register.

Thanks and Regards,

Sudheesh

0 Likes

Hi,

Ok, but can we purposely write invalid ECC data/code in order to intentionally raise the ECC status flags in the status register? We would like to:

1- Check that ECC status register is valid

2- Program with invalid ECC code

3- Read data there

4- Check that ECC status register indicates invalid ECC

Thanks.

0 Likes

Hi,

Automatic ECC feature in our device S29GL01GT is transparent to user.

You won't be able to change the internal ECC codes.

Thanks and Regards,

Sudheesh

0 Likes