Skip to content

SPI Ethernet Support #5

@jstockdale

Description

@jstockdale

Hi there,

Love this project! Thanks for creating it :)

Do you have any suggestions for building this for the esp32s3 microcontroller?

I have a LilyGo T-ETH ELite I'm trying to test this on. When I follow the instructions I end up with a bootloop–

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403cdd51
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce3818,len:0x16f8
load:0x403c9700,len:0x4
load:0x403c9704,len:0xc00
load:0x403cc700,len:0x2eb0
entry 0x403c9908
I (27) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (27) boot: compile time Jun  7 2023 08:07:32
I (28) boot: Multicore bootloader
I (32) boot: chip revision: v0.2
I (36) boot.esp32s3: Boot SPI Speed : 40MHz
I (41) boot.esp32s3: SPI Mode       : DIO
I (45) boot.esp32s3: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (59) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (74) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (81) boot:  2 factory          factory app      00 00 00010000 00100000
I (89) boot: End of partition table
I (93) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=257c8h (153544) load
E (101) esp_image: Segment 0 0x3f400020-0x3f4257e8 invalid: bad load address range
E (110) boot: Factory app partition is not bootable
E (115) boot: No bootable app partitions in the partition table
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403cdd51
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce3818,len:0x16f8
load:0x403c9700,len:0x4
load:0x403c9704,len:0xc00
load:0x403cc700,len:0x2eb0
entry 0x403c9908
I (27) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (27) boot: compile time Jun  7 2023 08:07:32
I (28) boot: Multicore bootloader
I (32) boot: chip revision: v0.2
I (36) boot.esp32s3: Boot SPI Speed : 40MHz
I (41) boot.esp32s3: SPI Mode       : DIO
I (45) boot.esp32s3: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (59) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (74) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (81) boot:  2 factory          factory app      00 00 00010000 00100000
I (89) boot: End of partition table
I (93) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=257c8h (153544) load
E (101) esp_image: Segment 0 0x3f400020-0x3f4257e8 invalid: bad load address range
E (110) boot: Factory app partition is not bootable
E (115) boot: No bootable app partitions in the partition table

I assume this is because it has a esp32s3–

% espflash board-info
[2025-06-20T02:58:10Z INFO ] Detected 4 serial ports
[2025-06-20T02:58:10Z INFO ] Ports which match a known common dev board are highlighted
[2025-06-20T02:58:10Z INFO ] Please select a port
[2025-06-20T02:58:15Z INFO ] Serial port: '/dev/tty.usbmodem14201'
[2025-06-20T02:58:15Z INFO ] Connecting...
[2025-06-20T02:58:15Z INFO ] Using flash stub
Chip type:         esp32s3 (revision v0.2)
Crystal frequency: 40 MHz
Flash size:        16MB
Features:          WiFi, BLE
MAC address:       48:ca:43:30:b0:10

Any thoughts on how to build this for the esp32s3 target?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions