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.

Running Release Application

Other Parts Discussed in Thread: TMS320F28335

Im developing application and testing in debug mode. In this case de Active Build configuration is in Debug and in Target->Debug Active menu its possible to load my application.

Now I want to load my application in Release mode, I change Active Build configuration to Release but I didnt find in menu where I can load application in Release mode. I read in Code Composer Studio v4 page that its possible to load program in Target-> load Program, but doesnt have this option im mey eclipse. Information about IDE version and environment are below:

Code Composer Studio Core Edition  Version: 4.2.3.00004

DSP 28335

Configuration Target File

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Blackhawk USB2000 Controller_0">
        <instance XML_version="1.2" desc="Blackhawk USB2000 Controller_0" href="connections\BH-USB2000_Connection.xml" id="Blackhawk USB2000 Controller_0" xml="BH-USB2000_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Blackhawk USB2000 Controller_0">
            <instance XML_version="1.2" href="drivers\bh2000_28x.xml" id="drivers" xml="bh2000_28x.xml" xmlpath="drivers"/>
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="TMS320F28335_0" href="Devices\f28335.xml" id="TMS320F28335_0" xml="f28335.xml" xmlpath="Devices"/>
            </platform>
        </connection>
    </configuration>
</configurations>

 

  • Hi,

    The menu Target --> Debug Active Project (or the green bug button) will load whatever is the selected Active Build Configuration - Debug or Release. No changes to the target configuration file (.ccxml) are required.

    As you mentioned, you already switched the Active Build Configuration to Release and therefore you should be able to load the selected version of the code.

    Regards,

    Rafael

  • Hello,

    Thanks for help.

    I noticed that when I run Project and the Active Build Configuration was configured to Release I can debug application putting breakpoints. My duvide is that application released support debug right ? Is there any decreasing of Performance or not ?

    Regards,

    Mauricio

  • Mauricio,

    The ability to place breakpoints in the debugger is not dependent on the level of debugging information configured in the Active Build Configuration. What is affected is the ability to put breakpoints directly from the source file view. 

    You are correct. By default the Release configuration does not entirely remove debugging capabilities (option -g), thus allowing you to do source-level debugging with some limitations (you are unable to set breakpoints in some parts of your source files, or they may not correspond exactly to the assembly instruction). 

    There is a performance decrease by using debug information with optimization. In practice, however, removing the debug information entirely can cause issues when the product is deployed in the field. Any bugs that may arise become impossible to track and solve. 

    Hope this helps,

    Rafael