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/TMS320F28379D: problem with newly created project

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hi

The file is being successfully loaded, but I am not able to see output using that file. While if I build any example it gives expected output. I checked the properties and other options to be taken care. The same main file when copied in example also gives expected output. what could be the reason its not working with newly created project?

Thanking you in advance !!

  • Hi,

    If I understood correctly what you mean by "not able to see output using that file", it seems that your new project is different than the example project.

    I would first check the assembler/compiler/linker project properties between the two projects - issue a "Rebuild All" on the working project first and then save the build output shown in the console view to a file. Do the same with the new project and compare the differences.

    Another common source of confusion is if there are a different source files (*.asm, *.c, *.h) or linker file (*.cmd) being used between the different projects.

    Hope this helps,
    Rafael
  • Hi

    Thank you for your reply !

    My main.c is working well when I copy it into any example file and I am able to see expected output. But when I build my main.c in my newly created project, it builds without any error but I am not able to see any output (for example, pulses at PWM pin are not visible). I checked all the properties for each option, where user has to change. Everything is same as example file. even i copied the same files to my folder from example file. But then also its not working. 

  • Hi,

    I think that you should compare the console output of both builds (the example project and the modified one) after doing a "Rebuild All", as they will indicate exactly what may have changed between the two - I am still suspecting that some defined symbol, path to include files, library or other detail may be influencing your build, especially because you mentioned that your main.c works fine if you replace the same file in the example project.

    If you still can't find what changed, I would simply use the example project with your custom main.c file - I don't necessarily see any possible issue with that approach.

    Regards,
    Rafael
  • Thank you for the response !
    I am doing the same you mentioned "using modified project, copying into example file".