Skip to main content
ikassma
Associate III
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

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

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

/Martin

ikassma
ikassmaAuthor
Associate III

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

Ozone
OzoneBest answer
Principal

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

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