WiFi Stability issues with non-os SDK 1.4 and 1.5

Posts: 11
Joined: Thu Aug 06, 2015 8:54 am

Re: WiFi Stability issues with non-os SDK 1.4 and 1.5

Postby DavidDPD » Tue Sep 20, 2016 6:37 am

I may have solved my issues with 1.4, 1.5 and 2.0. It was a documentation and understanding issue of the SPI flash memory map, as well as the importance of esp_init_data_default.bin. This significant of this may have changed between after 1.3 ... or possibly a bug in 1.3 that was fix, that allowed my miss-understand of the flash map. I am still a little confused. however - especially with the 32mbit ESP-12e/f/q boards.

The System parameter area, which is The last 4 sectors (16 KBytes) on flash - is that over the over all flash - or of the 1MB boundaries ?

The confusing part, is when looking at

Code: Select all

#define ESP_PARAM_START_SEC      0xFD

is this starting at 0x0fc000 or 0x3fc000 ? I believe its the latter, 0x3fc000 ( 4,177,920 - which is 16k from the end of the 32mbit/4MB SPI flash ).

So, no more bcn_timout 's and a fully functioning 2.0.0 when flashing like this:

Code: Select all

/usr/local/bin/esptool.py --port /dev/cu.usbserial-DA01LUCA write_flash  --flash_size 32m   \
      0x00000 firmware/0x00000.bin  \
      0x40000 firmware/0x40000.bin  \
      0x0fc000 16kblank.bin \
      0x3fc000 16kblank.bin \
      0x3fc000 /Volumes/esp8266/esp-open-sdk/sdk/bin/esp_init_data_default.bin

Obviously, if the 3fc is correct - then 0fc blank file is not needed.

Posts: 4
Joined: Sun Feb 07, 2016 7:10 pm

Re: WiFi Stability issues with non-os SDK 1.4 and 1.5

Postby vad7 » Wed Mar 08, 2017 2:30 pm

The same instability with some routers.

state: 5 -> 2 (4c0)
rm 0
WiFi event(1): Disconnect from ssid wifi1, reason(4): Assoc_expire, count 1

Who is online

Users browsing this forum: No registered users and 3 guests