2023-07-12 11:55 PM - edited 2023-07-24 02:49 AM
Hello,
I want to use TouchGfx in a Non-Secure TrustZone context. I would like to know:
1. Is it possible in the first place?
2. Is there any example project for this around?
3. I have created a TrustZone example for my development board using CubeIDE and managed to get it to work; same for a sample TouchGfx application using TouchGfx Designer + CubeIDE. Now, I would like to merge the TouchGfx application into the Non-Secure sub project of the TrustZone project. It does not seem that straightforward. It seems modifying ioc file of the TrustZone project and adding TouchGfx middleware and all prerequisites ( like LTCD, pin out, etc. ) does not generate appropriate code. Is this the way to go? Is there any guideline how to do?
Thanks in advance and Best Regards,
2023-09-05 07:28 AM
I did not get any support on this, spent quite some time, and finally managed to get it to work. Answering my own questions: 1.Yes , 2. No, 3. Do not use ioc generated files for TouchGFX in TrsutZone enabled project, rather define symbloic links to a separate TouchGFX project, likely result of TouchGFX-Designer tool. There were much more hurdles to overcome though in regards to Trust Zone, touch, and DSI, DMA2D, GPU2D, and LTDC drivers.