2019-05-02 02:47 AM
Hi,
I'm currently trying to display a JPEG image in STemWin, which is loaded into extRAM. Therefore, I can use the GUI_JPEG_Draw() method, which (as the documentation states), should ALWAYS return 0. While it does indeed display the image and return 0 for pictures loaded into the INTERNAL memory, it doesn't display anything and returns 1 for pictures in the external memory.
Not only that, but calling the function will WRITE "0" OVER ALL PICTURE DATA.
The data in the memory is undoubtedly correct, as GUI_JPEG_GetInfo() will return the correct size and a memory dump of the corresponding region will result in the exact same file as loaded into memory.
So what is the problem with using the external RAM? Why does the function return 1, even if the documentation says it shouldn't and why does it fill my memory with "0"s?
Thank you very much for your help,
T. Albrecht