Skip to content

GIGIA: Giga display graphics no longer work with the release of 0.52.0 #274

@mjs513

Description

@mjs513

Describe the bug
While retesting video on the display shield I started to receiving a Imprecise data bus error. So went back to just trying the GraphicsDisplayTest sketch. This uses the updated libraries that I issued PRs for:
arduino-libraries/Arduino_GigaDisplay#34
arduino-libraries/Arduino_GigaDisplay_GFX#10

This resulted in the same type of error:

[00:00:05.023,000] <err> os: ***** BUS FAULT *****
[00:00:05.030,000] <err> os:   Imprecise data bus error
[00:00:05.038,000] <err> os: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000
[00:00:05.049,000] <err> os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x08092751
[00:00:05.060,000] <err> os:  xpsr:  0x41000000
[00:00:05.068,000] <err> os: s[ 0]:  0x00001397  s[ 1]:  0x24073d18  s[ 2]:  0x000001e0  s[ 3]:  0x00000320
[00:00:05.080,000] <err> os: s[ 4]:  0x000001e0  s[ 5]:  0x08092163  s[ 6]:  0x000bb800  s[ 7]:  0x00000000
[00:00:05.093,000] <err> os: s[ 8]:  0x24020ae4  s[ 9]:  0x08092751  s[10]:  0x00000000  s[11]:  0x00000000
[00:00:05.105,000] <err> os: s[12]:  0x24032f9a  s[13]:  0x2405bc7c  s[14]:  0x24073d18  s[15]:  0x08092173
[00:00:05.118,000] <err> os: fpscr:  0x24032f9a
[00:00:05.125,000] <err> os: Faulting instruction address (r15/pc): 0x08047164
[00:00:05.135,000] <err> os: >>> ZEPHYR FATAL ERROR 26: Unknown error on CPU 0
[00:00:05.145,000] <err> os: Current thread: 0x24006060 (main)
[00:00:05.154,000] <err> os: Halting system

Target board + cli verbose compilation output
Full verbose compilation output, ideally with arduino-cli invocation or from IDE 2.3.3+
CompilerOutput.txt

Output of Serial Monitor

uart:~$ Timeout while waiting for high throughput clock
SDIO firmware download error, whd_bus_sdio_init failed at 559
Interface is not up/NULL and failed in function whd_deinit at line 203
Interface is not up/NULL and failed in function whd_wifi_get_mac_address at line 3184

[00:00:04.507,000] <inf> flashdisk: Initialize device wlan
[00:00:04.515,000] <inf> flashdisk: offset 1000, sector size 4096, page size 4096, volume size 1044480
[00:00:04.528,000] <inf> flashdisk: Initialize device ota
[00:00:04.535,000] <inf> flashdisk: offset 100000, sector size 4096, page size 4096, volume size 5242880
[00:00:04.548,000] <inf> littlefs: littlefs partition at /storage
[00:00:04.557,000] <inf> littlefs: LittleFS version 2.11, disk version 2.1
[00:00:04.566,000] <inf> littlefs: FS at qspi-nor-flash@0:0x700000 is 1792 0x1000-byte blocks with 512 cycle
[00:00:04.579,000] <inf> littlefs: partition sizes: rd 16 ; pr 4096 ; ca 4096 ; la 32
[00:00:04.590,000] <inf> littlefs: Automount /storage succeeded
*** Booting Zephyr OS build v4.2.0-31-g8e71141c1b0a ***
[00:00:04.624,000] <inf> usb_cdc_acm: Device suspended
[00:00:04.849,000] <inf> usb_cdc_acm: Device configured
Zephyr
height: 480, width: 800, rotated: 1
RGB565 set
Shared multiheap
sizeof: 768000
w: 480, h:800, buf: 768000 (from ArduinoGiga_display library when setFrameDesc is called)
[00:00:05.023,000] <err> os: ***** BUS FAULT *****
[00:00:05.030,000] <err> os:   Imprecise data bus error
[00:00:05.038,000] <err> os: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000
[00:00:05.049,000] <err> os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x08092751
[00:00:05.060,000] <err> os:  xpsr:  0x41000000
[00:00:05.068,000] <err> os: s[ 0]:  0x00001397  s[ 1]:  0x24073d18  s[ 2]:  0x000001e0  s[ 3]:  0x00000320
[00:00:05.080,000] <err> os: s[ 4]:  0x000001e0  s[ 5]:  0x08092163  s[ 6]:  0x000bb800  s[ 7]:  0x00000000
[00:00:05.093,000] <err> os: s[ 8]:  0x24020ae4  s[ 9]:  0x08092751  s[10]:  0x00000000  s[11]:  0x00000000
[00:00:05.105,000] <err> os: s[12]:  0x24032f9a  s[13]:  0x2405bc7c  s[14]:  0x24073d18  s[15]:  0x08092173
[00:00:05.118,000] <err> os: fpscr:  0x24032f9a
[00:00:05.125,000] <err> os: Faulting instruction address (r15/pc): 0x08047164
[00:00:05.135,000] <err> os: >>> ZEPHYR FATAL ERROR 26: Unknown error on CPU 0
[00:00:05.145,000] <err> os: Current thread: 0x24006060 (main)
[00:00:05.154,000] <err> os: Halting system

Output of readelf
Readelf.txt

Optional: attach the elf file
graphicsTestGigaDisplay.ino.zip

Optional: attach the sketch
graphicsTestGigaDisplay-251119a.zip

Additional context
Note this was working perfectly in 0.51.0!!!! was developing zephy video drivers for HM0360 and Ov7675 without a problem until now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions