cancel
Showing results for 
Search instead for 
Did you mean: 

Root folder image problem

rohan_m
Senior

I am working with touchgfx 4.20.

When I have an image in the root folder of the touchgfx I am able to display the image on th e LCD but when I make a folder in root folder and move the image there it runs into a hardfault. Can you please help me with this problem.

e.g.

TouchGFX\assets\images\image.png -> This works

TouchGFX\assets\images/ledscreen\image.png -> This does not work

My observation is with the boot screen

FYI:- I dont have any spaces or wildcards in the folder path.

FYI:- All of these images go to the Quadspi none of them are in the internal flash.

7 REPLIES 7
Yoann KLEIN
ST Employee

Hello @rohan_m​,

After changing the path of the image, did you think about correcting it in TouchGFX Designer and regenerate code again ? Like this :

0693W00000Y8esyQAB.png 

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX
rohan_m
Senior

Ofcourse I generate it everytime. There is no doubt regarding that.

Its even not about changing the path.

When we take any screen which is not in the root folder it refuses to work.

Like lets say we have screen2 in the folder other than root and if we set that as startup image it does not work.

Could you share screenshots of this issue, or better share your project ?

/Romain

AScha.3
Chief II

>TouchGFX\assets\images/ledscreen\image.png -> This does not work

maybe system dont like "division" in string , try without "/" ->

TouchGFX\assets\images\ledscreen\image.png

0693W00000Y8jSHQAZ.png

If you feel a post has answered your question, please click "Accept as Solution".

We are not feeding this detail anywhere manually in the system. We are directly browsing the image. And whe you say without the "/" how will you convey where the image is ? And please discount "\" . All the slashes are forward slashes only. The backward slashes are mistakes please consider them all as forward slashes only.

Can you suggest a way in which I can share confidential projects ?

I cannot post here on the forum publicly....

send a private message to Yoann or Osman (to me as well but cant promise I will have the time to dive into it), or try to go through your region's ST support service.

/Romain