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.

Connect/disconnect button in CCS 4.0?

Anonymous
Anonymous

Hi,

 

I would like to ask a question on target connection.

 

In CCS 3.3 one can use shortcut ALT+C to connect/disconnect, which is very convenient. In CCS 4’s help I found the following information:

                    

 

                  

However, it seems that there is no such “connect button” in my CCS 4, at least not in the default layout. I also searched different menus including View, Project, Target, Tools and cannot found option to get this “connect button” displayed.

 

Does it really exist in 4? How can I enable it?


Update:

 

I have found connect(ALT+C)/disconnect(ALT+D) are available in Debugging mode. However, there is a difference with 3.3 is that Disconnect doesn’t actually remove the connection with the target, and can be instantly re-connected with ALT+C. It appears to me that both Connect/Disconnect doesn’t do actual hardware JTAG connection/disconnection, unlike in 3.3.

 

Also in 3.3, every Connect following Disconnect reloads the GEL file, but there is no corresponding behavior here at all.

 

So what is the really going on with Connect/Disconnect here, and why is it designed to be different from behavior in 3.3?


 

 

Zheng

  • Zheng Zhao said:
    I have found connect(ALT+C)/disconnect(ALT+D) are available in Debugging mode.

    Yes, you need to be in the Debug perspective and have started a debug session. Same goes for the connect button.

    Zheng Zhao said:
    However, there is a difference with 3.3 is that Disconnect doesn’t actually remove the connection with the target, and can be instantly re-connected with ALT+C. It appears to me that both Connect/Disconnect doesn’t do actual hardware JTAG connection/disconnection, unlike in 3.3.

    There is no change between the behavior of connect/disconnect between 3.3 and 4

    Zheng Zhao said:
    Also in 3.3, every Connect following Disconnect reloads the GEL file, but there is no corresponding behavior here at all.

    This behavior did not change from 3.3 to 4. In 3.3, the GEL file is not automatically reloaded on a connect unless you have a GEL_LoadGel call in your OnTargetConnect call.

     

  • Anonymous
    0 Anonymous in reply to Ki

    Ki-Soo,

     

    Confirmed and what you said is correct. ALC+C also reloads GEL file if OnTargetConnect() exists in GEL.

     

     

     

    Many thanks,

    Zheng

  • Zheng,

    To clarify:

    Zheng Zhao said:
    ALC+C also reloads GEL file if OnTargetConnect() exists in GEL.

    It should only reload if a 'GEL_LoadGel()' call (which loads the GEL file) exists inside the 'OnTargetConnect()' call.