Chat freely about anything...

User avatar
By johns
#2614 Does anybody know how to write the flash at the location where the irom is mapped? (ie. the AT commands)

spi_flash_write() at those addresses just locks up and triggers a watchdog reset.

I'm guessing it's something to do with the irom<->flash caching mechanism but I don't know how to suppress/bypass it.
User avatar
By johns
#2618 Yes, I'm using the flash address not the irom address.

To be 100% clear: If my irom is at (eg) 0x40240000 and I do:

spi_flash_write(0x40000, ...)

This function will fail and trigger a watchdog reset.

nb. I can write to other areas of the flash, no problem. It's only address from 0x40000 and upwards that fail.