Search found 8 matches
- Tue Apr 14, 2020 12:45 pm
- Forum: ESP-IDF
- Topic: How to implement tcp_sent callback ?
- Replies: 7
- Views: 8500
Re: How to implement tcp_sent callback ?
Hi ESP_Sprite. Thanks a lot for your analysis. This can be very well. I am allocating memory and subsequently assign some bytes to it. Among other things, also a null-terminated C string. Perhaps I have some bug with the null terminator. I am currently in the process of refactoring my application an...
- Mon Apr 06, 2020 9:29 pm
- Forum: ESP-IDF
- Topic: How to implement tcp_sent callback ?
- Replies: 7
- Views: 8500
Re: How to implement tcp_sent callback ?
I maybe found the cause for the heap corruption, although I don't understand why. The struct described in the original post had a flexible array at the end. I now replace it with a fixed-size array. Now the program runs very stable. Here's the struct I used before: typedef struct mb32_packet_t { uin...
- Mon Apr 06, 2020 11:32 am
- Forum: ESP-IDF
- Topic: How to implement tcp_sent callback ?
- Replies: 7
- Views: 8500
Re: How to implement tcp_sent callback ?
Thanks for your response. You're right, the heap corruption came back. It's quite strange, sometimes the heap corruption appears often, sometimes everything works fine. I meanwhile consulted the Heap Memory Debugging documentation and enabled "Comprehensive" mode for heap memory debugging via sdkcon...
- Tue Mar 31, 2020 10:49 am
- Forum: ESP-IDF
- Topic: How to implement tcp_sent callback ?
- Replies: 7
- Views: 8500
Re: How to implement tcp_sent callback ?
Thanks for your answer! I meanwhile update the ESP-IDF to the latest master-branch and the problem has gone away. Was there a bug-fix in the lwIP package lately?
- Mon Mar 30, 2020 1:31 pm
- Forum: ESP-IDF
- Topic: How to implement tcp_sent callback ?
- Replies: 7
- Views: 8500
How to implement tcp_sent callback ?
Hi. I am a quite noob with C and ESP-IDF, but I managed to implement my own TCP protocol which let me communicate between a Java application and the ESP32. The application runs most of the time fine, but sometimes I get a heap corruption message. I believe this is because I am using a queue that man...
- Thu Feb 27, 2020 11:04 am
- Forum: ESP-IDF
- Topic: MCPWM - newbie Q
- Replies: 3
- Views: 6754
Re: MCPWM - newbie Q
This is still not working. Seems to be a bug in MCPWM/ESP-IDF.
I just filed a bug report on Github.
I just filed a bug report on Github.
- Thu Feb 20, 2020 10:33 pm
- Forum: ESP-IDF
- Topic: Why do I suddenly get CDT Core Builder error when trying to build ESP-IDF project in Eclipse CDT ?
- Replies: 6
- Views: 9685
Why do I suddenly get CDT Core Builder error when trying to build ESP-IDF project in Eclipse CDT ?
Hi I am in the process to install and configure the ESP-IDF toolchain and libraries to develop the ESP32 microcontroller using the Wrover development board. I am using Xubuntu 18.04 and have done the following steps: - Gone through all steps of the " Getting Started Guide " and installed ESP-IDF and...
- Fri Jun 21, 2019 9:15 pm
- Forum: Hardware
- Topic: How to switch between PCB and IPEX antenna on an ESP32-S ?
- Replies: 1
- Views: 5323
How to switch between PCB and IPEX antenna on an ESP32-S ?
Hi. I am currently designing a small ESP32 expansion board for the Crazyflie quadcopter. I already have written the driver code on the SMT32 and the ESP32 (UART <-> TCP/IP bridge) which is working fine on my prototype. I decided to use the ESP32-S, since it provides a PCB-antenna and an IPEX-antenna...