2019-10-20 01:23 PM
Hi everyone,
I have developed a GUI based on STM32F769I-DISCO Board. The GUI works perfectly fine on the TouchGFX simulator. It also flashes perfectly inside the target board. However, in my GUI, I have added a code such that when a certain button is pressed, a Custom Keyboard pops up (becomes visible). The keyboard is my custom designed on the custom container and added in the Main Screen. The keyboard works great in simulator. However, on target board, as soon as I press the button, the GUI Freezes and never resumes until I reset the board. It then again resumes whenever the keyboard is supposed to pop-up. Any suggestions or ideas as to why this might be happening??
Thanks.
2019-10-23 07:21 PM
I also tried one more thing, adding the keyboard and then leaving it visible on UI at the start of screen. What happened was that UI froze as soon as it flashed. This clearly means the UI is not able to display the keyboard for some reason.
2019-10-24 12:54 PM
Any thoughts on this? @Martin KJELDSEN
2019-10-24 09:43 PM
Any suggestions? @Martin KJELDSEN
2019-10-25 10:33 AM
@Martin KJELDSEN I seem to have found the problem. It lies with the fact that there are too many elements on my custom keyboard. I experimented by removing 15 Keyboard buttons and Keyboard began displaying on the MainView without any hassle or crash.
Is there any method where I can display all of the buttons without the UI freezing or crashing?
2020-01-28 06:28 PM
Hi, I'm having the same problem, and removing elements fixes it for me too. Did you have find a solution that allowed you to put back the extra elements?
Edit: I ended up fixing the issue I was having by going into the IOC file and doubling the FreeRTOS heap size from 15360 to 30720, and increasing the stack size of the default task from 2048 to 4096. Code that previously froze the chip presumably due to having too many textboxes on screen ran fine after doing this.
2020-01-30 02:05 AM
Hi @AKetc,
Extremely sorry i've missed this. It's becoming increasingly difficult to keep track of all the loose threads and things i need to keep updated on.
As @Michael K mentions, the complexity of your current view/presenter pair will impact the requirement on task stack / freertos heap.
/Martin