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.

Problem in step by step debugging in CCSv5

Other Parts Discussed in Thread: MSP430F2618, CODECOMPOSER, MSP430F5438A

hi,

I'm using MSP430F2618 for I2C communication.

when I try to start step by step debugging its showing error "  no source available for 0x4186 ".

here is the screen shot of the window.

please get me out of this.

  • Hi Tulasi,

    Can you please provide more information.  How do you enter debug mode?  What debug settings do you use?  What project settings?

    Normally this type of message indicates symbols not being loaded or no main function etc etc.

    Best Regards,
    Lisa

  • Hi,

    I didn't change any options (using default settings). when i tried to restart the program, i'm able to see the disassembly and the step by step debugging as well.

    the button is show here in the picture

    I donno why its happening like that.

    Thank You.

  • Hi Tulasi,

    it looks like your program is going off into some unkown state/location where there is no code.

    - do you get the no source message every time when starting a debug session?  Or only after starting to single step?  If it is this second option then there is likely something in your code causing it to go off into no mans land so to speak.  If it is the first option, then what might be happening is something in the initialization or else your chip started in a bad state.

    Please keep us informed.

    Best Regards,

    Lisa

  • Hi Lisa,

    Yes, I'm getting No source message all the time when I start Debug Session.

    At that time the Red LED on the Debugger Interface is blinking continuously ( I think the the program is running on the Target ).

    I think there is no problem with the code ( since I'm simple register access ), 

    " your chip started in a bad state " -- does it mean that the processor is not working properly due to repeated programming or the problem with the initialization from the CCS ??

    even I tried with 2 - 3 processors. I'm getting the Same error.

    Thank You.

  • HI Tulasi,

    ok, this sounds like a problem with the code/initialization.  It could be coming from your code/GEL script/initialization. 

    - do you do your own start up routine/GEL script?
    - can you confirm you have the correct header file included for your MSP?

    Check these types of things and keep us informed.  It seems that when loading, main can not be found and initialization is one of the main causes of this type of problem.

    Best Regards,
    LIsa

  • Hi Lisa,

    I didn't write any GEL Script.

    I'm using "msp430x26x.h" for msp430f2618/2619 processors. is that the problem ?

    Thank You.

  • I had the same problem. When starting debugging it suddenly gave no source code. After closing the CodeComposer studio, power cycle of the MSP-FET430UIF, restarting CCS; and cleaning the projects of all libaries and the executable I got the debugger alive again. But I can't promise that this will work in your case.

  • Hi Tulasi,

    I would recommend using the device specific .h file.  For your device there is one.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Tulasi,

    just thought I would check whether there is any update to your enquiry.

    Best Regards,
    Lisa

  • Hi Tulasi,

    Could you please let us know how did u solve the issue.
    Even we are getting the same error(No source available for "0x1dea")
    while debugging SYS/BIOS on MSP430F5438A.

    Regards

  • Hi Paddu,

    have you been able to try the recommendations on the post?   What about a device specific header file?

    Best Regards,

    Lisa