Hi,
I need to us SDRAM for storage of date that needs to be loaded and saved in L1. The DMA should be able to transfer data at 450 MB/sec using the cache. I am seeing numbers which are an order of magnitude slower indicating that the cache is not enabled for SDRAM and DMA transfers to L1. I have looked at cache and DMA examples and they indicate that cache needs to be setup in the .ldf. When I add the seg_ext_pmda to cache there is no performance change.
Are there any specific instructions, examples or documentation that specifies how to setup caching SDRAM for DMA?
dxe_l2_pm_data PM 32
{
// L2 pm data.
INPUT_SECTIONS( $OBJS_LIBS(seg_pmda_nw seg_pmda seg_ext_pmda) )
} > MY_L2_CACHED_MEM
dxe_l2_pm_data_bw BW
{
// L2 pm data.
INPUT_SECTION_ALIGN(4)
INPUT_SECTIONS( $OBJS_LIBS(seg_pmda seg_ext_pmda) )
} > MY_L2_CACHED_MEM
-Steve