Skip to main content
BTurc.2
Senior
March 3, 2023
Solved

STM32H747 LCD display issue

  • March 3, 2023
  • 31 replies
  • 18973 views

When I flash some .bin the LCD doesen't work. It just display the a noise picture. With similar examples does work and with more advanced examples like the EmbeddedWizard it works too.

When does not work, every time display the same static image:

0693W00000aI7WEQA0.jpg

Best answer by Az.21

Hey Guys, GOOD NEWS!

​It's the screen hardware problem, I bought a separate screen (B-LCD40-DSI1 4" WVGA TFT LCD) from mouser, which is same type but can normally display.

↓ difference between default screen and separate screen
_legacyfs_online_stmicro_images_0693W00000bjBnLQAU.png↓ package of screen module
_legacyfs_online_stmicro_images_0693W00000bjBq1QAE.png↓ FP-AI-VISION demo:person detect
_legacyfs_online_stmicro_images_0693W00000bjBprQAE.png

31 replies

ST Employee
March 10, 2023

Hello @ACapo.1​ 

I also tested BSP with LCD rev A03 and board D01

EDIT: LCD_DSI example tested with board RevD01 and RevD03

Could you please check the board revision (Under LCD)

Tesla DeLorean
Guru
March 10, 2023

Would suggest attaching a known working .HEX file, would remove a lot of variables in identifying what's wrong.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ACapo.1
Associate III
March 10, 2023

D03 here​

0693W00000aIhCtQAK.jpg

ACapo.1
Associate III
March 10, 2023

I tried the BSP example again after reattaching the display to see if it had magically been fixed but still same problem.

Could you please attach your elf or hex here and I will flash that.

ACapo.1
Associate III
March 10, 2023

Hi,

DO3 here.

0693W00000aIhCtQAK.jpg

Board was from Mouser, there is also another guy having issues which may be related, also from mouser: https://community.st.com/s/question/0D53W00002ASl3lSAD/stm32h747-discovery-blank

Could you please attach your BSP example elf here and I will flash it so we can double check it isn't a software tool problem.

Tesla DeLorean
Guru
March 10, 2023

Colourful junk like this is more likely the memory behind the LTDC/DSI

The geometry, timing and DSI look to be working

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ACapo.1
Associate III
March 10, 2023

Interestingly if you look at the image in the first post and the image I posted the screen looks vey similar, look at the vertical "lines".

ACapo.1
Associate III
March 10, 2023

I don't know what is happening here but I have made posts that are not here now.

The board is RevD03, Sarra can you attach your working BSP example elf or hex and I will flash it.

Karl Yamashita
Principal
March 11, 2023

I don't see any mention of selecting an external loader?

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
Karl Yamashita
Principal
March 11, 2023

If you're using Cube Programmer to program the bin, then try selecting a memory device

0693W00000aIiCVQA0.png

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
ACapo.1
Associate III
March 11, 2023

Thanks. I have been using the correct External Loaded, it doesn't make a difference.

ACapo.1
Associate III
March 11, 2023

Hi Guys,

Thanks for all the posts and help.

I think so far we have this:

  1. Using the most recent STMCubeIDE all examples that use Video Mode show the corrupted screen. This include the BSP example.
  2. The hex file kindly provided by Tesla DeLorean also shows the corrupted screen. Tesla have you tested this on a D03 board with A03 screen?
  3. Removing USE_LCD_HDMI does not fix the issue.
  4. Using the correct External Loaded does not fix the issue.
  5. Sarra has used the same versions of the Board D03 and Screen A03 and it is working fine for her.

So from this I'm guessing these must be faulty boards, the last nail in the coffin would be to use the exact elf/hex that Sarra used, I guess when she gets to work on Monday she can post that here for us to test.

Cheers

Andy

Karl Yamashita
Principal
March 11, 2023

I tried programming @Community member​ file that he posted and on the first try i was able to get it working.

0693W00000aIiYMQA0.png 

i programmed it with a simple TouchGFX project to overwrite what was in memory. Then I tried subsequent times to program the hex file and all i could get to show was the Blue bar with white space, so without the image of the girl flying the kite and the white text..

I then followed the link to this post ttps://community.st.com/s/question/0D53W00002ASl3lSAD/stm32h747-discovery-blank

and tried to program the demo but nothing was showing, just a black screen.

Then I checked all boxes for the Erase External Memory before i started programming. It took a long time to erase the external memory but it ended up programming and I got the demo to work.

0693W00000aIiaIQAS.jpg 

0693W00000aIiYgQAK.png 

So i tried both Tesla's file and the demo hex file going back and forth. They both are consistently programming and displaying correctly.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source