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.

Left in debug perspective when flashing, and build fails.

Hi

This is a minor bug but a frequent nuisance in CCS.

Using latest CCS (10.4.0.00006 )

When I hit the button to download my code to flash  CCS runs the following sequence:

  1. Change to debug perspective.
  2. Build the SW (calling make).
  3. Starting a scripted debug session.
  4. Downloading code to flash.
  5. End debug session.
  6. Change back to edit perspective.

That all fine and good, but if the build in step 2. fails CCS stays in the debug perspective (not the best perspective to check and correct the failed build)

One note here is that CCS will prompt me with a question if is should continue after the failed build, if I say "no" i get the above problem, if I say yes it will continue, but fail in step 4 as there is no .out file (deleted by the failed build) And then return to edit perspective.

I my view the best and simplest solution here is to swap step 1. and 2. So it becomes

  1. Build the SW (calling make).
  2. Change to debug perspective.
  3. Starting a scripted debug session.
  4. Downloading code to flash.
  5. End debug session.
  6. Change back to edit perspective.

As I mention in the beginning this is a minor but annoying bug, and should be relative easy to fix.