Search found 454 matches

by mzimmers
Wed Jan 29, 2020 10:49 pm
Forum: Hardware
Topic: (solved) failing to use external RAM
Replies: 7
Views: 752

(solved) failing to use external RAM

Hi all - As my application has outgrown the internal RAM resources of the ESP32, I'm attempting to use the external RAM supplied in the WROVER. My efforts, though, result in a system that fails early in the startup. Depending on the options I set, the failure ranges from a stack overflow in one task...
by mzimmers
Tue Jan 21, 2020 8:50 pm
Forum: ESP32 IDF
Topic: (resolved) stack overflow in task memory_task?
Replies: 5
Views: 629

Re: stack overflow in task memory_task?

Marking as resolved. I'm simply running out of memory.
by mzimmers
Tue Jan 21, 2020 8:49 pm
Forum: ESP32 IDF
Topic: (resolved) wifi failing on startup
Replies: 5
Views: 627

Re: wifi failing on startup

I'm going to mark this thread as resolved, as the problem isn't the wifi subsystem per se, but rather a memory shortage. I'll probably start a new thread on that topic shortly.
by mzimmers
Tue Jan 21, 2020 2:44 pm
Forum: ESP32 IDF
Topic: (resolved) wifi failing on startup
Replies: 5
Views: 627

Re: wifi failing on startup

Hi Sprite -

Thanks for the reply. Do we have any tools that help us profile memory use? I agree with your assessment, but I'm not sure how to go about fixing it.
by mzimmers
Mon Jan 20, 2020 10:35 pm
Forum: ESP32 IDF
Topic: (resolved) wifi failing on startup
Replies: 5
Views: 627

Re: wifi failing on startup

BTT. I could really use some help with this one. I increased the stack size to a ridiculous amount (0x8000 bytes) for my wifi task, which eliminated the stack overflow, though something seems wrong about this, given that it used to work with about 1/4 that amount of stack. Then, through trial and er...
by mzimmers
Thu Jan 16, 2020 8:02 pm
Forum: ESP32 IDF
Topic: (resolved) wifi failing on startup
Replies: 5
Views: 627

Re: wifi failing on startup

Here's a more complete copy of the log when this happens (the event_handler and setCommsState messages are mine): I (25453) wifi: bcn_timout,ap_probe_send_start I (27963) wifi: ap_probe_send over, resett wifi status to disassoc I (27963) wifi: state: run -> init (c800) I (27963) wifi: pm stop, total...
by mzimmers
Thu Jan 16, 2020 5:04 pm
Forum: ESP32 IDF
Topic: (resolved) wifi failing on startup
Replies: 5
Views: 627

(resolved) wifi failing on startup

Hi all - My app recently began failing due to a wifi error. This occurs shortly after startup, and is highly repeatable. I've done a web search for some of the keywords, but haven't found anything definitive. Any ideas what might cause this? It's kind of a show-stopper right now. I (27953) wifi: bcn...
by mzimmers
Wed Jan 15, 2020 8:44 pm
Forum: ESP32 IDF
Topic: (resolved) stack overflow in task memory_task?
Replies: 5
Views: 629

Re: stack overflow in task memory_task?

Hi Jason - Yes, it's a task I create. It's not an essential task, so I can get rid of it, but then other memory-related issues pop up. Currently, my wifi task throws this error: E (32104) phy_init: failed to allocate memory for RF calibration data abort() was called at PC 0x4018fe46 on core 0 I'm gu...
by mzimmers
Wed Jan 15, 2020 2:39 pm
Forum: ESP32 IDF
Topic: (resolved) stack overflow in task memory_task?
Replies: 5
Views: 629

Re: stack overflow in task memory_task?

Bump.

Any ideas on how I can chase this down? Thank you.
by mzimmers
Mon Jan 13, 2020 11:31 pm
Forum: ESP32 IDF
Topic: (resolved) stack overflow in task memory_task?
Replies: 5
Views: 629

Re: stack overflow in task memory_task?

As additional information, sometimes upon boot, I get this message instead: E (30492) phy_init: failed to allocate memory for RF calibration data The app manages a few calls to heap_caps_get_free_size before it crashes: I (7710) memreport: memReport(): there are 8728 MALLOC_CAP_8BIT bytes free. I (7...

Go to advanced search