cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Bitmap Cache gets Stuck in takeframebuffersemaphore()

Masoud_Amiri
Associate

Hello
I configured touchgfx cache for sdram and my dual framebuffers are in sdram. I change the blockcopy function to read the sd card and write to the destination address. The Bitmap::cacheall() function works fine, but then my code gets stuck in takeframebuffersemaphore(). My touchgfx version is 4.22.0,  my chip is stm32f429zi and I enable DMA2D and LTDC interrupts.
When I configure the cache address on the internal RAM, everything is ok!

When I disable the cache and at the beginning of the code just copy the entire bitmaps from the sd card to the sdram (specified in the ld. file), everything is fine in this scenario as well.

0 REPLIES 0