2019-09-22 08:56 AM
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?
Solved! Go to Solution.
2019-09-23 01:45 AM
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 ?
2019-09-23 01:41 AM
What's the state of your application when the task gets blocked? What's the nature of your application?
/Martin
2019-09-23 01:45 AM
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 ?
2019-09-23 02:25 AM
My application task is running normally, showing REDAY, RUN, and BLOCKED sequentially.
2019-09-23 02:27 AM
I output the Frame Buffer to LTDC via DMA. i try to gui Task Isolation My Application. Thank you.
2019-09-23 01:28 PM
What is the application doing when you pause it?
2019-09-24 01:33 AM
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~