July 17, 2025, 06:58:58 PM

Recent posts

#1
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by driesvdb - Today at 05:25:52 PM
Hello
I was using the ESP32_Gateway_Ethernet_v4.0 example config.
And for esp-idf the ethernet basic example for the v5.4.2.
https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/README.md
I adjusted the config of this example to get it to work.
Then i changed the example code to use a tcp client connection.
Now i am trying to figure out how to advertise on bluetooth without success so far.
The device is not visible on nrf connect
#2
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by LubOlimex - Today at 02:54:14 PM
Glad it is now working. Can you point me which Olimex demo exactly did you use? Link to the GitHub repo will help me fix it. Thank you.
#3
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by driesvdb - Today at 11:13:59 AM
Oke thanks i set the CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=1 because it was set like that in the olimex example config.
But changing it to CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5 fixed the problem.
Thanks
#4
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by LubOlimex - Today at 09:01:03 AM
ESP32-GATEWAY doesn't use WROVER chip, so it is not good idea to use "esp32-wrover-kit 3.3v" config as basis. Use some config with WROOM chip for basis.

About the config, MDC and MDIO are ok but reset pin should be either GPIO5 (it is connected to a transistor that toggles the PHY power) or set it to -1. Try with either:

CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5

or

CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=-1
#5
ESP32 / ESP32-GATEWAY-EA-IND rev I ESP...
Last post by driesvdb - July 16, 2025, 01:28:35 PM
Hello

I am looking for some help porting the example on the github of olimex for ESP-IDF for an ethernet connection to the esp version v5.4.2. A lot of changes have happen sinds the release of the olimex example. I am starting from a basic ethernet example from version v5.4.2 and changing the configuration to set the correct pins and the other configuration. I have changed nothing for the code i just altered the configuration.
Currently the code seems to stop at the folowing code in ethernet_init.c
ESP_GOTO_ON_FALSE(esp_eth_driver_install(&config, &eth_handle) == ESP_OK, NULL,
                        err, TAG, "Ethernet driver install failed");
Before this i can log after this i can not see a log not even an error log.
Does anybody see the problem in my configuration.
For the start of the example i selected:
Target: esp32
Board: esp32-wrover-kit 3.3v
Here is my sdkconfig:

#
# Serial flasher config
#
# CONFIG_ESPTOOLPY_NO_STUB is not set
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y
CONFIG_ESPTOOLPY_FLASHMODE="dio"
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
CONFIG_ESPTOOLPY_BEFORE="default_reset"
CONFIG_ESPTOOLPY_AFTER_RESET=y
CONFIG_ESPTOOLPY_AFTER="hard_reset"
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
# end of Serial flasher config

#
# Partition Table
#
CONFIG_PARTITION_TABLE_SINGLE_APP=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x10000
CONFIG_PARTITION_TABLE_MD5=y
# end of Partition Table


#
# Example Ethernet Configuration
#
CONFIG_ENV_GPIO_RANGE_MIN=0
CONFIG_ENV_GPIO_RANGE_MAX=39
CONFIG_ENV_GPIO_IN_RANGE_MAX=39
CONFIG_ENV_GPIO_OUT_RANGE_MAX=33
CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y
CONFIG_EXAMPLE_ETH_PHY_LAN87XX=y
CONFIG_EXAMPLE_ETH_MDC_GPIO=23
CONFIG_EXAMPLE_ETH_MDIO_GPIO=18
CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=1
CONFIG_EXAMPLE_ETH_PHY_ADDR=0
# end of Example Ethernet Configuration


#6
ESP32 / Re: PoE not powering
Last post by LubOlimex - July 16, 2025, 08:11:23 AM
Feels like the PoE part failed somehow. Contact us over the e-mail - support@olimex.com - provide a link to this thread and purchase number to save some time.
#7
ESP32 / Re: PoE not powering
Last post by brettonw - July 15, 2025, 07:38:46 PM
I built the ETH-LAN demo in the Arduino IDE, and uploaded it to the board via the USB interface. After reset, I disconnected the USB and plugged in the PoE ethernet - and the board does not power up.

I've tried multiple ethernet cords, and this is plugged into a high-end, new Unifi PoE++ switch that works with every other PoE device I have on my desk. I'm certain it's not the switch or the cord.

I tried powering the board with USB while connected via ethernet cable, and it works in that case - but disconnecting the USB kills the power. The board is not picking up PoE power. The switch reports no power draw on the port.
#8
A20 / Re: Any suggestion?
Last post by LubOlimex - July 15, 2025, 12:50:22 PM
You need to run the video output script inside the image. After login run:

olinuxino-display

then enable the specific display. Reboot.

Be very careful about the connectors and the orientation. Track pin #1. Pin #1 from the LCD should go to pin #1 from the board LCD_CON connector.

#9
A20 / Any suggestion?
Last post by Beatento - July 15, 2025, 11:55:39 AM
Hi all,

My LIME2 board is working fine with A20-OLinuXino-bullseye-base image if I connect it through HDMI, but 7" and 4.3" olimex LCDs are not working at all. No video, no light.

I'm using the 0.5 pitch 40 pin cable, and power up the LIME2 board with a 5V 2A power source.

Any suggestion? Thanks!
#10
ESP32 / Re: PoE not powering
Last post by LubOlimex - July 15, 2025, 08:50:37 AM
Each ESP32-POE-ISO-16MB board is tested here with PoE powering. Chances of dead on delivery board are slim.

It could be anything poor code, QoS or firewall filtering of the ESP32 board, poor network settings.

Let's first rule out software problems - test with another software. Test with the LAN8720 demo from Arduino IDE.

First install the  Espressif package for ESP32 for Arduino IDE (refer to this: https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html). Then select ESP32-POE-ISO from the list and select 16MB PSRAM (refer to the picture below), then load the LAN demo, it is available from Examples -> Ethernet -> ETH_LAN8720. After compilation and download are done, open serial monitor on the port to see if it successfully connects (you can also ping the address it gets).

It is imperative to enable the 16MB PSRAM!



Does the issue persist with the Arduino IDE demo?