June 12, 2025, 09:06:36 PM

Recent posts

#91
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 06, 2025, 08:44:28 AM
The setup looks alright. Looks like only the Ethernet hangs not the whole board. Orange and black relays are similar, but we will test in similar terms as you.

Can you tell me about the bulbs that you used? Type, brand, wattage?

Can you test with other type or wattage of of bulbs?
#92
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by joopheuvel - May 05, 2025, 07:10:50 PM
Hi.
I assume you get that ethernet error, because when you select PSRAM,
also the pin assignments from the ETH controller are set for Wrover (or did
you define them in the sketch/code?).
For me the problem is that starting with POE power simply is unreliable. Sometimes it works, but also sometimes it doesn't. Does not seem to be SW related.
Strangly enough when I start with USB power (and a regular ethernet cable), it works 100% of the time.
And... when it does not start with POE power, when I press the reset button, the board always does start after that buttonpress. Looks more to me a POE power timing Reset_ESP32 issue?
Thx.
Joop
#93
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by Biblbub - May 05, 2025, 06:48:58 PM
Switching the relays, without load is not a problem at all:
https://streamable.com/5vh9u0

But when I try to switch the relays with a load, I get only a few tries:
https://streamable.com/w4ba0t

I have attached a USB connector to see the logs in putty and when I try to switch with a load, this is what I get:

[D][switch:012]: 'Solarsteuerung Schalter 2' Turning ON.
[D][switch:055]: 'Solarsteuerung Schalter 2': Sending state ON

[D][switch:016]: 'Solarsteuerung Schalter 2' Turning OFF.
[D][switch:055]: 'Solarsteuerung Schalter 2': Sending state OFF

[D][switch:012]: 'Solarsteuerung Schalter 1' Turning ON.
[D][switch:055]: 'Solarsteuerung Schalter 1': Sending state ON

[D][switch:016]: 'Solarsteuerung Schalter 1' Turning OFF.
[D][switch:055]: 'Solarsteuerung Schalter 1': Sending state OFF

[D][switch:012]: 'Solarsteuerung Schalter 2' Turning ON.
[D][switch:055]: 'Solarsteuerung Schalter 2': Sending state ON

[D][switch:012]: 'Solarsteuerung Schalter 1' Turning ON.
[D][switch:055]: 'Solarsteuerung Schalter 1': Sending state ON

[V][ethernet:411][sys_evt]: [Ethernet event] ETH disconnected (num=3)
[W][ethernet:274]: Connection via Ethernet lost! Re-connecting...
[W][component:157]: Component ethernet set Warning flag: waiting for IP configuration
[V][ethernet:472]: DHCP Client Status: 0
[W][api.connection:109]: Home Assistant 2025.4.4 (192.168.64.17): Network unavailable, disconnecting
[V][api:116]: Removing connection to Home Assistant 2025.4.4
[W][component:157]: Component api set Warning flag: unspecified
[W][ethernet:265]: Connecting via ethernet failed! Re-connecting...
[V][ethernet:472]: DHCP Client Status: 0
[W][ethernet:265]: Connecting via ethernet failed! Re-connecting...
[V][ethernet:472]: DHCP Client Status: 0

It lines up very well with what we see in the video
#94
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by Biblbub - May 05, 2025, 06:13:03 PM
Hi,

thank you for the reply, if we focus on issue 1:
I tested pretty straightforward with two lamps.
The setup:

The lamp on PIN32 Relay is ON:

The lamp on PIN33 is ON:

Both lamps are ON:


I followed your links and the relays on your board are orange, while mine are black, could this cause the problems?

I should be nowhere near the power usage I saw in you video with the drill.
#95
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by LubOlimex - May 05, 2025, 04:45:27 PM
What I can say for sure is I get errors with Ethernet when:

- I use latest ESP32 release;
- I select ESP32-POE from the board selector;
- I disable PSRAM from the board options.

This leads to Ethernet problems with ESP32-POE2.

#96
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by joopheuvel - May 05, 2025, 04:39:11 PM
Indeed, One of the things I tried as well, going to the latest ESP32 PlatformManager. When I do, I run into multiple issues of SD MMC not working, to Firebase giving compiler errors but can switch off oblviously) to some other libraries I need to rewrite (OTA and FirebaseStorage). Also, the new Firebase libraries have their stability issues as well. Anyway, I may need to go ahead and overcome/bypass all this to do a try with the latest platform manager. What extra's are implemented in the download with latest IDE platform manager (I see in boards.txt)  ? Does extra stability code get added?

" esp32-poe.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw "

Thanks.
Joop
#97
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by LubOlimex - May 05, 2025, 04:16:13 PM
The lack of PSRAM might be an issue. Maybe instead of selecting ESP32-POE from the menu - use some generic "ESP32 WROVER module" entry or similar?

Another idea to lower down the possibilities - temporary switch to latest release of ESP32 package for Arduino IDE (I guess 3.2.0). Then try simple Ethernet code and see if the problem on power up remains. If it goes away then the problem was in the software/libraries/esp32 package version. If it remains then it could be something bigger.
#98
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by joopheuvel - May 05, 2025, 03:47:20 PM
Thanks for getting back to me!
This is the code for the Ethernet and yes it is before the include of ETH.h and ETH.begin().

    #ifndef ETH_PHY_TYPE
      #define ETH_PHY_TYPE  ETH_PHY_LAN8720
      #define ETH_PHY_ADDR  0
      #define ETH_PHY_MDC   23
      #define ETH_PHY_MDIO  18
      #define ETH_PHY_POWER 12
      #define ETH_CLK_MODE  ETH_CLOCK_GPIO0_OUT
    #endif
  #endif

I have IDE boardmanager 1.06 and I cannot select PSRAM/Wrover from the pulldown in that configuration. I see that for the boardmanager 3.0 also some other extra olimex specific code is downloaded, can that be the issue?
The PSram selection is only possible with board manager 3.00 and up. However if I choose that board manager I get many Firebase/strange SSL/TCP timeout errors making the operation unreliable. I would like to stay on 1.06, I have 100+ with POE-ISO running with this codebase just fine. And as indicated in 20% of the cases I plug in the POE-ETH cable it starts, in the other cases it doesn't.
Thanks!
Joop
#99
Neo6502 / Re: About Apple II emulator an...
Last post by mscha - May 05, 2025, 02:49:43 PM
I have almost the same question:
I have a neo6502 and a neo6502pc and want to develop programs in 6502 assembler.
For very small programs this is fine with built-in mini-assembler. But...
How can I store and load .asm files?
I have tried apple2e.uf2 and apple2e-5.uf2 together with a usb stick where I stored ProDos_2_4_3.po.
But I don't know how to use ProDos for my purposes. How do I use it properly?

I want to develop and test .asm files with 64tass on my computer and then copy the .bin files to the neos.
#100
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by LubOlimex - May 05, 2025, 12:01:22 PM
Have you enabled PSRAM from the board selection settings?

You said you have pin assignment for GPIO as Ethernet clock source pin, but is it placed in the proper place? Can you confirm it is placed before including ETH.h for ETH.begin()?

What are the exact definitions for the Ethernet that you used?