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.

Debugger not launching cortex m3 Bizzar!



Hi,

I have a RTSC project running on a LM3S9D96 platform. The project was an existing project that I have had no problems with in CCS 5.5. Now when you debug the project it programs the FLASH and will sit indefinitely without launching the debugger. If I remove the "run to main" the code runs fine but the debugger will not launch.  Yet. Another Similar Project will run on the same platform with the same debugger.   I cannot see any differences between the configurations, its very strange. Is there any logging or verbose mode that will help resolve this problem?

Thanks. 

  • RKRobinson said:
    Now when you debug the project it programs the FLASH and will sit indefinitely without launching the debugger. If I remove the "run to main" the code runs fine but the debugger will not launch

    What exactly do you mean when you say the debugger does not launch. If the code running are you able to halt it and view disassembly, memory etc?

    RKRobinson said:
     Yet. Another Similar Project will run on the same platform with the same debugger.

    Have you checked if startup files and build options for both projectsare similar? We might need a simple reproducible test case to investigate this further. Are you able to share your project with us?

  • Hi,

    The debug perspective doesn't open it looks to me like its waiting for the debugger. This basically happened when I installed CCS6. I uninstalled CCS6 because of the issues deleted my TI directory and restored from a prior backup but the problem persisted. The only way I could get my project to work was to import this project into a previous project. A this point think I need to do a complete re-install of my workstation.

  • I am having the same problem in CCS6 using the MSP430 64-pin kit with the MSP-FET430UIF.  I just upgraded earlier today and then imported my old CCS5.5 projects into the CCS6 workspace.  I go to debug the project and this is what happens:

    1.  Code is recompiled (only warnings...one of which is that the project was created with a previous version of CCS),

    2.  Debugger starts

    3.  Code looks like it is being loaded onto the MSP430

    4.  Code is "running"

    5.  Main is never reached, code is not running and the red mode LED is lit.


    I created a new blank project, copied the code into the the project, and tried debugging that code for which there was no problem.  It seems like the older projects are not importing correctly.  Is there a solution to this problem?  I have many, many projects and I would rather not have to create new projects for all of them.  Ideas?


    H

  • Wouldn't you know it...the moment that you get frustrated enough that you post to the forums is the moment you find the solution. I double checked the project settings for the 10th time and determined that the compiler number didn't change.  It was still on the 5.5 compiler version.  I still need to go through all of my projects to change the compiler settings, but at least I don't have to recreate all of my projects.

    I have used a lot of CCS versions over the years (every single one starting with 3.2).  This time is the first time the import process was not seamless.  Part of the reason why I like TI over the competitors ( *cough* Freescale *cough*) is that usually TI doesn't hiccup on software issues. 

    H