This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can I config C674x 's L2 RAM to 256K (DM8127 IPNC_RDK_3.0)

Other Parts Discussed in Thread: SYSBIOS

Hi,

     My DSP alg in DM8127 is ineffiective,so I want to use DMA to transfer data from DDR to L2 Ram,  I want to increase

the space of L2 RAM,so I want to turn off L2 cache and config all the L2 space to ram;Is it possible to me?Any

suggestion?Thanks.

 regards

                                                                                                                                      chase yan

  • Hi,

         I modified the DSP_L2_RAM part in  config_512M.bld which showed below:

    and I also modified internalHeap size to 0x40000 in FC_RMAN_IRES_c6xdsp.cfg.

     
     
     
    After doing this,
     
    I add below codes in my algorithm:
    unsigned char * L2_RAM;
    extern const ti_sysbios_heaps_HeapMem_Handle DSP_HEAPINT_MEM;
     Error_Block eb;  Error_init(&eb);
     L2_RAM =  Memory_alloc((xdc_runtime_IHeap_Handle)DSP_HEAPINT_MEM, 0x40000, 8, &eb);
     
    so is it correct? Can I really get a 256K- buffer by doing this? Thanks if you can help me.
     
    regards
                                                                                 Chase yan