Problem with Display

Good morning everyone,

I have this strange problem.
I’m using PlatformIO with STM32F103RET6 and the Arduino framework, and I need to get the GC9A01 display to work.

My display has always worked, but unfortunately, I had to change my laptop. After installing everything on the new computer, the sketch works except for the display!

I tried loading the old compiled .hex sketches with STM32 ST-LINK Utility, and in that case, the display works again, but if I upload from PlatformIO, it doesn’t work.

I’ve checked all the connections, and everything is correct. I also tried using the example files from the TFT_eSPI library, but the display still doesn’t work. I just don’t understand.

You can find the entire test sketch here:

Here are the screenshots of the schematic.

I think the problem is with PlatformIO’s compilation, but I just don’t understand what’s wrong!

P.S. I’ve tried installing everything on a desktop PC, and I’m having the same issue.

Can anyone help me?
Thank you!

I am missing a valid config file for the TFT_eSPI lib in your github repo. If you missed to copy it from your old environment in the new one that would be a good reason for your problem.

Hi, yes I copied the same configuration of the TFT_eSPI, but they also did not work.

Now I did something dramatic and it worked.
I have all the contents of the old hard disk of the folder: \AppData\Local\Programs\Microsoft VS Code
+
.platformio
+
the project folder

and now everything works … who knows what I forgot …

You forgot nothing , new instal and ini download maybe new version of lib and this maybe change something. In old project folder stay exist maybe older lib…

Yes, I thought the same thing. But if they make updates on the libs they must be sure that these things don’t happen…

Now I would just like to understand which lib I shouldn’t update!