cancel
Showing results for 
Search instead for 
Did you mean: 

No texts appear on the LCD with TouchGFX

Sneha
Associate II

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.

  • The MCU in use is STM32U575V.
  • Touchgfx version is 4.24.1
  • The images and font is placed in the internal flash as there is no space constraint for my application. ( Most of the demos or examples use external Flash for images and fonts).
  • Using a custom Font for my application (default font Verdana didnt work as well)

so the settings considered are as follows

  1. The *.icf file image 

Sneha_0-1731569798807.png

    2. the settings in Touchgfx

  1. Sneha_1-1731569935379.pngSneha_2-1731569973996.png

 

  • With the setting to unmapped storage format in Config, the images are getting displayed on the screen and switching of the screen also works fine. (No text is displayed on the screen)

Sneha_3-1731570117203.png

  • Since the texts are not working for me. I changed the setting to mapped storage format. After this change, Usage fault is triggered. From the CPU registers., the fault is triggered as soon as the font information is being fetched to display on the screen.

Sneha_4-1731570215832.png

If anyone would guide through resolving this. would be helpful.

Thanks,

Sneha

6 REPLIES 6
SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Sneha
Associate II

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

Need to explain what do you mean by " but without the text"

Show screen shot/image of the issue. Did you set it visible? 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Sneha
Associate II

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)

Sneha_2-1731591769198.png

The same generated code by the designer is flashed to the hardware and the result is as below

Sneha_3-1731591823123.png

If observed., the simulated image has texts but the same is not seen on the display.

Michael K
Senior III

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.

Embedded UI/UX Consulting: cadenza.design

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. 

Sneha_0-1731916335588.png

Let me know., if any other suggestions/ settings have to be considered.