2024-11-14 02:12 AM
I am new to TouchGFX interface. I am trying to create GUI for the custom LCD hardware of size 240x320 communicating with ILI9341 LCD drivers. The touchgfx builds the code and runs appropriately in the simulator., but the same is not working with the hardware. screen switching with the images in it works absolutely fine but without the text.
so the settings considered are as follows
2. the settings in Touchgfx
If anyone would guide through resolving this. would be helpful.
Thanks,
Sneha
Solved! Go to Solution.
2024-12-01 10:07 PM
Hi All.,
In my application, the usage fault trap is enabled that is triggered at divide by zero and also when the memory alignment fault is observed.
By disabling the memory fault trigger that is enabled at the usage fault. I was able to get the fonts being displayed on the screen.
This solution helped me come at a conclusion saying that memory alignment at the Font data level is not correctly working at the touchgfx library level.
The core is M33 of STM32U575V is unable to handle it accordingly. Still working on it., as disabling the fault enablers at the handler is not the right way to handle the issue.
Regards and Thanks
Sneha
2024-11-14 02:16 AM
Hello @Sneha and welcome to the community,
The first step to do is to validate the LCD driver and if you already displayed something on the LCD.
2024-11-14 02:18 AM
Hi @SofLit, The LCD driver works fine... As i was able to display the images and switch the screens as designed in the touchgfx designer
2024-11-14 02:28 AM
Need to explain what do you mean by " but without the text"
Show screen shot/image of the issue. Did you set it visible?
2024-11-14 05:46 AM - edited 2024-11-14 05:51 AM
So the current setting in the project under Config tab in text is SET to unmapped storage format.
Yes., the text boxes are all set to visible.
From the touchGFX simulator i get the below image as response (considering no build issues when compiling the text/font)
The same generated code by the designer is flashed to the hardware and the result is as below
If observed., the simulated image has texts but the same is not seen on the display.
2024-11-15 07:15 PM
It looks like the font glyphs are not being generated in the IntFlashSection. Please change back to Mapped Storage Format, build your project and attach your Map file.
2024-11-17 11:55 PM
Hi @Michael K I have now changed the touchGFX setting to MAPPED STORAGE FORMAT and it gives a usage fault. Adding the snapshot of CPU register window and the map file in the zip.
Let me know., if any other suggestions/ settings have to be considered.
2024-12-01 10:07 PM
Hi All.,
In my application, the usage fault trap is enabled that is triggered at divide by zero and also when the memory alignment fault is observed.
By disabling the memory fault trigger that is enabled at the usage fault. I was able to get the fonts being displayed on the screen.
This solution helped me come at a conclusion saying that memory alignment at the Font data level is not correctly working at the touchgfx library level.
The core is M33 of STM32U575V is unable to handle it accordingly. Still working on it., as disabling the fault enablers at the handler is not the right way to handle the issue.
Regards and Thanks
Sneha