Search found 89 matches

by cmorgan
Sat Jan 06, 2018 3:14 am
Forum: General Discussion
Topic: NVS write frequency analysis
Replies: 2
Views: 3810

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: ESP-IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 19921

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: 11220

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: 18
Views: 35537

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: 2046

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: 2056

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.
by cmorgan
Wed Dec 06, 2017 3:15 am
Forum: General Discussion
Topic: How to check if an efuse has been burnt?
Replies: 1
Views: 3234

How to check if an efuse has been burnt?

I've looked in esp32/include/rom/efuse.h, soc/esp32/include/soc/efuse_reg.h and bootloader_support/src/efuse.c and it isn't immediately obvious how one can determine if an efuse has been burnt. Is the developer supposed to first check whether the efuse has been read/write protected and then if not e...
by cmorgan
Fri Nov 24, 2017 9:29 pm
Forum: General Discussion
Topic: Can you use BLK3 to store an arbitrary unique id?
Replies: 1
Views: 3148

Re: Can you use BLK3 to store an arbitrary unique id?

Apparently I should have added '--no-protect-key' at the end of the command! Would be great if that option was documented in the espefuse.py help but I should have read the wiki page more carefully in any case.

I'm going to swap the module out for another one and see how that option works.
by cmorgan
Fri Nov 24, 2017 8:39 pm
Forum: General Discussion
Topic: Can you use BLK3 to store an arbitrary unique id?
Replies: 1
Views: 3148

Can you use BLK3 to store an arbitrary unique id?

I had posted a while ago about a unique id on the ESP32 for use in authenticating commands. Using espefuse.py I burnt a key to BLK3 like: $IDF_PATH/components/esptool_py/esptool/espefuse.py --port /dev/ttyUSB0 burn_key BLK3 blk3_key.bin Note that I used 'burn_key' because it seemed like the best app...