Closed TubaFonse closed 3 months ago
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ESP32-S3-DevKitC-1-N16R8.html
PLATFORM: Espressif 32 (2024.3.10+sha.348a508) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8MB PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
Moin Moin ,
PIO Set upload/monitor/test port von Auto auf Deinen Kommunikationsanschluss (COM) umstellen dann sollte das funktionieren
Moin, :-) zukünftig möchte ich auf die vorkompilierte Arduino Version verzichten, damit die Einstellungen über menuconfig wieder möglich werden. Das hat einige Vorteile bei der Speichernutzung und bei der Datenübertragungsrate über WLAN. Aber dann hätte ich eine sdkconfig für ESP32 und ESP32S3 und dasselbe zusätzlich für USB oder OTA.
Also anders: Unten in der Leiste kann der USB Port ausgewählt werden.
Je nach Betriebssystem ist das USB oder ACM oder COM.
Wenn MWR einmal läuft (über WLAN erreichbar ist) und der Flash Speicher >=8MB ist kannst du den Port auf "Auto" setzen. Dann funktioniert auch OTA
@schreibfaul1 über USB kann ich ja flashen, das ist nicht das Problem, MWR verbindet sich auch mit dem WLAN, aber gleich danach läuft er in die Boot-Schleife, weil offensichtlich der Zugriff auf NTP nicht mehr funktioniert: 00:00:10 setup: .... connected to FRITZ!Box7490LF, IP address is 192.168.178.31 00:00:10 ftpServer: Buffers allocated: 4622 bytes 00:00:10 connection to NTP failed, trying again
das gab es eine Änderung https://github.com/schreibfaul1/ESP32-MiniWebRadio/issues/354 das war vor zwei Monaten.
Vielleicht gibt es eine Zeitüberschreitung. Ich habe eine Zeile in rtime.cpp hinzugefügt. Damit verbindet sich der NTP schneller
Mit aktueller Firmware passt jetzt alles wieder: 1.) OTA flashen funktioniert! 2.) NTP funktioniert auch! Danke & Grüße, Alfons
prima, dann ist das Problem erledigt :-)
Hallo Wolle, ich wollte heute (ich weiß, es ist der 1. April) meinem MiniWebRadio die aktuelle Firmware verpassen, aber jetzt klappt leider gar nichts mehr:
1.) die aktuelle Version vom 31.03. lässt sich nicht flashen (OTA-Version, aber die bringe ich nicht zum laufen):
18:42:52 [DEBUG]: Options: Namespace(esp_ip='MiniWebRadio.local', host_ip='0.0.0.0', esp_port=3232, host_port=20273, auth='', image='.pio\build\esp32s3\firmware.bin', spiffs=False, debug=True, progress=True, timeout=10) 18:42:52 [INFO]: Starting on 0.0.0.0:20273 18:42:52 [INFO]: Upload size: 2304208 Sending invitation to MiniWebRadio.local failed 18:42:55 [ERROR]: Host MiniWebRadio.local Not Found *** [upload] Error 1
Hier bitte ich um "Nachhilfeunterricht" - was muss ich einrichten, damit der Upload-Port funktioniert?
2.) die Version vom 26.03. hat bisher bei mir funktioniert env:esp32s3 (jedoch nur die Option "ohne OTA"). Diese habe ich heute versuchsweise nochmal compiliert und geflasht - leider mit einer Bootloop bei "connecting to ntp": 00:00:10 WiFI_info: Connecting WiFi... 00:00:10 WiFI_info: mDNS name: MiniWebRadio 00:00:10 setup: .... connected to FRITZ!Box7490LF, IP address is 192.168.178.31 00:00:10 ftpServer: Buffers allocated: 4622 bytes 00:00:10 connection to NTP failed, trying again [ 10673][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED [ 10690][W][WiFiGeneric.cpp:1081] _eventCallback(): Reason: 8 - ASSOC_LEAVE
Details zu 1.)
Processing esp32s3 (board: ESP32-S3-DevKitC-1-N16R8; platform: https://github.com/Jason2866/platform-espressif32.git#348a508; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ESP32-S3-DevKitC-1-N16R8.html PLATFORM: Espressif 32 (2024.3.10+sha.348a508) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8MB PSRAM) HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:Environment Status Duration
esp32s3 FAILED 00:00:14.120 ======================================================== 1 failed, 0 succeeded in 00:00:14.120 ========================================================
Details zu 2.) ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3818,len:0x508 load:0x403c9700,len:0x4 => 0x403c9700: ?? ??:0 load:0x403c9704,len:0xad0 => 0x403c9704: ?? ??:0 load:0x403cc700,len:0x29d8 => 0x403cc700: ?? ??:0 entry 0x403c9880 => 0x403c9880: ?? ??:0 [ 412][I][esp32-hal-psram.c:92] psramInit(): PSRAM enabled =========== Before Setup Start =========== Chip Info:
Model : ESP32-S3 Package : 0 Revision : 1 Cores : 2 Frequency : 240 MHz Embedded Flash : No Embedded PSRAM : No 2.4GHz WiFi : Yes Classic BT : No BT Low Energy : Yes IEEE 802.15.4 : No
INTERNAL Memory Info:
Total Size : 336924 B ( 329.0 KB) Free Bytes : 264068 B ( 257.9 KB) Allocated Bytes : 67040 B ( 65.5 KB) Minimum Free Bytes: 258900 B ( 252.8 KB) Largest Free Block: 237556 B ( 232.0 KB)
SPIRAM Memory Info:
Total Size : 8388608 B (8192.0 KB) Free Bytes : 8358688 B (8162.8 KB) Allocated Bytes : 27352 B ( 26.7 KB) Minimum Free Bytes: 8358688 B (8162.8 KB) Largest Free Block: 8257524 B (8064.0 KB) Bus Mode : OPI
Flash Info:
Chip Size : 16777216 B (16 MB) Block Size : 65536 B ( 64.0 KB) Sector Size : 4096 B ( 4.0 KB) Page Size : 256 B ( 0.2 KB) Bus Speed : 80 MHz Bus Mode : QIO
Partitions Info:
Software Info:
Compile Date/Time : Apr 1 2024 15:16:29 ESP-IDF Version : v5.1.3-dirty Arduino Version : 3.0.0
Board Info:
Arduino Board : Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8MB PSRAM) Arduino Variant : esp32s3 Core Debug Level : 4 Arduino Runs Core : 1 Arduino Events on : 0 CDC On Boot : 0 ============ Before Setup End ============ ESP32 Chip: ESP32-S3 Arduino Version: 3.0.0 ESP-IDF Version: 5.1.3 MiniWebRadio Version 3.00o Mar 02/2024 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) FLASH size 16777216 bytes, speed 80 MHz CPU speed 240 MHz SDMMC speed 80 MHz TFT speed 40 MHz PSRAM total size: 8388608 bytes RESET_REASON: Reset due to power-on event 00:00:00 00:00:00 00:00:00 MiniWebRadio V3 00:00:00 00:00:00 00:00:00 setup: .... Arduino is pinned to core 1 00:00:00 tft_info: . init ILI9341 00:00:00 setup: .... Init SD card 00:00:00 setup: .... SD card found, 1897.5 MB by 1938.5 MB free [ 1272][I][esp32-hal-ledc.c:131] ledcAttachChannel(): LEDC attached to pin 10 (channel 0, resolution 8) 00:00:01 setup: .... seek for stations.csv 00:00:01 setup: .... stations.csv found 00:00:01 setup: .... seek for WiFi networks [ 1646][I][WiFiMulti.cpp:89] addAP(): [WIFI][APlistAdd] add SSID: FRITZ!Box7490LF [ 1688][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 0 - WIFI_READY [ 1732][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 2 - STA_START [ 4135][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 1 - SCAN_DONE [ 10352][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 1 - SCAN_DONE [ 10361][I][WiFiMulti.cpp:133] run(): [WIFI] scan done [ 10367][I][WiFiMulti.cpp:138] run(): [WIFI] 6 networks found [ 10373][D][WiFiMulti.cpp:242] run(): 0: [11][CA:0E:14:0C:93:11] Nw5Box7490GastLF (-39) () (visible) [ 10384][D][WiFiMulti.cpp:233] run(): ---> 1: [11][C8:0E:14:0C:93:11] FRITZ!Box7490LF (-40) () (visible) [ 10395][D][WiFiMulti.cpp:242] run(): 2: [6][1C:ED:6F:E5:7B:F5] FRITZ!Box 7530 XK (-74) () (visible) [ 10405][D][WiFiMulti.cpp:242] run(): 3: [1][F0:B0:14:3F:FE:17] Fritz-Box7430Mar3 (-82) () (visible) [ 10416][D][WiFiMulti.cpp:233] run(): ---> 4: [11][CC:CE:1E:10:B3:1A] FRITZ!Box7490LF (-83) () (visible) [ 10427][D][WiFiMulti.cpp:242] run(): 5: [11][CE:CE:1E:10:B3:1A] Nw5Box7490GastLF (-83) () (visible) [ 10437][I][WiFiMulti.cpp:262] run(): [WIFI] Connecting BSSID: C8:0E:14:0C:93:11 SSID: FRITZ!Box7490LF Channel: 11 (-40) [ 10534][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 4 - STA_CONNECTED [ 10558][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 7 - STA_GOT_IP [ 10567][D][WiFiGeneric.cpp:1119] _eventCallback(): STA IP: 192.168.178.31, MASK: 255.255.255.0, GW: 192.168.178.1 [ 10585][I][WiFiMulti.cpp:282] run(): [WIFI] Connecting done. [ 10592][D][WiFiMulti.cpp:283] run(): [WIFI] SSID: FRITZ!Box7490LF [ 10599][D][WiFiMulti.cpp:284] run(): [WIFI] IP: 192.168.178.31 [ 10606][D][WiFiMulti.cpp:285] run(): [WIFI] MAC: C8:0E:14:0C:93:11 [ 10613][D][WiFiMulti.cpp:286] run(): [WIFI] Channel: 11 [ 10619][D][WiFiMulti.cpp:344] resetFails(): [WIFI] Resetting failure flags 00:00:10 WiFI_info: Connecting WiFi... 00:00:10 WiFI_info: mDNS name: MiniWebRadio 00:00:10 setup: .... connected to FRITZ!Box7490LF, IP address is 192.168.178.31 00:00:10 ftpServer: Buffers allocated: 4622 bytes 00:00:10 connection to NTP failed, trying again [ 10673][D][WiFiGeneric.cpp:1055] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED [ 10690][W][WiFiGeneric.cpp:1081] _eventCallback(): Reason: 8 - ASSOC_LEAVE [ 10699][D][WiFiGeneric.cpp:1055] _eventCallback(): Ard�x��x�x�x�xx�xxx�x�x�������xx���xxxxx��xxx�xx����x�x�x��xESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x420639b8 => 0x420639b8: panic_handler at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/panic_handler.c:121 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3818,len:0x508 load:0x403c9700,len:0x4 => 0x403c9700: ?? ??:0 load:0x403c9704,len:0xad0 => 0x403c9704: ?? ??:0 load:0x403cc700,len:0x29d8 => 0x403cc700: ?? ??:0 entry 0x403c9880 => 0x403c9880: ?? ??:0 [ 418][I][esp32-hal-psram.c:92] psramInit(): PSRAM enabled