TouchGFX (v4.16.0) stops operation in DMA_Interface::addToQueue
Hi,
I have an application created with TouchGFX 4.13 and STM32CubeIDE 1.4 on an STM32F750Z8. It was not running very well from erxternal RAM so I decided to change to the STM32F767ZI with enough internal falsh to store the application. Also I changed to TouchGFX v4.16 and STM32CubeIDE 1.5.1. The board and configuration stayed almost the same but now the TouchGFX lib stops in DM_Interface::addToQueue after the first VSync. It looks like it tries to take a semapthore in touchgfx::OSWrappers::tryTakeFrameBufferSemaphore and afterwards calls TouchGFXGeneratedHAL::disableInterrupts. From that point I don't get any further ltdc line events any more, even if I remove the call to NVIC_DisableIRQ(LTDC_IRQn).
For curiosity I linked the programm against the old TouchGFX(v4.13). I know it will not really work with the generated files from TouchGFX Studio but at leats it didn't stop working at this point.
I also debugged the init code and ltdc, dma2d, gpios and the os are initialized correctly. Also the frame_buffer_sem and the vsync_queue are created. I haven't found any take or release semaphore calls outside of the lib.
What could be the reason, the lib is not able to get the semapthore, and why is it stopping the erverything else. Is there a handling to be done, if this happens?.
I appreciate any help, thank you.
Best regards
