Search found 15 matches
- Mon Jul 16, 2018 5:11 am
- Forum: General Discussion
- Topic: Understanding low-level SPI flash / SPI RAM usage and configuration
- Replies: 0
- Views: 2988
Understanding low-level SPI flash / SPI RAM usage and configuration
Hi all! I've been trying to dive deep into the ESP32 internals, but can't quite find all the information I'm looking for. I'm trying to understand the process that configures the SPI flash for usage. Here are the couple points that I'm stuck on. I know that the ESP32 uses external flash for storing ...
- Fri Jun 29, 2018 5:39 pm
- Forum: Report Bugs
- Topic: LwIP Socket Memory Leak
- Replies: 4
- Views: 9004
Re: LwIP Socket Memory Leak
Hi Casey, Thanks for the detailed bug report. I was able to reproduce and have committed a fix for review internally. (You were on the right track: there is a static function is_created_by_socket() in api_lib.c which checks if a netconn has a controlling socket. If it does, netconn_free() is deferr...
- Thu Jun 21, 2018 6:00 am
- Forum: Report Bugs
- Topic: LwIP Socket Memory Leak
- Replies: 4
- Views: 9004
Re: LwIP Socket Memory Leak
Fantastic, thanks Angus! Happy to help.
- Wed Jun 20, 2018 7:35 pm
- Forum: Report Bugs
- Topic: LwIP Socket Memory Leak
- Replies: 4
- Views: 9004
LwIP Socket Memory Leak
Hello! So, I've been doing some work on TCP sockets with the ESP32, and it appears I have run into a memory leak that only appears if the socket failed to open. I have attached code for a sample program that reproduces the bug. In menuconfig, set the correct WiFi credentials for your network under "...
- Wed Jun 20, 2018 7:11 pm
- Forum: ESP-IDF
- Topic: SPI RAM - Support for other chips
- Replies: 9
- Views: 16404
Re: SPI RAM - Support for other chips
I have not, I'm not at a point where I can buy large volumes, which I assume I'd need to in order to get it direct.
- Mon Jun 04, 2018 7:58 pm
- Forum: ESP-IDF
- Topic: SPI RAM - Support for other chips
- Replies: 9
- Views: 16404
Re: SPI RAM - Support for other chips
And max size 128 KB + max clock 20 MHz, quite unusable as ESP32 external RAM. Yes, but even more unusable is the lack of the ESP-PSRAM chip from distributors...I would much rather use a different, 128KB chip than nothing. Is the 20MHz a deal-breaker? Looks like the ESP32 runs external RAM at 40MHz ...
- Mon Jun 04, 2018 6:09 am
- Forum: ESP-IDF
- Topic: SPI RAM - Support for other chips
- Replies: 9
- Views: 16404
SPI RAM - Support for other chips
Hi all, I love the fact that the ESP32 supports SPI RAM. I understand that there are limitations to putting a lot of RAM on-die, so I appreciate the option of being able to implement external RAM. However, I was surprised to see that the only chip that's supported is the PSRAM chip manufactured by E...
- Mon May 21, 2018 9:24 pm
- Forum: ESP-IDF
- Topic: ESP32 memmem?
- Replies: 2
- Views: 5234
ESP32 memmem?
Hi there, I am trying to use the memmem function from newlib, but I'm getting "error: implicit declaration of function 'memmem'", despite including "string.h". I can see code for memmem in the newlib code for the esp32...is it for some reason not included in the IDF? I imagine there is some silly re...
- Sat Feb 10, 2018 6:10 am
- Forum: General Discussion
- Topic: Heap corruption diagnostics causing heap corruption?.
- Replies: 34
- Views: 51202
Re: Heap corruption diagnostics causing heap corruption?.
Goood point. Cheers Angus.ESP_Angus wrote: I'm not really aware of a non serious type of memory corruption bug...
- Fri Feb 09, 2018 8:33 pm
- Forum: General Discussion
- Topic: Heap corruption diagnostics causing heap corruption?.
- Replies: 34
- Views: 51202
Re: Heap corruption diagnostics causing heap corruption?.
I just updated to the latest IDF incl. submodules and am now running with comprehensive mode. No longer crashed on startup so that's a good sign. Will leave it overnight and report back. - memcpy(new_p, ptr, old_size); + memcpy(new_p, ptr, MIN(size, old_size)); Whew...that seems like a major buffer...