Hi,
I have been using IAR IDE version 9.10.2.
Currently working with STM32U575V MCU with M33 core that supports touchgfx library.
The project with touchgfx compiles with no errors/warnings and the display is able to display the images perfectly fine. But the Usage fault is triggered, when the texts are to be displayed on the screen.
The Usage fault points to memory alignment when the font information is being tried to be fetched.FYI.,
1. Touchgfx forums claim that their package is memory aligned for both images and texts.
2. Under usage fault., both divide by zero and memory unalign trap is enabled.
1374.Display.zip
3. All necessary memory alignment requirements are added in the .icf file.
The issue of usage faults can be resolved with the below workaround only after disabling the usage fault triggers., which is not expected from the projects initial setup for exception handling like the below image.
Any help on why the IAR IDE is detecting as an memory alignment trap when all the fonts and images are aligned appropriately by touchgfx.
Thanks and Regards
Sneha