EB3 GLCD Timeout

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mnfisher
Valued Contributor
Posts: 2139
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 172 times
Been thanked: 989 times

Flowcode v11 EB3 GLCD Timeout

Post by mnfisher »

I might be doing something wrong... On an ebocks-3 esp I tried to get the display working.

I couldn't find the source to glcd_eb3 (auto included in project).
--- 0x4200e678: task_wdt_isr at C:/Espressif/frameworks/esp-idf-v5.5/components/esp_system/task_wdt/task_wdt.c:509
--- 0x403770ed: _xt_lowint1 at C:/Espressif/frameworks/esp-idf-v5.5/components/xtensa/xtensa_vectors.S:1240
--- 0x40041a79: ets_delay_us in ROM
--- 0x4200bbcd: FCD_029f2_gLCD_EB3__ReceiveReply at D:/Projects/Flowcode/eblocks3/main/esp-project.c:1868
--- 0x4200bc6b: FCD_029f2_gLCD_EB3__SendCommand at D:/Projects/Flowcode/eblocks3/main/esp-project.c:2054
--- 0x4200bd5b: FCD_029f2_gLCD_EB3__ClearDisplay at D:/Projects/Flowcode/eblocks3/main/esp-project.c:2705
--- 0x4200becb: app_main at D:/Projects/Flowcode/eblocks3/main/esp-project.c:2968
--- 0x4201dbf0: main_task at C:/Espressif/frameworks/esp-idf-v5.5/components/freertos/app_startup.c:208
--- 0x4037b2a9: vPortTaskWrapper at C:/Espressif/frameworks/esp-idf-v5.5/components/freertos/FreeRTOS-Kernel/portable/xt
Attachments
eblocks3.fcfx
(14.15 KiB) Downloaded 7 times

BenR
Matrix Staff
Posts: 2269
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 626 times
Been thanked: 833 times

Re: EB3 GLCD Timeout

Post by BenR »

Hello,

Just tried your program here and it's working great for me first time. The hope is that this should be very plug and play.

There is a problem in that the colour is very dark and so you might not instantly recognise it redrawing. The colour bit depth is masked from the top end so you can just call random() or if you want to mask to the bit depth then random() & 0b11111000. It's done like this so it correctly works with 24-bit RGB input.

The component itself can be found under Displays -> Graphical Colour. Maybe I should also include it in the Hardware ->? EB3 section.

Are you saying you get watchdog related resets?

When you power up the E-Block board do you get the Matrix splash screen? I wonder if it's missing its firmware?

mnfisher
Valued Contributor
Posts: 2139
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 172 times
Been thanked: 989 times

Re: EB3 GLCD Timeout

Post by mnfisher »

Hi Ben,

Yes - it's giving WDT restarts (as per messages above)- and the display doesn't seem to clear?

Martin

mnfisher
Valued Contributor
Posts: 2139
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 172 times
Been thanked: 989 times

Re: EB3 GLCD Timeout

Post by mnfisher »

... I did get the splash screen until I re-flashed with the above. Now - just lights on nobody home :-(

If I added a UART - I could print Hello World - before the loop and that worked AOK.

mnfisher
Valued Contributor
Posts: 2139
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 172 times
Been thanked: 989 times

Re: EB3 GLCD Timeout

Post by mnfisher »

I found a link to the component source in the Wiki - but it's 404 page not found :-(

Post Reply