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.

Help needed with DSP BIOS configuration issues in DM6446

I am working on a DM6446 based proprietary HW with external DDR2 based memory. This issue relates to work on the DSP64x side with the BIOS setup.

The DSP App. code uses dynamic TSK & SWI  creation. I setup the BIOS to configure heap in IRAM (starting at 0x11800000 and len 0x8000) with heap size 0x2000 and another heap in DDR2 (heap size 0x200000).   Size of DDR2 is 32MBytes. I have setup the BIOS configuration to do Dynamic Memory Heaps (one of the option in the main page of MEM configuration in BIOS GUI configuration tool that comes with CCS). Segments for BIOS objects and segment for malloc()/free() are set for DDR2.   All the code and data sections for BIOS and App code are set up in DDR2.

The issue I am facing - when I load the code (using CCS) on the DM6446 DSP and run, the code never reaches Application main(). If I halt, the call stack shows MEM_Alloc. It seems stuck in MEM_Alloc while doing BIOS related initialization.

(I am using CCS to debug the code. The DSP is taken out of RESET by the ARM before I connect the CCS to the DSP64x.)

NOTE: If I setup the configuration with Dynamic Memory Heaps turned OFF then the code reaches the Application main() but then it fails to create dynamic Task.

I need urgent help with this.

Thanks,

Somnath