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.

Fir Example

Hi,I run the fir example on ccs,it was tested with the C6416 Device Cycle Accurate Simulator.Under debug,when it run to this line of code:

fir = FIR_create(&FIR_TI_IFIR, &firParams)) != NULL),I got that the FIR_create() function returns null,so it did't exectute the filter process.

So ,why could't the application create?Someone please help!Thanks.

  • If you're referring to the FIR example provided with CCSv3, you should have full source code and the ability to source level debug it all.

    Just best guessing from here on...

    There are typically 2 reasons an algorithm's creation can fail... 1) invalid creation params, or 2) out of resources.  In that FIR example, I'm not sure there _are_ any creation params that are invalid, or at least checked(?), so it's more likely #2, out of resources.  The only resource that FIR alg needs is memory, so maybe you're running out of memory?

    Walking through the source in the debugger is your best bet, and you'll probably learn some of the details about XDAIS and alg resource management along the way.  Good luck!

    Chris