cancel
Showing results for 
Search instead for 
Did you mean: 

GUI_JPEG_Draw always crashes

Lee.Jongheon
Associate II
Posted on April 27, 2015 at 05:29

I'm evaluating STemWin for our custom board.

current i'm programming under simulatoin environmnet(VS2013 us used)

And now, i have faced strange behavior with STemWin V5.26

It always crashes when i try to draw a jpeg file with GUI_JPEG_Draw function.

I also check this with tutorial file(2DGL_DrawJPEG.c) and this one also crashed.

To findout what is wrong, i downloaded nxp's emwin bsp, and i tested same file

(2DGL_DrawJPEG.c) under nxp's bsp.

They uses emwin V5.22 and there are no crash at all. my code also runs as well.

and then i swich library file to ST's library, and it failes.

The error message is ''Run-Time Check Failure #3 - The variable 'hBmpLine' is being used without being initialized.'' and it breaked at if (!GUI_JPEG_Draw(pFile, FileSize, XPos, YPos)) in _ShowJPG function.

I think there are something wrong with GUI_JPEG_Draw function of STemWin V5.26.

Those anyone have any idea with this?
1 REPLY 1
trevor
Associate
Posted on August 19, 2015 at 18:43

Hello,

I have the same error.  Did Mr. Lee or any others determine a solution for this?

Thanks,