ESP32S3 240x320 ILI9341 now shows portrait mode and continuous boots
Hello Wolle,
I can not be the only one with this problem as I am sure it would have been
reported by now. I hope I do not trouble you with a problem of my own making.
Configuration:
MWR Version 4.1.1h
ESP32S3
240x320 ILI9341 Display
Problem: After installing MWR Version 4.1.1h the display shows in portrait mode with continuous boots
Fix attempt: I did Full Clean. Same result.
settings.h
```
#define _SSID "XXXXX"
#define _PW "XXXXXXXXXX" // Or in textfile on SD-card
#define TFT_CONTROLLER 0 // (0)ILI9341, (3)ILI9486, (4)ILI9488, (5)ST7796, (7) RGB display
#define DISPLAY_INVERSION 0 // only SPI displays, (0) off (1) on
#define TFT_ROTATION 3 // only SPI displays, 1 or 3 (landscape)
#define TFT_FREQUENCY 40000000 // only SPI displays, 80000000, 40000000, 27000000, 20000000, 10000000
#define TP_CONTROLLER 0 // only SPI displays, (0)ILI9341, (3)ILI9486, (4)ILI9488, (5)ST7796, (7)GT911
#define TP_ROTATION 1 // only SPI displays, 1 or 3 (landscape)
#define TP_H_MIRROR 0 // only SPI displays, (0) default, (1) mirror up <-> down
#define TP_V_MIRROR 0 // only SPI displays, (0) default, (1) mittor left <-> right
#define LIGHT_SENSOR 0 // (0) none, (1) BH1750
#define I2S_COMM_FMT 0 // (0) MAX98357A PCM5102A CS4344, (1) LSBJ (Least Significant Bit Justified format) PT8211
#define SDMMC_FREQUENCY 80000000 // 80000000 or 40000000 Hz
#define FTP_USERNAME "esp32" // user and pw in FTP Client
#define FTP_PASSWORD "esp32"
#define CONN_TIMEOUT 2500 // unencrypted connection timeout in ms (http://...)
#define CONN_TIMEOUT_SSL 3500 // encrypted connection timeout in ms (https://...)
#define WIFI_TX_POWER 5 // 2 ... 21 (dBm) Adjust the WiFi transmission power to optimise power consumption or increase range, default: 5
#define LIST_TIMER 5 // After this time (seconds), the display returns from the list view
```
Terminal Output:
```
Rebooting...
���ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037b8b2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1024
load:0x403c8700,len:0xaf0
load:0x403cb700,len:0x2d24
entry 0x403c8898
00:00:00
00:00:00 *****************************************************
00:00:00 * MiniWebRadio Version 4.1.1h - Mar 10, 2026 *
00:00:00 *****************************************************
00:00:00
00:00:00 ESP32 Chip: ESP32-S3
00:00:00 Arduino Version: 3.3.6
00:00:00 ESP-IDF Version: 5.5.2
00:00:00 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit)
00:00:00 FLASH size 16777216 bytes, speed 80 MHz
00:00:00 CPU speed 240 MHz
00:00:00 SDMMC speed 80 MHz
00:00:00 TFT speed 40 MHz
00:00:00 PSRAM total size: 5055468 bytes
00:00:00 Arduino is pinned to core 1
00:00:00 RESET_REASON: Software reset due to exception/panic
00:00:00
00:00:00 tft_info: . init ILI9341
00:00:00 setup: ... Init SD card
00:00:00 setup: .... SD card found, 13964.0 MB by 15193.5 MB free
00:00:00 ARDUINO: [WIFI][APlistAdd] add SSID: XXXXX
00:00:00 WiFI_info: add credentials: XXXXX - 🔵🔵🔵🔵🔵🔵🔵🔵🔵 [main.cpp:788]
00:00:00 WiFI_info: Connecting WiFi...
00:00:00 ARDUINO: [WIFI] scan done
00:00:00 ARDUINO: [WIFI] 11 networks found
00:00:00 ARDUINO: [WIFI] Connecting BSSID: XX:XX:XX:XX:XX:XX SSID: XXXXX Channel: 6 (-31)
00:00:00 ARDUINO: [WIFI] Connecting done.
00:00:00 WiFI_info: WiFi connected
00:00:00 WiFI_info: connected to XXXXX, IP address is 192.168.4.38, Received Signal Strength -32 dB
00:00:00 AUDIO_info: audioI2S Version 3.4.4z
00:00:00 AUDIO_info: commFMT = Philips
00:00:00 setup: .... number of saved stations: 16
00:00:00 setup: .... number of saved favourites: 12
00:00:00 setup: .... current station number: 4
00:00:00 setup: .... current volume: 14
00:00:00 setup: .... volume steps: 21
00:00:00 setup: .... volume after alarm: 0
00:00:00 setup: .... last connected host: http://c3.auracast.net:8010/stream
00:00:00 setup: .... connection timeout: 2500 ms
00:00:00 setup: .... connection timeout SSL: 3500 ms
00:00:00 WiFI_info: mDNS started
00:00:00 WiFI_info: mDNS name: MiniWebRadio
00:00:00 ARDUINO: OTA server at: MiniWebRadio.local:3232
00:00:00 ftpServer: Buffers allocated: 4622 bytes
00:00:00 ARDUINO: could not acquire lock
00:00:00 ARDUINO: NULL TX buffer pointer
00:00:00 ARDUINO: NULL TX buffer pointer
00:00:00 ARDUINO: could not acquire lock
00:00:00 ARDUINO: NULL TX buffer pointer
00:00:00 ARDUINO: NULL TX buffer pointer
00:00:00 setup: .... Ambient Light Sensor BH1750 not found
00:00:00 recorder task started, Free heap: 118547
00:00:00 rtime_info: Initializing SNTP
00:00:00 action: ... switch to station 4
00:00:00 AUDIO_info: inputBufferSize: 655349 bytes
00:00:00 AUDIO_info: connect to: "hydra.cdnstream.com" on port 80 path "/1533_128"
00:00:00 AUDIO_info: Connection has been established in 139 ms
00:00:00 lastURL: .. http://hydra.cdnstream.com/1533_128
00:00:00 ARDUINO: lib/tftLib/tft_spi.cpp 96: x0 120, y0 240, x1 217, y1 -76
00:00:00 ARDUINO: lib/tftLib/tft_spi.cpp 96: x0 120, y0 240, x1 217, y1 -56
00:00:00 Country: .. D
00:00:00 bitRate: 128000
00:00:00 AUDIO_info: Bitrate (b/s): 128000
00:00:00 AUDIO_info: icy-genre:
assert failed: block_split IDF\components\heap\tlsf\tlsf_control_functions.h:452 (block_to_ptr(remaining) == align_ptr(block_to_ptr(remaining), ALIGN_SIZE) && "remaining block not aligned properly")
Backtrace: 0x40380079:0x3fcd4f00 0x40380045:0x3fcd4f20 0x40387cf5:0x3fcd4f40 0x40386729:0x3fcd5060 0x403860b7:0x3fcd5080 0x40377a07:0x3fcd50a0 0x40377a29:0x3fcd50d0 0x40377bc1:0x3fcd50f0 0x420f4a2f:0x3fcd5110 0x4200a293:0x3fcd5130 0x4203767d:0x3fcd5150 0x420f7a2c:0x3fcd5280
#0 0x40380079 in panic_abort at C:\Users\rjshi\.platformio\packages\framework-espidf\components\esp_system/panic.c:477
#1 0x40380045 in esp_system_abort at C:\Users\rjshi\.platformio\packages\framework-espidf\components\esp_system\port/esp_system_chip.c:87
#2 0x40387cf5 in __assert_func at C:\Users\rjshi\.platformio\packages\framework-espidf\components\newlib\src/assert.c:80
#3 0x40386729 in block_split at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap\tlsf/tlsf_control_functions.h:452 (discriminator 3)
(inlined by) block_trim_free at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap\tlsf/tlsf_control_functions.h:551 (discriminator 3)
(inlined by) block_prepare_used at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap\tlsf/tlsf_control_functions.h:631 (discriminator 3)
(inlined by) tlsf_malloc at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap\tlsf/tlsf.c:445 (discriminator 3)
#4 0x403860b7 in multi_heap_malloc_impl at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap/multi_heap.c:216
#5 0x40377a07 in aligned_or_unaligned_alloc at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap/heap_caps_base.c:93
(inlined by) heap_caps_aligned_alloc_base at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap/heap_caps_base.c:175
#6 0x40377a29 in heap_caps_malloc_base at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap/heap_caps_base.c:202
#7 0x40377bc1 in heap_caps_malloc at C:\Users\rjshi\.platformio\packages\framework-espidf\components\heap/heap_caps.c:84
#8 0x420f4a2f in ps_malloc at C:/Users/rjshi/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-psram.c:118
#9 0x4200a293 in ps_ptr<char>::alloc(unsigned int, char const*, bool) at .pio/libdeps/esp32s3/ESP32-audioI2S/src/psram_unique_ptr.hpp:187
(inlined by) ps_ptr<char>::assign(char const*) at .pio/libdeps/esp32s3/ESP32-audioI2S/src/psram_unique_ptr.hpp:334
(inlined by) ps_ptr<char>::assign(char const*) at .pio/libdeps/esp32s3/ESP32-audioI2S/src/psram_unique_ptr.hpp:327
#10 0x4203767d in ps_ptr<char>::ps_ptr(char const*) at .pio/libdeps/esp32s3/ESP32-audioI2S/src/psram_unique_ptr.hpp:131
(inlined by) loop() at src/main.cpp:2011
``
```
关闭于 2026-03-14 3 条评论