ESP8266 Developer Zone The Official ESP8266 Forum 2017-01-06T13:59:20+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=3225 2017-01-06T13:59:20+08:00 2017-01-06T13:59:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3225&p=11041#p11041 <![CDATA[Re: flash info]]> 3D,this flash area can't erase 3D ,if you choose user bin,if your user1.bin is 320KB,you must user flash area after 0x510000,id you erase 3D,it's error.So you should choose a correct area to use.

Statistics: Posted by ESP_Xutao — Fri Jan 06, 2017 1:59 pm


]]>
2017-01-03T19:47:16+08:00 2017-01-03T19:47:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3225&p=10997#p10997 <![CDATA[flash info]]> i have used the following code for read and write in flash but i am getting error like ets Jan 8 2013,rst cause:4, boot mode:(3,2)
.
.wdt reset
.load 0x4010f000, len 1384, room 16
.tail 8
.chksum 0x2d
.csum 0x2d
.v09f0c112
.~ld.
spi_flash_erase_sector(0x3D);
spi_flash_erase_sector(0x3C);
delay(200);
spi_flash_write(0x3D000,(uint32*)buf1,16);
delay(200);
Serial.print("12");
spi_flash_write(0x3D014,(uint32*)buf2,16);
delay(200);
Serial.print("123");
spi_flash_write(0x3D030,(uint32*)buf3,16);
delay(200);
Serial.print("1234");
spi_flash_write(0x3D044,(uint32*)buf4,5);
pls give suggestion on this. Is there any other way to read and write user data permanently in esp8266?

Statistics: Posted by asdfg — Tue Jan 03, 2017 7:47 pm


]]>