2025-03-06 1:27 AM
Hello, I am working on a project that includes HTTPS communication, peripheral communication via LIN, and a graphical user interface. I am using the STM32H745I_DISCO board. I have already tested and successfully implemented the HTTPS and LIN parts.
Yesterday, I started investigating how to get the GUI up and running. I downloaded an image with TOUCHGFX 4.24.2, and it displayed correctly. Then, I followed the example from this link to configure it via CubeMX, but without success.
The strange thing is that when I tried downloading an image or a demo to the board again using TOUCHGFX 4.24.2, artifacts started appearing. I tried erasing all the memory areas visible in STM32CubeProgrammer, but after loading an image or demo, the artifacts persisted.
The last thing I tried was loading a blank GUI. I am attaching an image of what appears on the screen: vertical red stripes and pixels randomly turning on and off in red. It seems like a RAM read issue, but I can't understand why it persists even after erasing and reprogramming the memory.
Could an incorrect SRAM configuration be "saved" in a way that prevents proper communication between the MCU and SRAM?
Any help would be greatly appreciated. I’m really not sure how to approach this issue. Thanks.
Solved! Go to Solution.
2025-03-06 6:56 AM
After various tests with different versions of TouchGFX and attempts to verify configurations, I flashed the STM32H745I-DISCO demo example onto the microcontroller using the program_hexfile.bat file. This demonstration worked perfectly. Then, I created a new TouchGFX project for the board and programmed a blank GUI, and the artifacts disappeared. After that, I added an image as a background, and it displayed correctly.
I'm happy that the issue is resolved but frustrated that I don't understand what actually happened.
2025-03-06 6:56 AM
After various tests with different versions of TouchGFX and attempts to verify configurations, I flashed the STM32H745I-DISCO demo example onto the microcontroller using the program_hexfile.bat file. This demonstration worked perfectly. Then, I created a new TouchGFX project for the board and programmed a blank GUI, and the artifacts disappeared. After that, I added an image as a background, and it displayed correctly.
I'm happy that the issue is resolved but frustrated that I don't understand what actually happened.
2025-03-06 7:03 AM
"I'm happy that the issue is resolved but frustrated that I don't understand what actually happened."
Haha. From misery to mystery.