AnsweredAssumed Answered

Real Time Acquisition and Storage to SD Card

Question asked by PrakashKumarMishra on Apr 8, 2017
Latest reply on May 12, 2017 by Jithul_Janardhanan

I am using a h.264 encoding production code provided by Analog devices. I want to acquire real time analog video PAL (720 x 576)  and store it into SD card after compression.


I have integrated the SD Card portion of POST (Power On Selt Test)example source code  for BF-609 processor with h.264 encoding code .


After Integration the real time encoding became slow but i was able to store the (slowly encoded compressed video) into SD card.

I encountered an instruction which when commented gives real time encoding but then i am unable to store the compressed data into SD card, whereas when that instruction is initialized with reset value gives slow encoding but storage into SD card becomes possible.


the instruction is :-

*pDMEM_CONTROL = 0x1001;


whereas above parameter is defined as

#define pDMEM_CONTROL                    ((volatile uint32_t *)DMEM_CONTROL)                     /* Data memory control */


#define DMEM_CONTROL                    0xFFE00004         /* Data memory control */