I've been using the FreeRTOS TCP stack for years now with ARM MCUs.
I have a project that uses a ESP32 and I'm using the IDF with Vscode.
I use a Socket and set the socket Opt of TCP_NODELAY to true so data is transmitted without delay.
I'm using TCP to communicate with a PC program so I have ...
Search found 35 matches
- Wed Jan 07, 2026 11:17 pm
- Forum: ESP-IDF
- Topic: LWIP Stack Behavior - I must be doing something wrong
- Replies: 1
- Views: 434
- Sun Mar 30, 2025 10:17 am
- Forum: ESP-IDF
- Topic: Why doesn't LWIP Respond to ARP Requests
- Replies: 5
- Views: 1101
Re: Why doesn't LWIP Respond to ARP Requests
ESP_Sprite:
Hardware ESP32 WROOM - two core
Web server - my design I been using in STM cpus for 10 years - uses sockets. NOT LWIP - I use FreeRTOS +TCP.
Using a JTAG debugger, I trapped the msg packet when it came in from wifi and watched how it was processed. I found that once the code was ...
Hardware ESP32 WROOM - two core
Web server - my design I been using in STM cpus for 10 years - uses sockets. NOT LWIP - I use FreeRTOS +TCP.
Using a JTAG debugger, I trapped the msg packet when it came in from wifi and watched how it was processed. I found that once the code was ...
- Sat Mar 29, 2025 12:03 pm
- Forum: ESP-IDF
- Topic: Why doesn't LWIP Respond to ARP Requests
- Replies: 5
- Views: 1101
Re: Why doesn't LWIP Respond to ARP Requests
As stated in my previous post - I set gratuitous ARP timing to 15 secs and unchecked ESP_WIFI_STA_DISCONNECTED_PM_ENABLE
Once a gratuitous ARP appeared - the Web Server was able to talk. THEN -- everything STOPPED. See the wireshark below. Once the gratuitous ARP STOPPED being sent - the Web Server ...
Once a gratuitous ARP appeared - the Web Server was able to talk. THEN -- everything STOPPED. See the wireshark below. Once the gratuitous ARP STOPPED being sent - the Web Server ...
- Sat Mar 29, 2025 11:54 am
- Forum: ESP-IDF
- Topic: IDF Compiler settings are TERRIBLE for JTAG debugging
- Replies: 5
- Views: 967
Re: IDF Compiler settings are TERRIBLE for JTAG debugging
I tried adding add_compile_options() to the CMakeLists.txt in Main but the build process fails stating that the command in not-scriptable.
Added it to the CMakeLists.txt in the project folder -- see below
# For more information about build system see
# https://docs.espressif.com/projects/esp-idf ...
Added it to the CMakeLists.txt in the project folder -- see below
# For more information about build system see
# https://docs.espressif.com/projects/esp-idf ...
- Sat Mar 29, 2025 11:31 am
- Forum: ESP-IDF
- Topic: Why doesn't LWIP Respond to ARP Requests
- Replies: 5
- Views: 1101
Re: Why doesn't LWIP Respond to ARP Requests
ESP_Sprite:
Went into IDF Config and turned off gratuitous ARP and made sure all power management options are OFF/Not selected.
Compiled -- The browser NEVER connects with the Web Server -- still no ARP reply from LWIP.
I've gone back in and enabled gratuitous ARP and changed time from 60 secs to ...
Went into IDF Config and turned off gratuitous ARP and made sure all power management options are OFF/Not selected.
Compiled -- The browser NEVER connects with the Web Server -- still no ARP reply from LWIP.
I've gone back in and enabled gratuitous ARP and changed time from 60 secs to ...
- Sat Mar 29, 2025 1:18 am
- Forum: ESP-IDF
- Topic: How to Remove LWIP and all HTTP Server and Client
- Replies: 3
- Views: 671
Re: How to Remove LWIP and all HTTP Server and Client
Sorry - I don't understand your reply. CPU is NOT in any power saving mode.
- Sat Mar 29, 2025 1:16 am
- Forum: ESP-IDF
- Topic: IDF Compiler settings are TERRIBLE for JTAG debugging
- Replies: 5
- Views: 967
Re: IDF Compiler settings are TERRIBLE for JTAG debugging
Thanks for the reply.
THAT was one of the many I tried. I have compiler set for no optimization in the sdk config and added add_compile_options(-g) as the last line in my CMakeLists.txt in main.
No change in behavior.
Did I use the add_compile_options() improperly?
Thanks
THAT was one of the many I tried. I have compiler set for no optimization in the sdk config and added add_compile_options(-g) as the last line in my CMakeLists.txt in main.
No change in behavior.
Did I use the add_compile_options() improperly?
Thanks
- Fri Mar 28, 2025 10:15 pm
- Forum: ESP-IDF
- Topic: IDF Compiler settings are TERRIBLE for JTAG debugging
- Replies: 5
- Views: 967
IDF Compiler settings are TERRIBLE for JTAG debugging
Why offer JTAG debugging when the IDF setting make using JTAG useless.
If you set compiler for Debug - most all the variables are optimized out.
If you set it for no-optimization - the variables are unavailable because no debugging info available.
There is NOT a compiler setting that works.
I've ...
If you set compiler for Debug - most all the variables are optimized out.
If you set it for no-optimization - the variables are unavailable because no debugging info available.
There is NOT a compiler setting that works.
I've ...
- Fri Mar 28, 2025 8:19 pm
- Forum: ESP-IDF
- Topic: Why doesn't LWIP Respond to ARP Requests
- Replies: 5
- Views: 1101
Why doesn't LWIP Respond to ARP Requests
Thank goodness I have the IDF set to issue a gratuitous ARP every so often.
As you can see below - I have a desktop Chrome Browser attempting to open a web page on my ESP HTTP server. Chrome starts requesting ARP responses but LWIP provides nothing. Finally LWIP issues a gratuitous ARP and the web ...
As you can see below - I have a desktop Chrome Browser attempting to open a web page on my ESP HTTP server. Chrome starts requesting ARP responses but LWIP provides nothing. Finally LWIP issues a gratuitous ARP and the web ...
- Fri Mar 28, 2025 3:53 pm
- Forum: ESP-IDF
- Topic: How to Remove LWIP and all HTTP Server and Client
- Replies: 3
- Views: 671
How to Remove LWIP and all HTTP Server and Client
I've been using the FreeRTOS TCPIP stack for over 10 years on STM32F4 devices and understand/like it.
I've had nothing but issues with the ESP LWIP stack.
I ONLY use raw socket call from the stack - I have my own Server code.
When I go into the IDF Config menu and uncheck the usage of LWIP and ...
I've had nothing but issues with the ESP LWIP stack.
I ONLY use raw socket call from the stack - I have my own Server code.
When I go into the IDF Config menu and uncheck the usage of LWIP and ...