Post Go back to editing

Insufficient Memory on BF537 for opening timers

I am trying to open a timer on the BF537 EZLITE with adi_tmr_Open(). The result is ADI_TMR_INSUFFICIENT_MEMORY and I get the following error message:

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: 0xffa01890

At this point, I have checked the external memory SDRAM with 64 MegaBytes under LDF in system.svc. I also checked off the linker to eliminate unused objects and use verbose output. 

What other options are there for fixing this issue?

  • Hi,

    While Opens a specified timer device, need to pass sufficient memory size to the timer by application. In case, we missed to allocate sufficient memory, the Timer service returns ADI_TMR_INSUFFICIENT_MEMORY result to your code.

    So, make sure in your code, the size of timer memory is defined as per the adi_tmr_bf5xx.h file.

    Ex: /* Size of timer memory */

    #define ADI_TMR_MEMORY_SIZE 16u

    And, we recommend to refer the ADSP-BF537 Board Support Package which might be helpful to you.

    You can download and install ADSP-BF537 Board Support Package from the below link:

    www.analog.com/.../BF537-EZLITE.html

    After successful installation, You can find GpTimerCallback example for ADSP-BF537 in the below bsp installation path.
    [Installation directory]\Analog Devices\ADSP-BF537_EZKIT-Rel1.0.0\BF537_EZ-KIT_Lite\Blackfin\Examples\GpTimerCallback

    If you are still facing the same issue then please share us an example project or code snippet which replicates the issue. Also please let us know your CCES version. This will help us to assist you further.

    Best Regards,
    Santhakumari.K