I have a Winbond W25Q32JVZPIQ flash chip which I am successfully writing and reading data to. I have now added the functionality in my application to erase the whole chip contents on first bootup using the esp flash API function:
Code: Select all
esp_flash_erase_chip(esp_flash_t *chip)
ESP_ERROR_CHECK failed: esp_err_t 0x107 (ESP_ERR_TIMEOUT) at 0x40085630
From the datasheet of the flash chip the erase time is 10seconds, however the timeout error is being triggered before.
How can I increase this timeout value? Surely there is a setting in menuconfig somewhere?
Thank you for your time.