Cube IDE - Long Loading Time with Graphics.
Hi,
When debugging with Cube IDE programs without any TouchGFX graphics load quickly using the debugger typically 20 to 30 seconds. When TouchGFX is used such that the NOR Quad SPI Flash has to load the loading time can easily exceed 3 minutes. With only a singles simple screen it takes ~60 seconds.
I assumed that if nothing is changes in the graphics from one debug session to another then there would be no changes required in the external graphics flash and so the loading of this memory is unnecessary after it has been loaded once.
I therefore turned off the external loaded in the debugger setup:
However when I tried this I got the following error:
Error in final launch sequence:
Failed to execute MI command:
load G:\\ShorttG2\\ShorttG2\\STM32CubeIDE\\Debug\\STM32H7B3I_DISCO.elf
Error message from debugger back end:
Load failed
Failed to execute MI command:
load G:\\ShorttG2\\ShorttG2\\STM32CubeIDE\\Debug\\STM32H7B3I_DISCO.elf
Error message from debugger back end:
Load failed
Failed to execute MI command:
load G:\\ShorttG2\\ShorttG2\\STM32CubeIDE\\Debug\\STM32H7B3I_DISCO.elf
Error message from debugger back end:
Load failed
Load failedWould it be possible to avoid redundant graphics loads in some way to shorten up the debugging turn-around time?
To avoid the problem I have been testing backend code on a system with no graphics, however this requires double handling of the code because I then have to bolt the code into to the system complete with graphics, and then retest everything in the new environment.
Best
Regards Rob
