AnsweredAssumed Answered

freeRTOS + JPEG DMA encoding problem

Question asked by Pawel Skrzypek on Aug 1, 2017
Latest reply on Jan 19, 2018 by Mario Popovic

Hi,

 

I am using STM32F7-Discovery board. I've written my project in freeRTOS. The JPEG DMA encoding is implemented the same way as in HAL examples.
Everything works fine until I will change freeRTOS heap size. In this case JPEG file size is much bigger than the "correct one" and it is demaged.
There is a preview in attachments:
OK ONE  - filesize [216KB]
BAD ONE - filesize [318KB]

 

Is a heap-size has an influence on DMA process? Did I forget about something?

Thanks in advice.

Attachments

Outcomes