July 26, 2025, 03:36:17 AM

Recent posts

#31
ESP32 / can same firmware work for bot...
Last post by mihaiadrian - July 20, 2025, 02:02:13 AM
I see this written in ESP32-POE2:


    Ethernet doesn't work. Is my board defective?
    Make sure you've selected board variant with PSRAM enabled (this board has WROVER module, not WROOM). Make sure your code defines GPIO0 as Ethernet clock source pin.


So, this means, that instead of using this:

#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
#define ETH_PHY_POWER 12

the ETH_CLK_MODE will likely need to be set to 0

This is problematic in a infrastructure containing already old ESP32-POE where I want to add ESP32-POE2 as well and use same firmware. Because same firmware, as I understand , will not work for all the board. Of course, I could fix it at OTW (over the cable update ) software level to have 2 firmware and update some boards with a firmware and another boards with other firmware but I would like to avoid this - any mistake can lead to ... need to update manually the board not remotley which would be a pain. Until now, it works for me , with same firmware deployed via OTW for esp32-poe and esp32-poe-iso.

What I want to know - if there is a way to have 1/same firmware but which can work on both esp32-poe and esp32-poe2 and with network support enabled ?  If not, at least any way to read type of board from a ROM ? then I could dig into Ethernet to see if I can set that GPIO not from a define at compile time but later during running ( who knows if possible .. )

Also, do the pin configuration for esp32-poe32 is similar as described here  https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/resources/ESP32-POE-GPIO.png  ?

thanks and regards,
Mihai
#32
Neo6502 / Re: sharing NEO6502 code
Last post by Ralf - July 19, 2025, 05:27:01 PM
Quote from: Hugh Aguilar on November 20, 2024, 07:11:01 AMI bought the NEO6502 on the assumption that it was a programmable video-game computer. It isn't though.

I don't think that ever was the goal, mate.
Check the original blog post outlining the idea:
https://olimex.wordpress.com/2023/04/21/neo6502-open-source-hardware-modern-retro-computer-project/
#33
Neo6502 / Re: Neo6502 / Serial Access
Last post by mscha - July 18, 2025, 09:27:41 PM
The Neo showed up as COM4. I used PuTTY to connect. But no reaction to my typing.
- Default firmware used
- Ribbon cable used
- No jumpers changed
 
#34
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by LubOlimex - July 18, 2025, 08:23:41 AM
Alright added GPIO #5 for reset in the demo config.

About Bluetooth - it is all inside the main chip, so ANY demo for ESP32 WROOM will work. I mean any BT demo for any board. Bluetooth has nothing influenced from the design or layout of the Olimex board, no pins to change, nothing.
#35
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by driesvdb - July 17, 2025, 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
#36
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by LubOlimex - July 17, 2025, 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.
#37
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by driesvdb - July 17, 2025, 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
#38
ESP32 / Re: ESP32-GATEWAY-EA-IND rev I...
Last post by LubOlimex - July 17, 2025, 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
#39
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


#40
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.