Skip to main content
Senior
September 23, 2024
Question

Mixed image on screen

  • September 23, 2024
  • 3 replies
  • 2999 views

Hi,

I have a custom board with STM32H743 and working on a project by TouchGFX 4.24. When the device power on or reset, some times I have a mixed image including numbers, pictures and ..., which I attached the image... and some times every thing is Ok after reset or power on. I have another project by TouchGFX on this board, which it always works fine.

Please help me with this, thanks.

3 replies

MHaji.1Author
Senior
September 23, 2024

I should add, the main difference between program with distorted  program and the correct one is: distorted program GUI is imported from old version of it from TouchGFX Designer... Is there any problem with this?

BR 

Andrew Neil
Super User
September 23, 2024

@MHaji.1 wrote:
AndrewNeil_0-1727100613203.png

Please post the corresponding image of what the screen should look like.

Note that you can paste the image into the post - where we can see it - rather than attaching it (where we can't).

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
MHaji.1Author
Senior
September 23, 2024

Hi Andrew,

Thank you for reply.

correct_image.jpg

As you see in the picture, The numbers are readable and the picture is correct, but in last one all screen is distorted.

Thanks

Andrew Neil
Super User
September 23, 2024

Could this be uninitialised data?

ie, in your first case, the values are "junk", and this corrupts the display ?

 

PS:

especially if the data is passed via pointers, and it's the pointers that are uninitialised

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
Technical Moderator
September 23, 2024

Hello,

You said:


@MHaji.1 wrote:

I have another project by TouchGFX on this board, which it always works fine.

 

Is it working on the same MCU part number i.e. STM32H743?

"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."
MHaji.1Author
Senior
September 23, 2024

Hello, 

Thanks for reply,

Yes, The part numbers are the same.

mƎALLEm
Technical Moderator
September 23, 2024

@MHaji.1 wrote:

Yes, The part numbers are the same.


So make a diff with the projects!

"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."