emwin GUI_Init() takes 10 seconds to complete! | Cypress Semiconductor
emwin GUI_Init() takes 10 seconds to complete!
The emWin library requires running GUI_Init() before calling any other GUI functions, but it takes 10 whole seconds to complete! This product cannot be released to the public until this bug is solved.
When I pause the debugger, I see the call stack is
GUI_Init() <- emWin function, no source
LCD_Init() <- emWin function, no source
LCD_FillRect() <- emWin function, no source
... <- more emWin functions, no source
And the specific paused instruction is a Cypress generated function, LCD_1_Write, with an incrementing value (to fill the rectangle)
LCD_1_Write( 632341, 0)
LCD_1_Write( 632342, 0)
LCD_1_Write( 632343, 0)
Does anyone else have this problem? I don't know why it's filling the rectangle (I assume it's clearing the background, but I don't need that "help" and it shouldn't take 10 seconds to clear the screen buffers). I am using virtual screens in external RAM (480x272 LCD with 8 virtual screens).
Does anyone have any guesses?