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.

Tiva-C launchpad projects, programming the part in debug mode vs release mode

Other Parts Discussed in Thread: UNIFLASH, LMFLASHPROGRAMMER

Hi, 

I am trying to learn embedded programming using Tiva-C launchpad and CCS environment, using project0.

I am able to run the project in debug mode, and it works great.

Now I want to program the board in release mode. is there a way to do that with the current setup, or do I need a production programmer to do this?

Thanks, 

  • Hello Forum Member,

    More information on the same at the following link.

    processors.wiki.ti.com/.../CCStudio_FAQ

    From a programmer perspective, you can use any programmer that can download a bin file, like UNIFlash or LMFlashProgrammer, or another utility,

    Regards
    Amit
  • Thanks for the answer,

    Which physical programmer should I use?
  • Hello Forum Member,

    There are many programmers and tool vendors that have the capability. On top of my head is UNIFLASH with XDS100v2. But do explore all options in terms of cost of programmers and tool licensing cost.

    Regards
    Amit
  • doginwater said:
    Now I want to program the board in release mode. is there a way to do that with the current setup, or do I need a production programmer to do this?

    In CCS the Debug and Release configurations are just ways of compiling a project with different compiler options.

    When a new project is created in CCS, Debug and Release configurations are created and the Debug configuration is selected by default.

    If you right-click on a project in the Project Explorer you can change the active Build Configuration from Debug to Release:

    With the active Build Configuration set to Release, when a debug session is started CCS will load the program build in Release mode to flash. You can still debug a program compiled in Release mode, but depending upon the compiler Optimization used you may find the program does not single-step in statement order as the compiler may re-order some instructions.

  • Thank you for the clear explanation, much appreciated!