Search found 83 matches

by cmorgan
Sat Jan 06, 2018 7:07 pm
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

I was unable to diagnose my issue with heap tracing. I was trying to trigger the heap trace output at intervals but I'm guessing it would have been more effective if I could have triggered it when the 'CORRUPT HEAP' was detected. Should I have modified the heap code to insert that tracing call at th...
by cmorgan
Sat Jan 06, 2018 7:02 pm
Forum: ESP32 IDF
Topic: Need help for HTTP Client Porting
Replies: 10
Views: 3759

Re: Need help for HTTP Client Porting

@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd.
by cmorgan
Sat Jan 06, 2018 3:00 pm
Forum: ESP32 IDF
Topic: IP Adresses in AP/STA mode
Replies: 2
Views: 1320

Re: IP Adresses in AP/STA mode

Are you receiving connections or connecting outwardly? When receiving you'll specify the address to listen to when you call bind().

On outgoing connections I'm a bit less sure how that works. I'd be interested in seeing some code to show what you mean and how you've resolved the issue.
by cmorgan
Sat Jan 06, 2018 2:50 pm
Forum: General Discussion
Topic: NVS write frequency analysis
Replies: 2
Views: 1257

Re: NVS write frequency analysis

I'd still like the changes (for instance the ssid, passphrase etc) to persist across power cycles. Possible to use a power down isr to switch the mode to flash and save before power completely went away? I'm assuming that the whole wifi nvs is rewritten if the mode changes but that may not be the ca...
by cmorgan
Sat Jan 06, 2018 3:14 am
Forum: General Discussion
Topic: NVS write frequency analysis
Replies: 2
Views: 1257

NVS write frequency analysis

Hello. The wifi subsystem can store its settings in nvs. In my case I'm switching between AP and STA and APSTA modes during a scanning process, due to the limitations of the SoftAP. What I'm wondering is how to prove that I'm not wearing out the nvs. I'm pretty sure I'm not, and I could instrument m...
by cmorgan
Thu Jan 04, 2018 10:02 pm
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

I'm having similar issues here with a v3.0-rc1 esp-idf based project. It shows up when hammering the libesphttpd server with the 'ab' utility but isn't always in the same location. I'm convinced its in my code but I'm having a really tough time tracking it down. How did you enable the per-allocation...
by cmorgan
Wed Jan 03, 2018 3:08 am
Forum: General Discussion
Topic: Thoughts on the ALB32-WROVER modules?
Replies: 10
Views: 3805

Thoughts on the ALB32-WROVER modules?

I'm starting to bump into flash size limits here with about .8MB of application. Much of that is system libraries, newlib, mbedtls, wifi libraries etc. I came across the ALB32-WROVER, https://www.analoglamb.com/product/alb32-wrover-esp32-module-with-64mb-flash-and-32mb-psram/, does anyone have exper...
by cmorgan
Sat Dec 30, 2017 7:40 pm
Forum: Hardware
Topic: ESP32 ADC Calibration curves?
Replies: 17
Views: 14021

Re: ESP32 ADC Calibration curves?

I'm also interested in an update. I have both a NTC thermistor and an analog thermistor. I'm afraid to use the internal ADC going forward but would prefer to use the internal ADC vs. adding a $1+ ADC to the board.
by cmorgan
Sat Dec 23, 2017 4:35 pm
Forum: General Discussion
Topic: loopback udp example?
Replies: 0
Views: 700

loopback udp example?

Hello. Does anyone have an example of udp with the loopback interface? I have a server process waiting on a select() and would like to add the udp listener to its list of FDs so I can wake it up and shut it down cleanly from another thread. Using the loopback address was intended to avoid allowing o...
by cmorgan
Tue Dec 19, 2017 1:38 pm
Forum: General Discussion
Topic: Is mDNS known to work for TCPIP_ADAPTER_IF_AP?
Replies: 0
Views: 720

Is mDNS known to work for TCPIP_ADAPTER_IF_AP?

From debugging it looks like the udp_bind() in _mdns_server_init_api() is failing and returning ESP_ERR_INVALID_STATE. I'm running the radio in APSTA mode.

Starting mDNS on TCPIP_ADAPTER_IF_STA works find btw.

Go to advanced search