DCPLBMissWithoutReplacement error for ADSP BF609.


I am working on custom board using BF609, I am able to run POST DDR and SPI test successfully using POST project.
I am using CCES version 2.8.1.
I have integrated POST code of PSI and DDR to my project.But with my custom project I am able to run SPI test but for DDR test I am getting error :

A non-recoverable error or exception has occurred.
Description: A data CPLB miss has occurred without a corresponding CPLB entry.
General Type: RunTimeError
Specific Type: DCPLBMissWithoutReplacement
Error PC: 0xffa070ec

Can anyone help me with this error? Also why POST example is running successfully standalone but with my integrated code it doesn't run.

  • +1
    •  Analog Employees 
    on Mar 4, 2019 5:44 AM over 1 year ago in reply to rs@123


    The _cplb_miss_without_replacement is called by the default exception handler when a CPLB Miss exception has occurred, and the default handler is unable to find a CPLB entry in the table which corresponds to the address which caused the miss.

    Check EXCAUSE field in SEQSTAT register to find the Exception cause and look over the EXCAUSE table  in Program Reference Manual of ADSP-BF548. The link for downloading the manual is given below.

    This will give you an exact reason of your error.

    Another possible cause of the CPLB miss without replacement in your program could be the use of an invalid address, or when there is a NULL pointer.
    It seems that you are using DDR in your project. Can you confirm whether you have enabled DDR in your application? There might be a chance that the variable is not correctly mapped to DDR memory space. To enable DDR, please navigate as follows.
    Open your project in CCES.->System.svc->LDF->External Memory-> Check "Use External memory(SDRAM)"

    Also make sure that the CPLB table covers the DDR memory space. The below Ezone thread might be of help.

    Lalitha S