Okay, I will look out for memory allocations in the applications.
I will let you know if I stumble somewhere.
Thank you so much.
Search found 14 matches
- Thu Jul 20, 2023 10:50 am
- Forum: ESP-IDF
- Topic: enc28j60: no mem for receive buffer
- Replies: 7
- Views: 3017
- Thu Jul 20, 2023 6:31 am
- Forum: ESP-IDF
- Topic: enc28j60: no mem for receive buffer
- Replies: 7
- Views: 3017
Re: enc28j60: no mem for receive buffer
Hi @ESP_ondrej thanks for replying. The chip that I am using is ESP32 WROOM 32UE, I'm unsure whether it is capable of PSRAM or not. I've run two test cases for v long period. In 1st case I am running the esp-idf enc28j60 example code with MQTT publishing "Hello World" in fixed intervals, and no er...
- Wed Jul 19, 2023 6:56 am
- Forum: ESP-IDF
- Topic: enc28j60: no mem for receive buffer
- Replies: 7
- Views: 3017
Re: enc28j60: no mem for receive buffer
Hi,
Ethernet is a part of my custom application which has multiple tasks.
When free heap is printed at multiple places in the code, plenty of free heap is observed (never less than 60KB).
Ethernet is a part of my custom application which has multiple tasks.
When free heap is printed at multiple places in the code, plenty of free heap is observed (never less than 60KB).
- Wed Jul 19, 2023 6:47 am
- Forum: ESP-IDF
- Topic: httpd_sock_err: error in send : 11
- Replies: 2
- Views: 2102
Re: httpd_sock_err: error in send : 11
Hi. No. Most of the time the error occurs when the server is started (not destroyed). Please go thru the serial logs from the past D (408689) httpd_txrx: httpd_recv_with_opt: requested length = 128 D (408699) httpd_txrx: httpd_recv_with_opt: received length = 128 D (408709) httpd_parse: read_block: ...
- Tue Jul 18, 2023 10:36 am
- Forum: ESP-IDF
- Topic: httpd_sock_err: error in send : 11
- Replies: 2
- Views: 2102
httpd_sock_err: error in send : 11
I have created an HTTP server on ESP32 that serves a webpage (html, css, js, svg files) as well as handles requests coming from the webpage. HTTP server is started when a device connects to ESP's access point and it is destroyed when the access point is disconnected. Sometimes during operation on th...
- Tue Jul 18, 2023 6:33 am
- Forum: ESP-IDF
- Topic: enc28j60: no mem for receive buffer
- Replies: 7
- Views: 3017
enc28j60: no mem for receive buffer
I am using esp-idf 4.4.4 version and I have used the component files of enc28j60 from the example of same version and updated version as well but still getting this error E (15177429) enc28j60: no mem for receive buffer after 1 or 2 days. This is my ethernet.c #include "freertos/FreeRTOS.h" #include...
- Fri Jul 14, 2023 1:15 pm
- Forum: ESP-IDF
- Topic: dhcp client start failed
- Replies: 4
- Views: 2611
Re: dhcp client start failed
Hi, Thanks for the reply. According to the esp-idf docs, esp_netif_dhcpc_start() this function is called from the events SYSTEM_EVENT_STA_CONNECTED (for wifi) and SYSTEM_EVENT_ETH_CONNECTED (for ethernet) of the event handler. In my flow, I'm verifying whether the dhcp client has started or not, and...
- Thu Jul 13, 2023 8:00 am
- Forum: ESP-IDF
- Topic: dhcp client start failed
- Replies: 4
- Views: 2611
Re: dhcp client start failed
I'm using en28j60 example code provided by esp-idf.bidrohini wrote: ↑Thu Jul 13, 2023 7:55 amWhich library are you using? This one? https://github.com/tobozo/ESP32-ENC28J60
Here is also a hacksterIO tutorial. It may give you some clues: https://www.hackster.io/mvtdesign/wifi- ... ule-8c0250
- Thu Jul 13, 2023 7:30 am
- Forum: ESP-IDF
- Topic: dhcp client start failed
- Replies: 4
- Views: 2611
dhcp client start failed
I'm using enc28j60 IC for ethernet and ESP fails to start DHCP client resulting in no IP_EVENT_ETH_GOT_IP event. I'm not being able to find the root cause of this and how to fix it. Following are the serial logs and ethernet initialization function. Serial Logs I (2864) enc28j60: revision: 6 I (2874...
- Wed Aug 24, 2022 2:07 pm
- Forum: ESP-IDF
- Topic: Error create mqtt task
- Replies: 1
- Views: 1595
Error create mqtt task
I'm working on a project where mqtt_app is started on event IP_EVENT_STA_GOT_IP and mqtt app is stopped when WIFI_EVENT_STA_DISCONNECTED event occurs. The general flow when MQTT_CLIENT: Error create mqtt task can be (mostly) seen is as follows - 1.ESP Bootup 2.WIFI_EVENT_STA_START 3.WIFI_EVENT_AP_ST...