cancel
Showing results for 
Search instead for 
Did you mean: 

JPEG into Memdev STemWin

Sergio Roldan
Associate II
Posted on March 28, 2017 at 10:20

Hi,

I am using 32F429I-Discovery Board with STemWin v5.32 and I am not able to show a JPEG image when I load it into a Memory Device.

The code I am using is attached to the question.

There firstly I draw the image at position (0,0) without problems, then I try to load it into a Memory Device and draw the it with some lines.

I can see the lines but not the image, what can I do to draw the image?

It is not a lack of memory because I have included some variables to know the free memory and the used memory after draw the image, after create the memdev and after delete de memdev and I can see that there is enough memory.

Another question is about memory use, because when I get the free and the used memory after each use there is not the same amount of memory:

0690X00000606MOQAY.png

The variables a,c and d are refered to the free bytes and the others to the used bytes, so what I see is that if I do a+b, c+d and e+f, it should be the same value, but it is not.

a+b=0x001DAB84

c+d=0x001DAB64

e+f=0x001DA3DC

How it is possible?

Thanks!

#stemwin #jpeg #stemwin-stm32f429 #memdev #memory-device
0 REPLIES 0