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.

Can C64x Object Code be linked in C674x project?

Other Parts Discussed in Thread: TMS320DM642

Hi,

I have a library that compiled for TMS320C642 which was buyed as binary object code. Can I use this library in my C674x project? that is, pass the link and run well on my omapl13x chip?

Thanks

JinZhongHe

  • Jin ZhongHe,

    In general, yes you can use a C64x object file or library with a C674x project. There can be limitations with some hard-coded addresses or peripherals, so the exact nature of the library may affect your results.

    The C674x instruction set is object-compatible with the C64x instruction set.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • RandyP,

    Thanks for your reply. The object file is actually a voice processing program. It provides some APIs. These APIs accept voice stream data and output the result to specified buffer. It will not use peripherals include EDMA. As to the "hard-coded addresses", I don't understand what that means. Can you explain it in more detail? or just give me some examples? My current DSP chip is the TMS320DM642 and the OMAPL13x is what I want apply the voice processing program to.

    Thanks

    JinZhongHe

  • Jin ZhongHe,

    You can write a program or create an object module that must be run with a specific starting address or with specific data addresses. If the program and data locations are not relocatable, then they are hard-coded to a fixed location. That location might not exist on the new device.

    This is a rare situation, but I wanted to be more complete in my answer. You may ignore this concern if your object files or libraries are relocatable.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.