-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Bug
Copy link
Labels
area: InputInput Subsystem and DriversInput Subsystem and Driversarea: LVGLLight and Versatile Graphics Library SupportLight and Versatile Graphics Library SupportbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug
Description
Describe the bug
On the STM32U5G9J-DK1 with st_lcd_dsi_mb1835, the sample becomes stuck, and a "strange" image is displayed on the screen. No output log.
The BUS FAULT message is printed out when the sample is rerun with the CONFIG_LOG_MODE_IMMEDIATE enabled.
!*** Booting Zephyr OS build v4.1.0-15211-g47a20f60d09a ***
[00:00:00.637,000] <inf> sample: Touch sample for touchscreen: st1633i@70, dc: display-controller@40016800
<err> os: ***** BUS FAULT *****
<err> os: Precise data bus error
<err> os: BFAR Address: 0x0
<err> os: r0/a1: 0x200e15b8 r1/a2: 0x00000000 r2/a3: 0x00000000
<err> os: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x08005e53
<err> os: xpsr: 0x6100020f
<err> os: Faulting instruction address (r15/pc): 0x08005c96
<err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
<err> os: Fault during interrupt handling
<err> os: Current thread: 0x200e1418 (unknown)
<err> os: Halting system
Additionally, if the SCREEN_WIDTH_TO_CROSS_DIM value is changed to 20, the FAUL does not occur; instead, it shows only a horizontal line, rather than a cross.
Regression
- This is a regression.
Steps to reproduce
- Apply the patch boards: shields: st: enable the touch input on st_lcd_dsi_mb1835 #98717
- Compile and flash the sample
west build -p -b stm32u5g9j_dk1 --shield st_lcd_dsi_mb1835 samples/subsys/input/draw_touch_events
Relevant log output
!*** Booting Zephyr OS build v4.1.0-15211-g47a20f60d09a ***
[00:00:00.637,000] <inf> sample: Touch sample for touchscreen: st1633i@70, dc: display-controller@40016800
<err> os: ***** BUS FAULT *****
<err> os: Precise data bus error
<err> os: BFAR Address: 0x0
<err> os: r0/a1: 0x200e15b8 r1/a2: 0x00000000 r2/a3: 0x00000000
<err> os: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x08005e53
<err> os: xpsr: 0x6100020f
<err> os: Faulting instruction address (r15/pc): 0x08005c96
<err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
<err> os: Fault during interrupt handling
<err> os: Current thread: 0x200e1418 (unknown)
<err> os: Halting systemImpact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
area: InputInput Subsystem and DriversInput Subsystem and Driversarea: LVGLLight and Versatile Graphics Library SupportLight and Versatile Graphics Library SupportbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug

