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.

Programming the chip??? Confuse



I am really wondering, do we have to program the DM36x chip after purchase?? I assume all the codex are in the chip and I just design a circuit diagram for the chip to run it?? What exactly are the SDK use for? Sorry about these question, is my first time using a chip that was been completed already.

  • Hi Andrew,

    "The Chip is completed" means controllers for various peripherals have already been written on Chip. They are accessible and can be configured by writing to a set of registers which controls/ acts as input to these controllers. These registers are set to a certain default value on Power-ON. You need to configure these registers to initialize these controllers and implement them.

    SDK comes with readymade drivers for these, with all the registers too initialised for operation. All you need to do is run the codes. But these are  just demo codes that ensure that the interface is working. You can use them however to implement your own applciation.

    Hope this helps.

    Regards,

    Sid

  • Referring to  "They are accessible and can be configured by writing to a set of registers which controls/ acts as input to these controllers. These registers are set to a certain default value on Power-ON. You need to configure these registers to initialize these controllers and implement them."

    Where would i be configuring them? Using a circuit switch? Or writing to the chip?

    If by any chance I don't need to implement anything, for example the DM365 chip i just want to use it to encode/decode video, would i be needing the sdk for any reason? Since for my understanding SDK is to run codes and like u said those are demo codes so it will make sense that SDK is only needed for implementation?

    Thanks again

  • Yes, you have to write/program the chip.

    There are 2 ways to do it

    1. Using an emulator with Code Composer Studio.

    2. Porting Linux and file system on DM365 and then running Linux based drivers (SDK is generally a subpart of this type)

    About encode/decode demo, if you are referring to the one which you get with SDK, then drivers require some header files which are present with SDK only. Or you can write your own program using Code Composer studio, build it and program the .out file into the chip using an emulator. But with an SDK, afaik, you need to have the Linux kernel ported on DM365.

    Hope this helps.

    Regards,

    Sid

  •  speaking of linux...what version of linux should i get for this chip (as in the whole platform, cause right now my OS is window) and exactly what language is the code written in? C or C++, sorry but i am really new at these and i would really like to start this application. 

  • Hi Andrew,

    For details regarding Linux and corresponding packages, I suggest you refer this link

    http://processors.wiki.ti.com/index.php/DaVinci_PSP_Releases

    Search for DM36x related info, Linux used can be Montavista, or GIT .

    The code is generally written in C language.

    Regards,

    Sid

  • thanks sid, i will look at it now and post questions if any comes to me =)

    cheers