Closed RetiredWizard closed 1 month ago
Can you reproduce this on an Adafruit or Espressif board? I don't have either of the ones that fail.
I just tried the Matrix Portal S3 and it worked fine as well. I'm guessing it has to do with the 666 dotclock display init in board.c but I don't think I have any Adafruit/Espressif boards that initialize a dot clock display automatically.
Another difference between the boards that are failing for me, is that I update the firmware by first flashing combined.bin and then copying the UF2. All the other S3 boards I've tested will bring up the boot loader drive via a button press sequence. I don't have any idea if the boot loader could be a factor in this type of issue.
I was just about to start hacking up the Makerfabs board.c file to try and identify the cause and discovered that the Makerfabs board doesn't actually init the display in board.c so that's not the source of the problem after all.
Commenting out these two lines from mpconfigboard.h
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
and these lines from sdkconfig
CONFIG_ESP_CONSOLE_UART_CUSTOM=y
CONFIG_ESP_CONSOLE_UART=y
CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0=y
CONFIG_ESP_CONSOLE_UART_NUM=0
CONFIG_ESP_CONSOLE_UART_TX_GPIO=43
CONFIG_ESP_CONSOLE_UART_RX_GPIO=44
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
prevents the boot loop on the Makerfabs board. Is there a new way of configuring the UART console?
It looks to me like in addition to the Hacktablet and Makerfabs TFT 7" boards, the Espressif ESP32S3_LCD_EV and possibly (I don't know if non-S3 boards are affected) the Lilygo twatch_2020_v3 may be affected by this issue. I don't have either of those devices to test with.
From https://github.com/adafruit/circuitpython/pull/9583#issuecomment-2354071837:
Adafruit CircuitPython 9.2.0-alpha.2351-37-g015a5cf922 on 2024-09-16; MakerFabs-ESP32-S3-Parallel-TFT-With-Touch-7inch with ESP32S3 Adafruit CircuitPython 9.2.0-alpha.2351-37-g015a5cf922 on 2024-09-16; ESP32-S3-DevKitC-1-N8R8-with-HACKTABLET with ESP32S3
CircuitPython version
Code/REPL
Behavior
Description
After installing CircuitPython 9.2.0-alpha.2351 firmware on both the Hacktablet (espressif ESP32-S3 Dev Kit N8R8) and the Makerfabs Matouch 7" display boards a boot loop occurs. The boot loop doesn't occur with 9.1.2.
I've loaded the same firmware on the Adafruit ESP32S3 reverse TFT, Qualia S3 (without a display attached) and the ESP32-S3-GEEK display boards without seeing the same issue.
Additional information
No response