cancel
Showing results for 
Search instead for 
Did you mean: 

touchGFX guiTask It runs for a few minutes and stops.

ikassma
Senior

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Ozone
Lead

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 ?

View solution in original post

6 REPLIES 6
Martin KJELDSEN
Chief III

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

/Martin

Ozone
Lead

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 ?

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

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

What is the application doing when you pause it?

I solved the problem, separating my Task from the TouchGFX Task and checking them one by one. The problem was that the GUI task was waiting because of the Semaphore that I used in my task.

Thank you~