Skip to content

Display unstable, hard fault on Qualia board with CP 10.1.1 #10832

@rsbohn

Description

@rsbohn

CircuitPython version and board name

Adafruit CircuitPython 10.1.1 on 2026-02-17; Adafruit-Qualia-S3-RGB666 with ESP32S3

Code/REPL

import adafruit_qualia
from adafruit_qualia.graphics import Displays
from adafruit_display_text.label import Label
import terminalio
import displayio
import vectorio


BLACK = 0
TEXT = 1
RED = 2


def make_palette():
    palette = displayio.Palette(7)
    palette[BLACK] = 0x000000
    palette[TEXT] = 0x00FF66
    palette[RED] = 0xFF3333
    return palette


def init_display(rotation=270):
    base = adafruit_qualia.Qualia(Displays.BAR320X820, rotation=rotation)
    display = base.display
    root = displayio.Group()
    display.root_group = root
    return base, display, root, display.width, display.height


def main():
    base, display, root, width, height = init_display()
    palette = make_palette()

    # Scale the entire display contents by 4x
    scale = 4
    scaled_root = displayio.Group(scale=scale)
    display.root_group = scaled_root
    scaled_root.append(root)

    hello = Label(terminalio.FONT, text="HELLO QUALIA", color=palette[TEXT])
    hello.x = 10
    hello.y = 10
    root.append(hello)

    ball = vectorio.Circle(
        pixel_shader=palette,
        radius=8,
        x=(width // scale) // 3,
        y=(height // scale) // 2,
        color_index=RED,
    )
    root.append(ball)


if __name__ == "__main__":
    main()
    while True:
        pass

Behavior

Displays "HELLO QUALIA" in green with a red dot. But subsequent filesystem access will trigger a hard fault.

Description

No response

Additional information

CircuitPython core code crashed hard. Crikey!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.

Works fine with 10.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbusioespressifapplies to multiple Espressif chips

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions