DFlash reading error with TC299

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

cross mob
prael
Level 1
Level 1
First reply posted First question asked Welcome!

I’m using aTC299 and in my software I have functions to read and write inside Data Flash. In one of my boards I can’t read anymore a Data Flash location because bus error, the reason is that this location does not pass ECC check due an unrecoverable error. Even if I erase the sector I still have the same issue, so it seems a permanent damage.

My question is how is it possible to damage a Flash location? Just writing too may time or is it possible to damage it in other way, just for example a power down during a writing operation?

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

It is possible that the initial ECC issue could have occurred due to power failure during erasing or programming.

Best Regards.

View solution in original post

0 Likes
3 Replies
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

Could you perform the following steps?

Perform a full erase of the flash.
Write the flash content into the controller.
Read the data back.

Best Regards.

0 Likes
prael
Level 1
Level 1
First reply posted First question asked Welcome!

I did these step with Lautherbach debugger and they works, now the FLASH works. A power switch off can cause this kind of issue?

0 Likes
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

It is possible that the initial ECC issue could have occurred due to power failure during erasing or programming.

Best Regards.

0 Likes