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.

PSP lib builds for C6747

I am using version 01.30.00 PSP for the C6747 device.  I notice the lib folders already contain pre-built libraries with the .a674 extension.  I opened up the mcasp project in ccs4 and built the Debug and Release configurations but I do not get the same output.  The only thing I changed was the extension to a .lib file (so the new build wouldn't overwrite the old one).  For the Debug build, the pre-built lib file is 341,712 bytes while my build is 344,842 bytes.  For the Release build, the pre-built lib file is 170,954 bytes while my build is 92,392 bytes.

Why is there is difference and what do I need to change to get the same build(s) as what shipped with the TI PSP?  This also happens with SPI and probably other peripherals as well.

Also, I don't see any difference between the 'i' (e.g. instrumented) configurations and non-'i' configurations.  This might be related to the 'Mcasp_DEBUGPRINT_ENABLE' define symbol mentioned in mcasp.h but I could not find this symbol anywhere in the source code.  I've noticed a similar issue with the SPI peripheral and haven't checked the others.  Is the 'i' configurations just legacy stuff that hasn't been cleaned-up?

thanks,

Mike

  • Mike said:
    Why is there is difference and what do I need to change to get the same build(s) as what shipped with the TI PSP?  This also happens with SPI and probably other peripherals as well

    The size of the libraries/binaries generated depends on the versions of code generation tools, DSP/BIOSTM  and other dependencies.

    Mike said:
    Also, I don't see any difference between the 'i' (e.g. instrumented) configurations and non-'i' configurations.  This might be related to the 'Mcasp_DEBUGPRINT_ENABLE' define symbol mentioned in mcasp.h

    The support for instrumented libraries does not exist currently in the PSP drivers. This is just a place holder.