June 18, 2025, 02:00:55 PM

Recent posts

#91
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by joopheuvel - May 06, 2025, 02:03:03 PM
Great!
Happy that I have your acknowledgement and it was not just hit and mis. Relieved!
Final question, this does not seem to bethe  case for the narrow POE and POE-ISO based boards, as they are wired differently? Or they have other ETH controllers?
Joop
#92
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by LubOlimex - May 06, 2025, 01:35:25 PM
Yes. Probably the old libraries (in 1.0.6) didn't hold the Ethernet chip in reset long enough, so it turned on too fast. If we want a good start we want Ethernet chip to be held in reset via the PHY power pin (GPIO12) UNTIL the Ethernet clock is provided to the LAN8720 chip.

IF LAN8720 gets powered up BEFORE ESP32's GPIO provided Ethernet clock, the LAN8720 can hang. This is mention in LAN8720's manual on page 33:

"During a Hardware reset, an external clock must be supplied to the XTAL1/CLKIN signal."

https://ww1.microchip.com/downloads/en/devicedoc/00002165b.pdf
#93
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by Biblbub - May 06, 2025, 01:12:26 PM
Just a little additional information: I saw the same behaviour without USB attached and only the jack being used, couldn't get any logs though, as there was no UART output.
#94
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 06, 2025, 01:01:40 PM
I also got it to hang but only when powering from USB. If there is power jack attached it doesn't hang here will do a lot more tests now and will report back.

Edit: I can't get it to hang in the same setup and code when I use incandescent regular bulb instead of LED. So type of bulb/load seem to matter.
#96
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by Biblbub - May 06, 2025, 12:38:41 PM
I uploaded your code and the switching continues, but the Ethernet card seems to crash as well and it looks like it doesn't recover. It works for a few times and then the connection fails:

ETH Started
ETH Connected
ETH Got IP
*eth0: <UP,100M,FULL_DUPLEX,AUTO,ADDR:0x0> (DHCPC,GARP,IP_MOD)
      ether A0:A3:B3:31:15:7F
      inet 192.168.178.75 netmask 255.255.255.0 broadcast 192.168.178.255
      gateway 192.168.178.1 dns 192.168.178.1


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-0Qa7DJ453lNiWRKtnacemw' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Tue, 06 May 2025 09:36:09 GMT
Expires: Thu, 05 Jun 2025 09:36:09 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-tXHn53rHNohrS_Vq_dP7Dw' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Tue, 06 May 2025 09:36:12 GMT
Expires: Thu, 05 Jun 2025 09:36:12 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-bwrpRWT5_nXVjpE7Eyww8w' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Tue, 06 May 2025 09:36:16 GMT
Expires: Thu, 05 Jun 2025 09:36:16 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-sdF25WkmzZ0boF2zmevuYw' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Tue, 06 May 2025 09:36:19 GMT
Expires: Thu, 05 Jun 2025 09:36:19 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
connection failed

connecting to google.com
connection failed

connecting to google.com
connection failed
#97
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by joopheuvel - May 06, 2025, 12:12:51 PM
Hi.
In dispair, I tried this just after the setup:

  pinMode(ETH_PHY_POWER, OUTPUT);  // SECOND LED RELAY FOR ATTENTION
  pinMode(ETH_CLK_MODE, OUTPUT);
  digitalWrite(ETH_PHY_POWER, OFF);  // SET OFF
  digitalWrite(ETH_CLK_MODE, OFF);  // SET OFF

  delay(3000);

Then a bit later comes the ETH.begin() code etc...

And for now I am getting better results after plugging in the POE_ETH cable
I am getting 10 out of 10 good startups. Cross fingers.
Do you understand why this may help?
Joop
#98
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by joopheuvel - May 06, 2025, 11:49:51 AM
Thanks.
I already had delays first thing in the setup(). Tried everything from nothing to 1s, to 10s.
The only alternative seems to be to go to and test the latestboardmanager and rewrite all code for the parts that then do not properly work yet (SDMMC, Firebase, OTA).
Or I redesign everything and have it run on a POE(ISO), these are reliable and allways start without issues.
Joop
#99
JTAG / Part number for IDC20S/PCB of ...
Last post by mastupristi - May 06, 2025, 10:47:21 AM
Hi,
I need to repair an ARM-JTAG-20-10 and would need the exact part number for the 20-pin connector shown on schematic as IDC20S/PCB

best regards
Max
#100
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 06, 2025, 10:46:16 AM
Now I got 10W LED bulb, I will also test with USB instead of the 5V DC from the variable supply.