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.

about CACHE_freezeL1p and CACHE_unfreezeL1p()

hello,  there is not a CSL lib in DM6446, can anybody give me some codes for explaining how to realize the function

CACHE_freezeL1p and CACHE_unfreezeL1p()? Thanks.

  • Assuming you are using the C64x+ and DSP/BIOS these functions have been replaced by the BCACHE API as discussed in SPRU403.

    For CACHE_freezeL1p() you would use BCACHE_setMode( BCACHE_L1P, BCACHE_FREEZE);

    For CACHE_unfreezeL1p() you would use BCACHE_setMode( BCACHE_L1P, BCACHE_NORMAL);

    Unfortunately if you are not using DSP/BIOS (unlikely on a DM6446 C64x+) than you would have to write these functions.