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.

Basic questions about Debug Icons in CCS v5.1

Hi,

When we're debugging we have some icons:

My questions are:

1 - What's the difference between "Terminate and Remove" and "Terminate/Disconnect All"

2 - The terminate button does what action "Terminate and Remove" or "Terminate/Disconnect All"?

3 - What kind of reset is performed when we use the CPU reset icon?

Thanks

  • Johannes,

    Johannes said:
    1 - What's the difference between "Terminate and Remove" and "Terminate/Disconnect All"

    The context menu selections are a bit confusing.  We cleaned up the items on the run menu but not the context menu.

    "Terminate and Remove" terminates the selected debug session and removes it from the Debug view.  There is a "Terminate" which just terminates the debug session and you see an entry in the Debug View that says <terminated> Name_of_Session.  "Terminate/Disconnect All" terminates all debug sessions but does not remove them from the debug view.  You can have more than one debug session open at once (more common if you had a JTAG debug session and then a gdb session for Linux app debug).

    Johannes said:
    2 - The terminate button does what action "Terminate and Remove" or "Terminate/Disconnect All"?

    The terminate button actually does the "Terminate" action mentioned above which terminates the selected debugger but does not remove it from the debug view.  

    Johannes said:
    3 - What kind of reset is performed when we use the CPU reset icon?

    The reset button performs a CPU reset.  To perform the other types of resets (types available vary by device) you explicitly have to click on the down arrow beside the button and select them.  Note that it is possible to have extra actions performed when you do a CPU reset.  If there is a GEL startup file provided and it has an OnReset() define then that function would get performed after the reset.  Sometimes people have some actions in there that reset peripherals.

    For C64x+ core a CPU Reset effects:

    • Local CPU reset
    • CPU control registers reset
    • L1/L2 caches invalidated
    • Outstanding read/write commands completed and are discarded by the CPU.
    • IDMA reset
    • Does not change memory configuration or control registers
    • Does not touch clocks
    • Does not corrupt memory

    The actions are very similar for other types of processor cores.

    Regards,

    John