Search found 172 matches

by Gfast2
Thu Nov 29, 2018 12:48 pm
Forum: General Discussion
Topic: How to let webserver access file system of the SD Card
Replies: 11
Views: 2296

Re: How to let webserver access file system of the SD Card

Hi ESP-IDF, I just wunder, how to let ESP32 plays like a traditional static webserver? My goal ist to let Mongoose Webserver access the virtual filesystem of SD card, and fetch the file that the webserver need. I got this idea from Mongoose's stock example HERE This is the code snippet that do the ...
by Gfast2
Fri Mar 23, 2018 8:46 am
Forum: General Discussion
Topic: Way of dynamic memory allocation detections
Replies: 6
Views: 871

Re: Way of dynamic memory allocation detections

Hi Angust, Thanks again for your suggestions. Because of the code size of my ethernet project, I still believe this Problem is some how caused by the massive usage of heap memory. Perhapse I was out of IRAM, but not DRAM (I've asked here yesterday what are they LINK . After really a long while diggi...
by Gfast2
Thu Mar 22, 2018 2:55 pm
Forum: General Discussion
Topic: Stack&Heap vs IRAM&DRAM
Replies: 6
Views: 997

Re: Stack&Heap vs IRAM&DRAM

Hi Vader_Mester, Thanks again for your more detailed answer. I'm big fan of Kolban's esp32 bible, too. My tiny esp32 told me really really much more then what my expensive Game PC did. I hope I can keep on looking forward and learn more from you guys, and even do some contribution later some how. Ch...
by Gfast2
Thu Mar 22, 2018 2:48 pm
Forum: General Discussion
Topic: lwIP Socket API difference between WIFI & ETH Stack.
Replies: 2
Views: 505

Re: lwIP Socket API difference between WIFI & ETH Stack.

Here is the newsock:

Code: Select all

35810     /* Create the server socket */
35811     SOCKET newsock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
Here is the optval:

Code: Select all

35826     int optval = 1;
by Gfast2
Thu Mar 22, 2018 2:44 pm
Forum: General Discussion
Topic: lwIP Socket API difference between WIFI & ETH Stack.
Replies: 2
Views: 505

lwIP Socket API difference between WIFI & ETH Stack.

Hallo ESP-IDF, pretty sure I should investigate long enough time before I post these questions in the forum. But your suggestion sometimes only take like 30sec. from your time (even the time for relax like me sometimes :lol: ) But it has the potential to save me many days to scratching my face and h...
by Gfast2
Thu Mar 22, 2018 1:19 pm
Forum: General Discussion
Topic: Stack&Heap vs IRAM&DRAM
Replies: 6
Views: 997

Re: Stack&Heap vs IRAM&DRAM

Hi kolban,

Thanks for your declarations! It helps me a lot. But I'm afraid I can't understand the data flow inbetween IRAM, DRAM and Control Unit 100% clearly. But I'll try to dig deeper by check out some posts & youtube vids. (Sorry, I'm still very dumb in this level :oops: )

Cheers

Gfast2
by Gfast2
Thu Mar 22, 2018 1:12 pm
Forum: General Discussion
Topic: Stack&Heap vs IRAM&DRAM
Replies: 6
Views: 997

Re: Stack&Heap vs IRAM&DRAM

Hi Vader_Mester, Thanks for your "IRAM_ATTR" and its declaration! I've greped the eps source, ESP-IDF did have ten thausand function add this macro. Since the xtensa core is a 32bit core, ist that means all defined functions I used can add this macro (If there is always IRAM available) to accelerate...
by Gfast2
Thu Mar 22, 2018 11:26 am
Forum: General Discussion
Topic: Stack&Heap vs IRAM&DRAM
Replies: 6
Views: 997

Stack&Heap vs IRAM&DRAM

Hi ESP-IDF, I wanna know how to understand these two type of concepts like the title described. I do know what is stack and heap, and other parts like the following images drawn. ram.png But if I read the docu about Heap Memory Allocation , IRAM and DRAM jumped out. In my understanderation, the diff...
by Gfast2
Thu Mar 22, 2018 10:04 am
Forum: General Discussion
Topic: Way of dynamic memory allocation detections
Replies: 6
Views: 871

Re: Way of dynamic memory allocation detections

BTW, with this library, I've two separate projects. One works with WIFI and the other works with ETH. The WIFI one is smaller, and works well with this open62541 library & WIFI, but the ETH one is bigger. The integration of this library happens much later. And still now do not works at all (But a We...
by Gfast2
Thu Mar 22, 2018 9:33 am
Forum: General Discussion
Topic: Way of dynamic memory allocation detections
Replies: 6
Views: 871

Re: Way of dynamic memory allocation detections

Hi ESP_Angus, Thank you very much for the Link about Heap Memory Debugging. --- I've followed the instructions as the docu said: Turned on "Assertion level" to "Enable" & make sure "Optimization Level" to "-Og", but didn't change my code. After manually clean and recompile the code base, I still get...

Go to advanced search