Skip to main content
ikassma
Associate III
September 22, 2019
Solved

touchGFX guiTask It runs for a few minutes and stops.

  • September 22, 2019
  • 6 replies
  • 1308 views

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.
Best answer by Ozone

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
September 23, 2019

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

/Martin

ikassma
ikassmaAuthor
Associate III
September 23, 2019

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

Ozone
OzoneBest answer
Principal
September 23, 2019

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
September 23, 2019

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