at91sam9g25 PMECC: Timeout to calculate error location.

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

klugja
Posts: 4
Joined: Mon Nov 26, 2018 6:29 pm

at91sam9g25 PMECC: Timeout to calculate error location.

Fri Jun 14, 2019 3:54 pm

We were hitting this error very frequently, so we patched:

drivers/mtd/nand/atmel_nand_ecc.h

We increased the timeout value:

-#define PMECC_MAX_TIMEOUT_MS 100
+#define PMECC_MAX_TIMEOUT_MS 120

We would see hundreds of these messages booting our device before the patch. Afterwards it was rare.

Should we increase it further? We are still running into this error in our testing. This error is happening on the order of once per minute when we are writing steadily to the flash using logger. (Some applications require persistent logs).

Is there any danger increasing the timeout value? Could it block all I/Os and shut down the NAND?

Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests