Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETHOTA Example not working on E-ETH-Lite and platformio #95

Open
seikobu opened this issue Dec 16, 2024 · 6 comments
Open

ETHOTA Example not working on E-ETH-Lite and platformio #95

seikobu opened this issue Dec 16, 2024 · 6 comments
Labels

Comments

@seikobu
Copy link

seikobu commented Dec 16, 2024

I always get the following error over serial:

Rebooting...
�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x420862da
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Booting
ETH Started
Ready
ETH Connected
ETH MAC: 66:E8:33:46:94:C9, IPv4: 192.168.1.106, FULL_DUPLEX, 100Mbps, GatewayIP:192.168.1.1
Start updating sketch
Progress: 0%
abort() was called at PC 0x40376242 on core 1

Backtrace: 0x4037767a:0x3fcebb70 0x4037c969:0x3fcebb90 0x40382ee5:0x3fcebbb0 0x40376242:0x3fcebc30 0x420101c7:0x3fcebc80 0x42006c69:0x3fcebca0 0x4206f623:0x3fcebcc0 0x4206f7f5:0x3fcebce0 0x4200634f:0x3fcebd10 0x420064c2:0x3fcebd80 0x42003536:0x3fcebda0 0x420090cd:0x3fcebdc0

ELF file SHA256: f82adc3532027e0b

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x420862da
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Booting
ETH Started
Ready
ETH Connected
ETH MAC: 66:E8:33:46:94:C9, IPv4: 192.168.1.106, FULL_DUPLEX, 100Mbps, GatewayIP:192.168.1.1

@Xinyuan-LilyGO Xinyuan-LilyGO deleted a comment Dec 16, 2024
@lewisxhe
Copy link
Contributor

Did you select the partition with the OTA upgrade? What are your Arduino settings?

@seikobu
Copy link
Author

seikobu commented Dec 19, 2024

Did you select the partition with the OTA upgrade? What are your Arduino settings?

Im using Platformio. Please have a look at my config below.
I don't know what you mean bei "select the partition" ?
Please don't be confused by my inclusion of ElegantOTA lib, I'm trying to get that to working as an alternative at the moment

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = T-ETH-Lite-ESP32S3
src_dir = examples/ETHOTA
lib_compat_mode = strict

[env]
lib_compat_mode = strict
platform = espressif32@6.7.0
framework = arduino
;upload_protocol = espota
;upload_port = 192.168.1.106
monitor_speed = 115200
monitor_filters =
default
esp32_exception_decoder
build_flags =
-DCORE_DEBUG_LEVEL=1
board_build.partitions = huge_app.csv
;board_upload.flash_size = 16MB
;board_build.partitions = partition_table.csv
;board_build.filesystem = littlefs

[env:T-ETH-Lite-ESP32S3]
lib_compat_mode = strict
platform = espressif32@6.7.0
framework = arduino

board = esp32s3box
build_flags =
${env.build_flags}
-DBOARD_HAS_PSRAM
-DLILYGO_T_ETH_LITE_ESP32S3
-UARDUINO_USB_CDC_ON_BOOT
monitor_filters =
default
esp32_exception_decoder
upload_speed = 921600
monitor_speed = 115200
lib_ignore =
Ethernet
;lib_deps = ayushsharma82/ElegantOTA@^3.1.6
lib_ldf_mode=deep
lib_deps =
me-no-dev/AsyncTCP @ 1.1.1
me-no-dev/ESP Async WebServer @ 1.2.3
arduino-libraries/Arduino_JSON @ 0.2.0
ayushsharma82/ElegantOTA@^3.1.6
board_upload.flash_size = 16MB
board_build.partitions = partition_table.csv
board_build.filesystem = littlefs
[eht_elite_base]
board = esp32s3box
build_flags =
${env.build_flags}
-DBOARD_HAS_PSRAM
-DLILYGO_T_ETH_ELITE_ESP32S3
-UARDUINO_USB_CDC_ON_BOOT
monitor_filters =
default
esp32_exception_decoder
upload_speed = 921600
monitor_speed = 115200
lib_ignore =
Ethernet
lib_deps =
SPI

@lewisxhe
Copy link
Contributor

board_build.partitions = partition_table.csv changed to board_build.partitions = default_16MB.csv

@seikobu
Copy link
Author

seikobu commented Dec 20, 2024

board_build.partitions = partition_table.csv ist not active in my ini-file.

I'm using huge_app.csv as per example, please see https://github.com/Xinyuan-LilyGO/LilyGO-T-ETH-Series/blob/master/platformio.ini line 92

@lewisxhe
Copy link
Contributor

I mean, as long as you change the partition table to board_build.partitions = default_16MB.csv, you can use OTA normally.

huge_app.csv does not have OTA partitions.

lewisxhe added a commit that referenced this issue Dec 21, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants