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.

TMS320F28377S: TMS320F28377S

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Hi,

I have a project that I started from one of the examples for ADC for TMS320f28377S from earlier version of 2000ware. Recently I cleaned this project and used the latest version of 2000ware. Maybe it is a coincidence, or I did something else, but the RAM configuration is working fine but FLASH configuration provides a different effect, like some sound distortion and different current in the board. What configurations files do I need to compare for RAM and FLASH to find the problem?

Thanks vadim

  • Hi Vadim,

    Did you check if any ADC code has changed from the version of C2000Ware to the one you are using now? The only difference between RAM and Flash config is that the code is loaded and executed from RAM and Flash.

    Did you try running the Flash configuration with the previous version of C2000Ware? Does that work fine?

    Best Regards

    Siddharth

  • Hi Siddharth,

    I have local copies of all files and not a linked ones, so if they work in RAM should be the same in FLASH? I noticed that CCS used to have only two configurations now it is four: CPU1_FLASH, CPU1_RAM, LAUNCHPAD_RAM, LAUNCHPAD_FLASH. I used CPU1 configurations. I tried LAUNCHPAD_FLASH and it worked. Why CPU1 did not work? What settings/files define FLASH/CPU1 configurations? Where do I find them? All  four configurations are for debugging. How do I modify them for release version?

    thanks vadim

  • HI Vadim,

    There are few changes between the Control card and the Launchpad. One is the Oscillator frequency and the other are the GPIO pins.

    You can find the differences in the code by searching for the following #ifdef _LAUNCHXL_F28377S. For the "LAUNCHPAD_FLASH" build configuration , the compiler options define this macro so that all the code related to the Launchpad gets compiled.

    Best Regards

    Siddharth

  • Hi Siddharth,

    1.In my project some files are in the project directory, some in include directory. Is there a way I can search for a word in all related files?

    2. What files this #define directive should I look if 1) option does not exists ?

    3 where is the cmd linker file? I do not see the path in my project explorer. I came across this thread but could not find the answer

    thanks vadim

  • Hi Vadim,

    If you are using CCS , then you can use "File Search" to search for a particular string. The main changes are mostly in device.h file included in <c2000ware_install>\device_support\f2837xs\common\include folder.

    The linker command files are available in <c2000ware_install>\device_support\f2837xs\common\cmd folder.

    Best Regards

    Siddharth

  • Hi Siddharth,

    How do I set up a configuration? For example If I start a new project it creates two configurations: Debug and Release. Both configurations are going into FLASH. How can I modify them to go into RAM?  If I import an example from C2000ware it creates 4 configurations 2 for RAM and 2 for FLASH. How can I make sure that some optimized for debug and some for release?

    thanks vadim

  • Hi Vadim,

    You can right click on the Project , select "Build Configurations" and then click on "Manage" . This will give you options to add a new build configuration. 

    If you want to run the code from RAM, then make sure that the linker command file used in your project redirects the code sections to RAM memory locations.

    For optimization, you can change the compiler options (Right click on the project. select Properties - > Select C2000 Compiler and Optimizations.

    Best Regards

    Siddharth