2022-01-06 11:22 AM
Hello Everyone,
I need help in building the project as I am facing some issues.
As we know we can't configure the STemWin from CubeMX/STM32CubeIDE and to use the STemWin library we have to add it separately in our project.
I created a simple project using CubeMX/STM32CubeIDE which is auto-generated and then I took the reference from the example STemWin_HelloWorld present in the CubeF7 package.
I think I did most of the steps, by comparing these two projects, but I am getting the error.
../STemWin_Config/GUIConf.c:54:10: fatal error: GUI.h: No such file or directory
54 | #include "GUI.h"
| ^~~~~~~
compilation terminated.
But in my project this file is present and added to the project, even the path is also updated in the project settings, I don't know why I am getting this error, that this file is not present.
One strange thing which I have noticed is as shown below, here in include section I can see most of the include paths related to STemWin are disabled/greyed out, I don't know what is the reason.
While the example project which is working fine, this is not greyed out/disabled.
Maybe the issue is related to this.
I am using STM32F769I Discovery Board, and STM32CubeIDE 1.8.0.
I have attached the complete project ziped with this post, please help me in resolving this.
I think the issue might be very simple which I missed due to lack of knowledge.
Thanks in advance.
Solved! Go to Solution.
2022-01-18 04:41 AM
Hello @Imen DAHMEN
Did you get some inputs from your colleagues regarding this demo project?
2022-01-25 11:36 PM
Hi @Imen DAHMEN
Did you get some information from your colleagues regarding the issue?
This is my last message and after this I will not follow-up, I have already communicated ST Support at various places and didn't get feedback. So I will not waste anyone's time.
2022-01-26 12:20 AM
Hi @xpress_embedo ,
My sincere apologies for the late reply.
I have not reproduced this behavior on my side, and unfortunately I still haven't received the expert's answer since he's out of the office.
Thank you for your understanding.
Imen
2022-01-26 12:38 AM
Hi @Imen DAHMEN
May I know how you tried to reproduce the behavior?
Did you use the same STM32F769-DISCO board or some other disco board?
Reason why I am asking this question is because, this problem looks like to be only in STM32F769-DISCO board HelloWorld Example and not on others.
Anyways if you get some updates you can post here, else also no problem, as I mentioned above I will not follow-up.
Thanks, and Regards
2022-01-26 12:47 AM
I checked with STM32F769I-DISCO Revision B.
Which Rev are you using ?
2022-01-26 01:07 AM
I don't know which version is it.
I am sharing pictures with you, maybe helpful.
I see revision A written on LCD but I think it is for LCD not for the ST board.
So as per your comment, it looks like the HelloWorld example with GUI_Delay is working fine for you.
Now, this is really strange why it is not working for me if we have the same boards.
Do you think that somehow my board is damaged? But if that is the case why other demo examples are working fine :|
Anyways thanks for your support.
2022-01-30 05:30 AM
Hi @Imen DAHMEN
Just wanted to update you with some information.
As you mentioned the demo works fine on your board and you have revision B of the demo board. And I don't know which revision I have (for this I have shared the information above).
I purchased the board from Amazon.de where the seller was ST. The board comes with a pre-programmed demo and it works fine, and I remember the demo version was V1.0.0, which can be found when we click on "System Information" on the LCD screen.
There is a demo project available named "STemWin" which I think is equivalent to this pre-programmed demo, and when I compiled and programmed this, it works but the display was messy.
After this, I thought that I will use the binaries directly from the ST website and not by compiling myself.
So, I downloaded various STM32CubeF7 packages, and finally, I found the binaries under the following path. I used the binary STM32769I-DISCO_DEMO_V1.0.0_FULL.hex because it is version 1.0.0 and it works fine. Screenshot below.
But when I programmed the version STM32CubeDemo_STM32769I-DISCO_V1.0.1.hex, the display was still messy as I have seen when I compiled the demo myself.
I found another version of the demo in the latest version of Repository STM32CubeDemo_STM32769I-DISCO_V1.2.0.hex, and the situation is the same, the display is messy as seen below.
Maybe this can be due to the hardware change, do you know what could be the reason?
2022-02-04 06:38 AM
Hello @xpress_embedo ,
I apologize for the late reply.
For the display issue with the demo project, it maybe related to the STemwin version, as there is a display issue detected with STemWin 5.40 version and fixed with the STemWin 5.44 version.
Regarding the first issue reported, I have not reproduced it on my side with STM32F769 Rev B, STM32F769-Eval and STM32F7508-DISCO boards.
But this behavior is reproduced for a colleague with STM32F769Disocovery Rev. A board. He checked other boards and it is working like a charm on STM32F769-Eval. Also ported code form STM32F769-Eval to F769-Disco is working.
So, we are still working on the issue and checking this behavior with different boards to identify the related hardware environment.
Thank you for your understanding and patience while we work on this.
Imen
2022-02-04 08:16 AM
Thank You @Imen DAHMEN for your response.
So the problem is reproduced
I will wait for the solution from your side.
and regarding the display issue, I have checked with old versions of CubeF7 which might be on the 5.40 version, but I have also compiled the latest project and it has the same effect and this is based on version 5.44. Might be this problem is also based on the same issue.
May I know what exactly is changed between hardware revisions A and B of the STM32F769I-DISCO board?
Because I tried to check online on the ST website and couldn't find any answer.
Anyways thank you once again for your support, I will wait for the solution.
2022-09-17 03:57 PM
Hi @Imen DAHMEN
Almost 8 months, do you have any update on this?
Thanks, and Regards