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.

How to do develop on dm8168 DSP side?

Other Parts Discussed in Thread: LINUXEZSDK-DAVINCI

Hi,all

I never do any alg develop on (Davinci™)  platform.

And now i try to do a video process alg on dm8168 dsp, and i saw lots of wiki web of ti (Davinci™) codec engine,

But  it seems so many articals t that it  is not a easy job for a newer coming in ,

Is there any useful demo in all steps how to develop from dsp side to arm side?

If a "hello world" demo is write in dsp side ,the what are the next steps form dsp side to arm side ?

CCS first , xdc , dsp server  or some other tools?

thank you!

  • What OS are you planning on running on ARM side and what about DSP side?

    I think maybe this is what you are looking for?  http://www.ti.com/tool/linuxezsdk-davinci

    Judah

  • My Os is Linux and SYS/BIOS ,though you give the links ,but it is not easyer to do develop on dsp of dm8168

    I just want to kown if i write a

    main()

    {

         printf("Hello world!\n");

    }

    on dsp side, and how many steps i have to do

    if i want to run it on Arm side ,

  • Sorry, I'm not understand your question.

    If you write main() on DSP side, how many steps to do what?

    Judah

  • Xavier,

    It sounds like you want to write a simple ARM side executable which will communicate with a simple program running on the DSP using the DM8168 device. You are running Linux on the ARM and SYS/BIOS on the DSP. Have I got this correct? If so, then SysLink has just such an example which I've attached to this post.

    In order to use SysLink, you will need several other products, tool chains, Linux, and file system. These are distributed by Texas Instruments as a "Software Development Kit". I recommend you use the EZSDK 5.04.00.11 release. Have a look at the BOM for this SDK to see what is included.

    The SDK provides its own examples, but if you want a really simple and easy example to start with, I recommend the SysLink example 'ex02_messageq' which I have attached to this post. Unfortunately, to run this example in the context of the SDK, you will need to follow these steps to stop the SDK's graphics engine (which is incompatible with the example). You can find these steps in the DM816x EZ 5.04.00 Sofware Development Guide, but I've also included the steps here.

    Run these commands on your EVM before running the SysLink example (you must do this each time you reboot the board).

    target # /etc/init.d/pvr-init stop
    target # /etc/init.d/matrix-gui-e stop
    target # /etc/init.d/load-hd-firmware.sh stop
    target # modprobe syslink

    To build the ex02_messageq example, edit the products.mak file and update the product install paths. Then use make to build the example. Use the 'install' goal to copy the files to your target file system. Use the run.sh script to actually run the example.

    The SDK ships with a slightly aged SysLink release. You can download and install the latest SysLink release from the Target Content web site. In the latest SysLink release, you will find additional examples. Look in the ti/syslink/examples/archive/TI816X_linux_elf_ezsdk folder.

    ~Ramsey

    ex02_messageq.zip
  • Hi Ramse

    thank you for your replay!!!

    I develop on dm8168 evm using dvrrdk2.80.

    And now i want to develop a image enhance alg on dm8168 running on dsp side,

    as no dsp algs  developping experience on (Davinci™) platform,i do not how to start my work,

    i followed the scd demo in dvrrdk demo , and scd.674xx libs is found without source code, 

    Is this lib is write in ccs env and then codec engine called it  then?

    could you tell me how many steps i have to run to write a dsp alg on dm8168 of my own and run it on the paltform?

    best regards

    xavier

  • However, this question is answered one might find this link helpful in future: 

    http://processors.wiki.ti.com/index.php/Connecting_to_DSP_on_C6A8168,_DM8168,_DM8148