promiscuous_cb and malloc

atlascoder
Posts: 51
Joined: Wed Aug 30, 2017 12:36 pm

promiscuous_cb and malloc

Postby atlascoder » Fri Mar 23, 2018 5:37 pm

Hello Gurus!

I am trying to work with WiFi sniffer and do dynamic memory allocation. I've removed all printf functions from promiscuous callback in order to get maximum fast execution of the callback starving to get all packets from the air.

But I constantly get errors with dynamic memory routines from different places, but error is the same and below is otput from gdb.

I use ESP-IDF 2.0

Any ideas?
Attachments
gdb.png
gdb.png (101.75 KiB) Viewed 2840 times

atlascoder
Posts: 51
Joined: Wed Aug 30, 2017 12:36 pm

Re: promiscuous_cb and malloc

Postby atlascoder » Sat Mar 24, 2018 12:08 am

BTW,
by Tech Ref addresses > 0x400C2000 are mapping to external RAM, and does it mean that pvPortMalloc and pvPortMallocCaps are not in IRAM and they are slow?

Who is online

Users browsing this forum: No registered users and 112 guests