Search found 528 matches

by ESP_Angus
Tue Oct 17, 2017 1:34 am
Forum: General Discussion
Topic: Diagnosing heap corruption
Replies: 7
Views: 85

Re: Diagnosing heap corruption

If I'm reading the docs correctly, by calling heap_caps_check_integrity_addr() I can check for out-of-bounds writes of any dynamically allocated memory area, including the buffer of std::vector<uint8_t>, retrieved via the data() method. Correct? That's right. This is a performance boost over checki...
by ESP_Angus
Mon Oct 16, 2017 1:34 pm
Forum: Report Bugs
Topic: WPA vulernability KRACK
Replies: 2
Views: 139

Re: WPA vulernability KRACK

Yes, please see here for details of (existing) patches:
viewtopic.php?f=13&p=15672#p15672

ESP8266 has also already been patched, and patched versions are already on github. An official announcement will be made on the relevant forum soon.
by ESP_Angus
Mon Oct 16, 2017 9:41 am
Forum: ESP32 SDK
Topic: WiFi WPA2 protocol vulnerabilities (VU#228519)
Replies: 2
Views: 1020

WiFi WPA2 protocol vulnerabilities (VU#228519)

(The CVEs and VU# mentioned here are under embargo at the respective sites for a couple more hours so the below links do not work, but the researcher has just released details of the attack which link to these vulnerability references, so we're reproducing them here.) Recently announced...
by ESP_Angus
Mon Oct 16, 2017 7:57 am
Forum: General Discussion
Topic: Diagnosing heap corruption
Replies: 7
Views: 85

Re: Diagnosing heap corruption

Given a stack dump like the above, is there anyway to get an initial clue to what static buffer or caller that it detected the corruption in, if you haven't added any calls to the diagnostic/integrity checking functions yet? That backtrack looks interesting, but what is it a trace of, I can't see t...
by ESP_Angus
Mon Oct 16, 2017 2:32 am
Forum: General Discussion
Topic: ESP32 - LiPo 3.7V with diode forward voltage as power source?
Replies: 8
Views: 134

Re: ESP32 - LiPo 3.7V with diode forward voltage as power source?

Ldo is better because it do stabilization but caps are needed, more pins for soldering, current mustn't be too low and price is If using a diode in place of an LDO then you should probably still place capacitors on both the battery and the ESP32 sides of the diode. Diode can drop 1v with "high...
by ESP_Angus
Mon Oct 16, 2017 2:20 am
Forum: General Discussion
Topic: running the bare esp32 chip
Replies: 10
Views: 622

Re: running the bare esp32 chip

Please, can you tell me if connecting GND and 3V3 of an wroom-32 is sufficient to trigger a boot? (I know, sounds stupid if the answer is yes, but I'm not an expert in soldering so it's kinda tough to decipher what's wrong...). Not quite sufficient. You also need to pull up the EN (Enable) pin to 3...
by ESP_Angus
Fri Oct 13, 2017 6:19 am
Forum: General Discussion
Topic: Problems after updating to latest master (reproduced in IDF example code)
Replies: 31
Views: 599

Re: Problems after updating to latest master (reproduced in IDF example code)

That's a very specific number. How did you conclude that it is enough? Any margin included in that number? It's 3KB, I added 512 bytes to the previous default stack size. You can patch tcpip_adapter_api_cb() in tcpip_adapter_lwip.c to print the TCP/IP task stack high water mark with your configurat...
by ESP_Angus
Fri Oct 13, 2017 4:53 am
Forum: General Discussion
Topic: Problems after updating to latest master (reproduced in IDF example code)
Replies: 31
Views: 599

Re: Problems after updating to latest master (reproduced in IDF example code)

What makes me a bit afraid this might be something else in addition to just a too small stack is that I did (or at least think I did) see this also with a whooping stack size of 10k - what size do you intend to set the default to? I found the bug went away with 3072, so I'm going to add some logic ...
by ESP_Angus
Thu Oct 12, 2017 11:27 pm
Forum: General Discussion
Topic: ESP32 -- RTS & DTR with Transistor Network
Replies: 5
Views: 110

Re: ESP32 -- RTS & DTR with Transistor Network

Here is what I have in mind without the transistor network. Pull-up on GPIO02 with DTR, and EN / CHIP-PW with pull-ups and RTS. If you wire DTR to GPIO0 not GPIO2, then the posted schematic will allow esptool.py to automatically put the chip into bootloader mode and flash it (I'm guessing wiring to...
by ESP_Angus
Thu Oct 12, 2017 12:25 am
Forum: ESP32 SDK
Topic: Increase UDP WiFi TX buffer count
Replies: 4
Views: 117

Re: Increase UDP WiFi TX buffer count

If your AP suports 802.11n AMPDU (frame coalescing), then this may also help when sending lots of small UDP packets. This is enabled by default but you can try increasing "WiFi AMPDU TX BA window size " to the maximum supported value (32). Q1. Is this a setting in the ESP32 SDK or in the ...

Go to advanced search