WiFi memory issue?

zliudr
Posts: 357
Joined: Thu Oct 03, 2019 5:15 am

WiFi memory issue?

Postby zliudr » Mon Sep 21, 2020 3:03 am

Hi,

I'm trying to find out why wifi stopped working. This is what I printed out right before WiFi reported memory error:

Code: Select all

I (4152946) POST_SKU: SPIRAM   max free size  :3566652
I (4152946) POST_SKU: SPIRAM   max free block :3489460
I (4152956) POST_SKU: Internal max free size  :76576
I (4152956) POST_SKU: Internal max free block :27060
W (4154516) wifi: alloc eb len=24 type=3 fail, heap:3468076
W (4154516) wifi: m f null
I'm not sure what WiFi is reporting but the heap value seems to coincide approximately with max free SPIRAM block. Could someone explain what the error was about? I know I'm running low on internal memory but I've set the following:

Try to allocate memories of WiFi and LWIP in SPIRAM firstly.
Maximum malloc() size, in bytes, to always put in internal memory = 1024

I also see this:

Code: Select all

I (1609675) wifi: ap_probe_send over, resett wifi status to disassoc
I (1609675) wifi: state: run -> init (c800)
I (1609675) wifi: pm stop, total sleep time: 27225137 us / 1605003282 us

I (1609675) wifi: new:<2,0>, old:<2,1>, ap:<255,255>, sta:<2,1>, prof:1
What is the meaning of this? Why did my WiFi go to sleep?

Who is online

Users browsing this forum: No registered users and 251 guests