May 22, 2025, 03:08:15 PM

Recent posts

#51
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
#52
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.
#53
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
#54
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.
#55
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?

#56
FPGA / Re: How to reset the GateMateA...
Last post by LubOlimex - May 05, 2025, 09:15:05 AM
So using new version of openFPGALoader allows you to flash the RP2040 without manually putting it in bootloader mode?
#57
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 05, 2025, 09:11:05 AM
I don't think this is related to the power supply. These are two problems:

1) Something hanging and causing reset of the Ethernet or the board. Likely the load is somehow hanging the board. Could be bigger than possible to toggle, could be lose connections, could be too close to the board, etc. Try with another, lower load and see how it behaves.

2) It is another problem that the Ethernet initialization fails. This hang happens if Ethernet is initialized too quickly after reset. Add some delay at the start of the code before the Ethernet initialization. For example, in Arduino try with:

void setup()
{
  Serial.begin(115200);
  delay (500);
  WiFi.onEvent(WiFiEvent);
  ETH.begin();
}

Experiment with delay value. Usually 500 is enough. But if it doesn't fix the issue use 1000 or 1500 or 2000.

There was such a problem in the past with some loads and we improved the reliability of the Ethernet during relay switching in revision I1 by adding capacitor C2 and since then we haven't had complaints. Your board is revision K which has the fix with capacitor C2 applied. Here is the change log:

https://github.com/OLIMEX/ESP32-EVB/blob/master/HARDWARE/README.md

We've done a lot of tests with loads in the past:

https://www.youtube.com/watch?v=1GCLtMmOKN8

https://www.youtube.com/watch?v=iTl9EQknGjA

https://www.youtube.com/watch?v=x3e_u8LgnTs
#58
New Product Ideas / Re: ESP32 EVB supply voltage
Last post by LubOlimex - May 05, 2025, 08:29:11 AM
It would be impossible without changing the dimensions of the board, and changing the dimensions will lead to big compatibility problems. Converting 60V to 5V requires a lot of components to be done efficiently. Maybe consider this external convertor to use before the ESP32-EVB, it can convert 50V input to 5V output:

https://www.olimex.com/Products/Power-Supply/Modules/DCDC-50-5-12/open-source-hardware
#59
FPGA / Re: How to reset the GateMateA...
Last post by talpa - May 04, 2025, 05:34:58 PM
Got some help from a nice user on the Masterdon network

He had the same issue and had to update the firmware for the pico:
https://github.com/OLIMEX/GateMateA1-EVB/tree/main/SOFTWARE/dirtyJtag
I'm not sure that I needed to but did so anyway.

He also said that I needed a new enough openFPGALoader.
(he used the one from https://github.com/YosysHQ/oss-cad-suite-build/releases/tag/2025-04-29)

I just build it from source:
https://github.com/trabucayre/openFPGALoader

After doing this there is now a tiny flash in the reset LED on the board when I program it
#60
ESP32 / multiple ESP32-POE2 (new) do n...
Last post by joopheuvel - May 04, 2025, 12:36:19 PM
ESP32-POE2 does not randomly with POE.
I have 8 new POE2 and they after powering up the sometimes start fine, sometimes they hang.
I have added serial logging as first line in setup() but the system does not even get there.
It looks like that when I start with USB power, and after that connect (upowered) ETH it works fine and the board starts normally.
Also peculiar, if I connect the board to powered POE (48v), and the board does not start, pressing the reset button does the job and then starts the boarrd okay.
I am compiling with Arduino IDE and board manager ESP32 1.06 (so select POE and have pin assignment for wrover ethernet in my code) as newer versions are too bulky and have issues. I have some 100 ESP-ISO running without issues with this code. Code cannot be issue because when board starts, all works fine, ETH, Wifi, BLE, connections.
Help is appreciated as I have trying to find the issue for days now...
Loops like with POE2 power, the reset circuit does not properly get executed or order of timing is an issue?
Thanks.
Joop van den heuvel