Reading flash below 512k is successful, but not above.
I confirmed that the flash is 4M with esp_tool
Code: Select all
esptool.py v1.2-dev
Connecting...
Manufacturer: ef
Device: 4016
And I successfully loaded a 128KBytes spiff binary at address 0x3D7000
Code: Select all
esptool.py --port COM1 write_flash 0x3D7000 output/data.bin
esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...
Writing 131072 @ 0x3d7000... 0 (0 %)
Wrote 131072 bytes at 0x3d7000 in 11.7 seconds (89.7 kbit/s)...
Leaving...
But in the code, attempting to read the spiff binary fails
Code: Select all
SPIFF: Reading flash address: 0x3d70fe size: 2
SPIFF: Reading flash fails @ address 0x3d70fc
I am using the RTOS SDK