I'm having performances issues using emwin/appwizard, and i cant figure out if it is expected from that type of configuration with this type of hardware, or if i'm missing something.
Our client developped the interface using Appwizard, so we wouldn't have to modify our code every little design change.
Hardware is:
180MHz cortex M4F (LPC54607)
2Mbytes SDRAM 16bits @90Mhz
800*480 24bits display
I am using double buffering with GUIDRV_LIN_16 with GUICC_565.
so about 1.5Mbytes for vram, and 500kBytes for emwin memory.
emwin execution is from external qflash with eXecute In Place
all ressources are also on the flash (not enough flash in the uC).
Im running RTOS but there is no other task than this GUI task
The screen that showed me there was a problem has:
- 5 boxes
- about 50 text
- 7 images (about 100*100) each
when this screen is the first screen to load, it takes about 25 seconds to load.
When this screen is not the first one, it takes about 2m40s to load. same screen.
I was puzzeled so i tried with emWin without appwizard, the temperature control example.
reaction is quick, I'd say about 80-100ms. the screen is pretty full of elements aswell.
with the example i was able to test with emWin lib in CPU flash, it was a bit faster, but not by that much.
I am starting to beleive that the Appwizard eventloop costs way too much time to execute because of the "runtime configuration" aspect.
so first question is:
Is that the kind of speed that you expect from this configuration and this hardware?
and if it is not, do you have any idea how i can debug the reason of this slowness?
we are really trying to not have to redesign the interface using only EmWin (project has around 12 screen and 300 objects)
I hope you are able to direct me to a fix
Best regards,
Alexis Marquet
Our client developped the interface using Appwizard, so we wouldn't have to modify our code every little design change.
Hardware is:
180MHz cortex M4F (LPC54607)
2Mbytes SDRAM 16bits @90Mhz
800*480 24bits display
I am using double buffering with GUIDRV_LIN_16 with GUICC_565.
so about 1.5Mbytes for vram, and 500kBytes for emwin memory.
emwin execution is from external qflash with eXecute In Place
all ressources are also on the flash (not enough flash in the uC).
Im running RTOS but there is no other task than this GUI task
The screen that showed me there was a problem has:
- 5 boxes
- about 50 text
- 7 images (about 100*100) each
when this screen is the first screen to load, it takes about 25 seconds to load.
When this screen is not the first one, it takes about 2m40s to load. same screen.
I was puzzeled so i tried with emWin without appwizard, the temperature control example.
reaction is quick, I'd say about 80-100ms. the screen is pretty full of elements aswell.
with the example i was able to test with emWin lib in CPU flash, it was a bit faster, but not by that much.
I am starting to beleive that the Appwizard eventloop costs way too much time to execute because of the "runtime configuration" aspect.
so first question is:
Is that the kind of speed that you expect from this configuration and this hardware?
and if it is not, do you have any idea how i can debug the reason of this slowness?
we are really trying to not have to redesign the interface using only EmWin (project has around 12 screen and 300 objects)
I hope you are able to direct me to a fix
Best regards,
Alexis Marquet