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.

Code Composer Studio Using printf statements

Other Parts Discussed in Thread: HALCOGEN, CCSTUDIO

I am using a TMDX570LS31HDK Development Kit and Code Composer Studio V4.2

The main thread does not run when the code is generated with Code Composer Studio.

It is similar to the problem discussed in the following thread: http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/64088.aspx

But when I use the code generated from HalcoGen provided in the above link and import it to CCStudio. It works and prints Hello World to the console.(It requires changing the sys_link.cmd  file generated in Halcogen)

Is there any way to fix this within CCStudio? If not please explain a step-by-step procedure to convert an existing project in CCSV4 to halcogen and make the change to the sys_link.cmd file and import the project back to CCStudio.

I am using TI Development Kit for the first time, hence please be elaborate.

Pritesh

  • Pritesh

    Sorry for being late...

    No, CCStudio does not know about the device and cannot auto-generate the code for your particular device. It can only dump generic template code (like "Hello world") and you would have to either import the remaining code from Halcogen and write the application code over and above in the user specific sections of Halcogen code.

    When you say you want to convert an existing project to Halcogen, I guess you mean to say you already having code running correctly in CCS? Is this correct?

    I do not believe it is possible to "import" a CCS project back into Halcogen and post-process it. So I think you can try something like this depending on what exactly your scenario is. 

    - Generate all the files from Halcogen

    - Paste all the app code ("USER sections") back into the Halcogen files.

    - Or you could paste just the difference code from Halcogen into your project.

    If you feel this doesn't help pls explain whether your current project in CCStudio is fully working as yet or are you starting from scratch etc...

    Thanks,