Bootloader reports wrong flash size?
Posted: Fri Sep 23, 2016 3:07 am
I had assumed that the ESP3212 module I got had a 4MB flash since that's what the bootloader reports:
However, any attempts to access past the 2MB boundary consistently fails. Access to the first 2MB works fine (read/erase/write).
I'm using the interface from esp_spi_flash.h, and the error code I get is ESP_ERR_FLASH_OP_FAIL.
Is the bootloader reporting the wrong flash size, or am I doing something wrong?
Code: Select all
**************************************
* hello espressif ESP32! *
* 2nd boot is running! *
* version (V0.1) *
**************************************
compile time 18:13:20
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size : 4MB
I'm using the interface from esp_spi_flash.h, and the error code I get is ESP_ERR_FLASH_OP_FAIL.
Is the bootloader reporting the wrong flash size, or am I doing something wrong?