Hello Everyone,
Few days back I have started to learn the emWin Library and initially started with the simulation examples provided, and they works fine.
As a next step for real learning, I decided to learn emWin Library on a real development board, I choose STM32F769I-DISCO board, reason is that they free version on emWin to be used with their products, known as STemWin.
I started with the HelloWorld example available in MCUCubeF7 package provided by ST, the name of the example is STemWin_HelloWorld, which works fine, but when I tried to perform Single Step Debugging I can't see anything printed on the screen.
After this, I added another string to get displayed on this with some delay, and the code is now like this.
And when I run this example, I just see "Hello World from STM32F7" on the screen and not the "Hello World" in the middle of the screen.
I cross-checked and found that the GUI_Delay function works well, there is no issue with that, the problem is that "GUI_DispStringAt" function is not working after GUI_Delay function, if I remove GUI_Delay function completely it works fine.
As can be seen in the below image, after using GUI_Delay, I can't see "Hello World" on the display.
forum.segger.com/index.php/Attachment/4996-emWinIssue-png/
And as be seen from this image GUI_Delay is not blocking because the control reaches the while(1) loop.
forum.segger.com/index.php/Attachment/4997-STemWinIssue-PNG/
Since STemWin is a library form of emWin, I need the suggestions from the experts to find the root cause of this behavior and how to fix it.
Few days back I have started to learn the emWin Library and initially started with the simulation examples provided, and they works fine.
As a next step for real learning, I decided to learn emWin Library on a real development board, I choose STM32F769I-DISCO board, reason is that they free version on emWin to be used with their products, known as STemWin.
I started with the HelloWorld example available in MCUCubeF7 package provided by ST, the name of the example is STemWin_HelloWorld, which works fine, but when I tried to perform Single Step Debugging I can't see anything printed on the screen.
And when I run this example, I just see "Hello World from STM32F7" on the screen and not the "Hello World" in the middle of the screen.
I cross-checked and found that the GUI_Delay function works well, there is no issue with that, the problem is that "GUI_DispStringAt" function is not working after GUI_Delay function, if I remove GUI_Delay function completely it works fine.
As can be seen in the below image, after using GUI_Delay, I can't see "Hello World" on the display.
forum.segger.com/index.php/Attachment/4996-emWinIssue-png/
And as be seen from this image GUI_Delay is not blocking because the control reaches the while(1) loop.
forum.segger.com/index.php/Attachment/4997-STemWinIssue-PNG/
Since STemWin is a library form of emWin, I need the suggestions from the experts to find the root cause of this behavior and how to fix it.