Skip to main content
ikassma
Associate III
Sep 22, 2019 3:56 PM UTC
Solved

touchGFX guiTask It runs for a few minutes and stops.

hi all.

I use touchGFX with FreeRTOS.

My other Task is working fine. However, A few minutes after the system starts, the touchGFX task is blocked and will not run. This phenomenon occurs more quickly when the 16-bit control is performed than when the external RAM data line is 32-bit.

I'm not sure what I'm going to review. What should I check?

​

This topic has been closed for replies.
Ozone
OzoneBest answer
Principal
Sep 23, 2019 8:45 AM UTC

In most cases, either a stack overflow, or an out-of-bound access.

I suggest to instrument you code, to isolate the issue.

You don't pass stack buffers to interrupts or DMA, do you ?

6 replies

Martin KJELDSEN
Principal III
Sep 23, 2019 8:41 AM UTC

What's the state of your application when the task gets blocked? What's the nature of your application?

/Martin

ikassma
ikassmaAuthor
Associate III
Sep 23, 2019 9:25 AM UTC

My application task is running normally, showing REDAY, RUN, and BLOCKED sequentially.

Ozone
OzoneBest answer
Principal
Sep 23, 2019 8:45 AM UTC

In most cases, either a stack overflow, or an out-of-bound access.

I suggest to instrument you code, to isolate the issue.

You don't pass stack buffers to interrupts or DMA, do you ?

ikassma
ikassmaAuthor
Associate III
Sep 23, 2019 9:27 AM UTC

I output the Frame Buffer to LTDC via DMA. i try to gui Task Isolation My Application. Thank you.