Hi. Now I'm using DM6437 to do some video processing. My program is based on the given example video_loopback. In this original example, only the TVP5150, VPFE and VPBE are configured. However, since the data blocks are stored in DDR2 memory, I add some EDMA configurations to implememt block move between DDR2 memory. However, the performance of my program was quite poor, in another words, it was very slow... I tried to add some register configuration to control the L2 cache, but there was no marked enhancement. My questions are:
1. If I configure the cache correctly, should I get obvious improvement on execution speed?
2. Is there any problem in my L2 cache configuration? My codes concerned L2 cache is quite simple.
CACHE_L2CFG = 0x00000007; // define the size of L2 cache(maximum)
it made no obvious change on performance.
If I add this
*(Uint32 *)0x01848200 = 1; //// enable Memory Atrribute registers MAR128 & MAR129 corresponding memory address is 80000000h~81FFFFFFh
*(Uint32 *)0x01848204 = 1;
I do this because most of my data are stored in that area. However, when I add this to the program, the system halted when I began running.
3. Should I add some other configuraion to achieve better performance?