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.

Running NSP in c6424

Other Parts Discussed in Thread: OMAPL138

Hi,

I am a newbie to TI processors.

I was trying to run the NSP demo "ndk_evm6748_bios5_cfgdemo" in Spectrum Digital EVM6424 board.

I have tried the following changes to make the demo run in 6424.

C/C++ Build->c6000 Compiler->Basic Options->Target processor version :: 64+ instead of 6740

In C/C++ Build->c6000 Linker->File Search Path, everything is changed to ${NDK_INSTALL_DIR}/packages/ti/ndk/lib/C64plus instead of ${NDK_INSTALL_DIR}/packages/ti/ndk/lib/C674.  But still there is no alternative for "${NSP_INSTALL_DIR}/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674"

In CCS Build, Device variant is selected as "Generic C64x+ Device".

After building i tired to start a debug session, the error came was

Failed to load program 'ndk_evm6748_bios5_cfgdemo.out' on target 'Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator/C64XP_0'

Reason: Invalid file format.

 

Could anyone please point out what are the major modifications needed to run the NSP in c6424.

 

Thanks,

Ragesh

 

  • Hi Ragesh,

    There must be some build option that you are missing, hence the invalid file format error. What version of CCS are you using and where did you get the demo project that you are trying to convert?

    Thanks

    ki

  • Hi Ki,

    I am using CCS v4.2.4. The demo project i got is from NSP package which is nsp_1_00_00_09. I am using NDK version ndk_2_20_04_26.

    Regards,

    Ragesh

  • I suspect you forgot to modify 'cfgdemo.tcf' to use the platform file for C6424:

    Change it to a platform file that is compatible to C64x+. I used "ti.platforms.evm6424" in my case. Check the BIOS documentation for a comprehensive list of options.

    Thanks

    ki

  • Thank  you Ki for the suggestions. I will try these.

    Regards

    Ragesh