soc/nordic/nr54l: increase flash erase time define
Time it takes to "erase" one "page" of rram is too low. Where getting timeouts. "erase" of rram is done by writing all the words. one "page" is 4096 bytes meaning 1024 32bit words. worstcase time it takes to write one 32bit word from 0x00000000 to 0xffffffff is about 42us, giving 42ms to write 1024 words. Signed-off-by: Martin Tverdal <martin.tverdal@nordicsemi.no>
This commit is contained in:
parent
b9aae1388c
commit
78d2ed5428
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include <soc_nrf_common.h>
|
#include <soc_nrf_common.h>
|
||||||
|
|
||||||
#define FLASH_PAGE_ERASE_MAX_TIME_US 8000UL
|
#define FLASH_PAGE_ERASE_MAX_TIME_US 42000UL
|
||||||
#define FLASH_PAGE_MAX_CNT 381UL
|
#define FLASH_PAGE_MAX_CNT 381UL
|
||||||
|
|
||||||
#endif /* _NORDICSEMI_NRF54L_SOC_H_ */
|
#endif /* _NORDICSEMI_NRF54L_SOC_H_ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue