Search found 591 matches

by PeterR
Wed Dec 09, 2020 12:48 am
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 10
Views: 1635

Re: Issues when using SPI SD card

Tell me that you have checked the 3V / 5V comment? That's an easy datasheet check. You can get voltage level issues to 'work' when reducing MHz but you don't/should not use empirical results ahead of something as simple as a datasheet check (I'm not doing that check for you). 41Kbps is stupidly slow...
by PeterR
Mon Dec 07, 2020 10:05 pm
Forum: ESP-IDF
Topic: WiFi AP web page.
Replies: 6
Views: 832

Re: WiFi AP web page.

Is it possible to force running the web page on the station connected to esp AP? Sure, just create/start the server on the IP of your interface. The server does not care if you are Wifi, Wired, Whatever. Just the IP. So thinking ahead guess you just need to launch when you have an IP (& stop when l...
by PeterR
Mon Dec 07, 2020 5:02 pm
Forum: ESP-IDF
Topic: DHCP server setting
Replies: 0
Views: 210

DHCP server setting

I am using the IDF DHCP server on wired ethernet. const esp_netif_inherent_config_t _DHCPSCfg = { .get_ip_event = IP_EVENT_ETH_GOT_IP, .lost_ip_event = 0, .flags = ESP_NETIF_DHCP_SERVER | ESP_NETIF_FLAG_AUTOUP, .if_key = "ETH_DEF", .if_desc = "eth", .route_prio = 50 }; The ESP takes address 192.168....
by PeterR
Tue Nov 24, 2020 7:27 pm
Forum: General Discussion
Topic: After how long do i expect the module to wear out?
Replies: 5
Views: 704

Re: After how long do i expect the module to wear out?

Most development boards do not contain proper ESD or even line capability. Raw input to pin? Really, what were they thinking - O, disposable or time to market! Iron triangle afraid. Don't get me wrong, eval boards are essential to agile system development. Just often not suited for production (being...
by PeterR
Mon Nov 23, 2020 4:50 pm
Forum: General Discussion
Topic: esp-mdf mqtt cannot subscribe topic
Replies: 10
Views: 1667

Re: esp-mdf mqtt cannot subscribe topic

I was using the ESP client (WS) to talk to my ESP WS MQTT server. Both client & server were on the same ESP. Other computers could also access the server. There were a range of issues in the local transport and the local ESP client. Also the client was laggy. I stripped the client out as I could jus...
by PeterR
Sun Nov 22, 2020 11:35 pm
Forum: General Discussion
Topic: esp-mdf mqtt cannot subscribe topic
Replies: 10
Views: 1667

Re: esp-mdf mqtt cannot subscribe topic

Ok, seen you're other post. I am guessing that you have a managed switch & you have enabled port mirroring?
You have actual transport errors logged so it should be possible (probably painful) to debug those clues.
by PeterR
Sun Nov 22, 2020 11:21 pm
Forum: General Discussion
Topic: esp-mdf mqtt cannot subscribe topic
Replies: 10
Views: 1667

Re: esp-mdf mqtt cannot subscribe topic

I did over WS. There were/are issues, check my posts, as I recall does not like fragmentation. ESP were very helpful & offered some patches. In the end I cut the local ESP client out as was also quite laggy over WS so moved past the ESP32 MQTT client thing. But, I am still not sure where/what you're...
by PeterR
Sun Nov 22, 2020 11:10 pm
Forum: General Discussion
Topic: After how long do i expect the module to wear out?
Replies: 5
Views: 704

Re: After how long do i expect the module to wear out?

or your psu and/or other electrical design is poor ;)
A digital 1 is a 1 and a digital 0 is, well 0.
Line driving is another matter entirely.

ESD is also another issue. ESD can kill slowly such that many do not believe that ESD is an issue. How did you protect the ESP communication interfaces?
by PeterR
Thu Nov 19, 2020 5:04 pm
Forum: ESP-IDF
Topic: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()
Replies: 9
Views: 1283

Re: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()

My key question then is: how can I reliably detect memory leaks in my unit tests? I run all unit tests cross platform. Visual Studio etc will then tell you the error of your ways. If you use the C++11 stuff then quickly doable and much easier/better to step through! Needs a bit/lot more work with d...
by PeterR
Tue Nov 17, 2020 3:51 pm
Forum: General Discussion
Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
Replies: 8
Views: 1250

Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB

Well, you have been warned! ;) It is not that the emac task will cause connection drops directly. As you say there should be retransmission etc. The exhaustion of memory will cause others to drop the connection however, no memory left! Say the HTTP client/server or the Websocket client/server attemp...

Go to advanced search