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.

Embedded software Linux forum for TMS320DM365

Other Parts Discussed in Thread: TMS320DM365

Hi All,

 

I am using TMS320DM365, for which I  should start the development of the videomobile.

I just wanted to know the procedure to get started with the kit, write the helo world program, in LINUX "UBUNTU"

Way the .c files can be compiled, and the procedure to port the compiled files to the DSP.

 

Please help me out for this.

 

 

Thank you

 

  • You need to download the released files, which include the DVSDK, Code Sourcery tools, and other associated downloads in the released software location.  There is a GSG (Getting started gude) that gives instructions on how to begin.  You are programming for the DM365's ARM processor, not a DSP.

    I beleive I read where the 64 bit version of Ubuntu does not work well with the SDK and toolset.  So stick with the 32 bit version.  Get the latest 10.04 Ubuntu if juts starting out.  A hello world program is easier than writing to the DVSDK.  You will want to set up your Linux dev station so that you can load the linux kernel with TFTP and mount the file system using NFS.  This is the easiest way to develop.

    Hint: I found that being able to search the source code of the DVSDK and Linux kernel was essential.  I have installed an IDE called Code::Blocks, which is free.  The latest version 10 didn't work on Ubuntu so look for version 8.  Code::Blocks has a great find in files feature.  Anything based on Eclipse was too confusing.  And the basic Find/Grep search was too much trouble to get what I wanted.  Code::Blocks can also be used for development of standalone apps, but working with the DVSDK might be difficult.

    Good Luck

    John A

  • HI John,

    Thank you for your inputs,

    But I am in a little critical position, It would be really great if you can help me out directly by suggesting some procedure, so that I can start the application as soon as possible.

    I do not have a lead time with me.

     

    I am stuck up with creating a C program,

    I was able to create the .JFFS2 file. How do I check the .JFFS2 file is correct?

    Thank you

  • Have you downloaded the DVSDK and Code Sourcery toolset?  What board are you using to develop with?

    There is no simple explanation on how to develop.  It's not an easy process.  You must follow the instructions on setting up the DVSDK and tools.  I can appreciate being in a critical position, but the task cannot be simplified just because you have no time.

    Here is info on making the jffs2 file system, but you can develop your software without dealing with that for now.  Use NFS to export your file system.

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

    John A

  • HI John,

     

    I have downloaded and installed the DVSDK.

    In fact I have all the supporting .h files and supporting .c file required to generate the GUI.

     

    I would like to know about the building the .c file that the progarmer writes.

     

    Also I am trying to know the best way to develop a GUI.

     

    Thank you

  • You have a long way to go before writing software.  You didn't answer the question about what board or hardware you are using.  Do you have a running DM365 system right now?  

    1) You need to get a TFTP and NFS server set up on your Ubuntu development machine.

    2) You need to perform a complete build on the DVSDK with "make everything".

    3) You need to put the resulting uImage in the TFTP export directory.

    4) You need to move the drivers from the install directory to the  root file system (RFS) and export the RFS with NFS.

    5) You need to modify the u-boot parameters to fetch the kernel via tftp and mount the RFS via NFS.

    At that point you are ready to write some code.

     

    John A

  • And if you are using DVSDK 4.0 beta release then all of the above steps can be easily done by executed by running "setup.sh" script described in Software Developers Guide. If you follow SDG then it will show you step by step instruction on how to write and run "hello world" example on target board. And if you are wondering where to download the DVSDK 4.0 beta then here is the link:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_4_00/latest/index_FDS.html

     

    Thanks

    Brijesh Singh