Chat freely about anything...

User avatar
By eriksl
#27915 And it works if you use an external flash tool?

I am trying to isolate the source of the problem ;)

I don't have any device with flash > 512 Mb in use at the moment, but I might have in the future, so this certainly is of interest to me.

What are you flashing actually, firmware update code?
User avatar
By septijo
#27917
eriksl wrote:And it works if you use an external flash tool?

I am trying to isolate the source of the problem ;)

I don't have any device with flash > 512 Mb in use at the moment, but I might have in the future, so this certainly is of interest to me.


if "Flash Download Tool v1.2" is "an external flash tool", then it "does not work"
(i dunno which one is the problem, the "Flash Download Tool v1.2" or the "spi_flash_read(bla bla) that i use to read it back").

it only "works" if i write something in the flash below 0x80000 (either write it with "flash Download Tool v1.2" or using spi_flash_erase_sector + spi_flash_write), adn then read it using spi_flash_read(bla bla)

eriksl wrote:What are you flashing actually, firmware update code?


i'm flashing my "user data" to save something in the flash, so i can retrieve it later.
User avatar
By eriksl
#27918 Ok no instruction cache issue then.

Strange.

As a next step I'd try to write something above the 0x80000 with a flash tool, first read it back using the flash tool and then using esp8266 sdk code. And then the other way around.