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.

CCS: about simulating the code Composer Studio

Other Parts Discussed in Thread: TMS320C6416, CCSTUDIO

Tool/software: Code Composer Studio

I got a problem in My TMS320C6416 DSP Kit...before resolving that issue i want to continue the programming.Is there any otherway so i can run the program ? if I am able to run the program  what are the steps i have to be taken care.... 

  • Hello!

    Code Composer Studio v3 comes with device simulator for your chip, so you can build, run and debug your programs without hardware.

    By default, during installation process setup program places "Setup CCStudio v3.x" shortcut on desktop next to "CCStudio" shortcut itself. Having CCS shout down, run that "Setup CCStudio v3.x". For your system on the factory boards tab select Family - C64XX, Platform - simulator, and Endiannes to your taste. Next select one of available simulators, say "C6416 Device Cycle Accurate Simulator" and click "<<Add" button in the bottom, save close, start your CCS. If you left you emulator connection there, Parallel debug manager may popup - select TMS320C6416 under simulator node, right click, open. CCS window will now open.

    Hope this helps.

  • Thankyou for your reply.

    If i do this i am not able to acces the hardware functions...so  i am entering into Pure C program.am i right or Is there any thing i can do ?

  • Well, sure there will be limitations. Like there is no AD/DA attached to model, there is no external memories, so from this point you can't work with simulator same way as with DSK. However, if you keep your code and data all within local memory, then you will be able to develop and debug your algotithm. Other than that you will have very alike cycle counts, registers states.

  • Thank you again.

    now for giving sine input ,,using matlab i am creating sine samples,i am giving samples as inputs.by using CCS i am verifying the graph.

    i am facing a issuse in this way..while creating samples using matlab there is no comma(,) between samples.For keeping commas between array elemets is there any easy solution or should i continue with using keyboard ?

  • I would use fprintf() in matlab to format data whatever way I like.

  • Thank you i think this will resolve my issue.

    New Question::

    I got a probleam with My DSK kit...so i am using simulator version.while using simulator version i am trying to create Timer using C language.but i am not able do it...

    so does anybody have C Code for Timer or Any Source where i can look after ?

  • Your device has hardware timer, and that is modelled with simulator. I suggest take a look on data manual for timer operation.