2022-06-10 03:47 AM
Hello there!
I use a STM32F429 together with an ILI9341 based TFTLCD. I have configured TouchGFX with a partial framebuffer and it works without problems.
However, the program sometimes randomly hangs in the _exit() function in syscalls.c.
The cause is an assert in the getBlockForTransfer() function in the FrameBufferAllocator.c file. On the screen only float values are written to textareas.
Does anyone have an idea what could be the cause of the error?
Thanks for your help!
2022-06-21 03:32 AM
Hello @MAu ,
Which version of TouchGFX are you using ?
Is it possible to share your project, so we could try to reproduce your issue ?
Thank you,
/Yoann
2023-03-30 06:06 AM
I have a same problem. I using last version of TouchGFX 4.21.3 .
I wokring with partial framebuffer and the program randomly hangs in the _exit() at function getBlockForTransfer()
2023-04-16 03:47 PM
As do I. Same TouchGFX version, also partial frame buffer, ILI9341 based TFTLCD, SPI communications.
2023-04-17 06:20 AM
I too have the same problem, I solved it by commenting the line:
"assert(state[sendingBlock] == DRAWN);"
I know it's not the best solution
2023-04-17 09:32 AM
For the moment I have solved the problem. I was using the handleTickEvent routine to update the TouchGFX screen using the Unicode::snprintf function. This forced the snprintf to execute every time the handle tick event ran. I switched to an approach where the screen was updated only when necessary. This seems to have solved the problem for now.