ESP8266 Developer Zone The Official ESP8266 Forum 2017-02-08T18:52:33+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=1741 2017-02-08T18:52:33+08:00 2017-02-08T18:52:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1741&p=11273#p11273 <![CDATA[Re: Flash-Map 4096KB User/System param]]> i have test again by erasing whole 16kb flash system parameter area. Previously I just erase 4 KB from 0x3fc000.
After erase last 16 kb all data are erased and esp wake up in soft-ap mode with ESP_XXXXXX (where XXXXXX is last 6 digits of mac) ssid with open security.
But I have noticed that when i was erase flash and not set any mode then for first time device boot up with previously configured device but again reboot board then flash is erased perfectly and boot up in soft ap mode.

Can any one explain me about this behavior?

thanks and regards,
valmik thakar

Statistics: Posted by valmik thakar — Wed Feb 08, 2017 6:52 pm


]]>
2017-02-08T17:03:04+08:00 2017-02-08T17:03:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1741&p=11269#p11269 <![CDATA[Re: Flash-Map 4096KB User/System param]]>
system parameter area can erase by application developer?
For test this in my esp8266 wroom 2 module, erase 0x3fc000 sector. API for erase sector returns ok status but then module wake from previous set configurations of wifi even i did not set any configurations.

And for my project I have used eagle.app.v6.new.1024.app1.ld file. In this file, system parameter area are on 0xfb000. unfortunately I have used this location for my project application purpose. But every thing is working fine. No any issue i got for flash operation.

Can you give information about system parameter area. i have use ESP RTOS 1.4.0 SDK.

thanks and regards,
valmik thakar

Statistics: Posted by valmik thakar — Wed Feb 08, 2017 5:03 pm


]]>
2016-03-02T10:49:26+08:00 2016-03-02T10:49:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1741&p=5898#p5898 <![CDATA[Re: Flash-Map 4096KB User/System param]]>
1. The blank.bin at starts at 0xFE000 and has 4096 Bytes.. what is the reason for this?
I thought the User param is only for storing user-settings via system_param_save_with_protect() ?
What data is saved in this two 4KB blocks?
->
User parameter area is set by users, you can use the 0xFE000, or you can use other available space to save user data.
System parameter area is the last 16KB bytes of Flash, it is for SDK internal use.

2.the bootloader 1.5 shows me "SPI Flash Site & Map: 32Mbit(1024KB+1024KB) => is this value stored in System param 0x3FC000 ?
-> Yes. System parameter area is the last 16KB bytes of Flash, in your case, it starts from 0x3FC000.

Statistics: Posted by ESP_Faye — Wed Mar 02, 2016 10:49 am


]]>
2016-02-04T20:06:58+08:00 2016-02-04T20:06:58+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1741&p=5684#p5684 <![CDATA[Flash-Map 4096KB User/System param]]>
I´m currently trying to implement Firmwareupdates via WiFi for my Project.
This i have made using a own client and a tcp server on the ESP.. working well, no problems.

But now i am a little bit confused because the memory map on the documentation.
Like in Thread (viewtopic.php?f=65&t=1480) i have to flash blank.bin to 0xFE000 and 0x3FE000, why that?
2A_ESP8266_SDK Getting_Started_Guide_EN_v1.5_20151118_2.pdf on site 26 shows me the memory layout. The blank.bin at starts at 0xFE000 and has 4096 Bytes.. what is the reason for this?
I thought the User param is only for storing user-settings via system_param_save_with_protect() ?
What data is saved in this two 4KB blocks?

The second question is this:
the bootloader 1.5 shows me "SPI Flash Site & Map: 32Mbit(1024KB+1024KB) => is this value stored in System param 0x3FC000 ?

Thanks,
Patrick

Statistics: Posted by .Linux. — Thu Feb 04, 2016 8:06 pm


]]>