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.

C6416's TCP/VCP registers are not shown with SD XDS510USB

Other Parts Discussed in Thread: CCSTUDIO, CODECOMPOSER

Hello,

I am trying to debug an application which uses TCP and VCP of C6416. I connect to processor using SD's XDS510USB emulator. However, there is no TCP/VCP registers shown under View/Registers menu. When I use simulator, they do appear. Please suggest, how to fix. Thanks in advance.

  • Hi,

    Unfortunately the C6416 VCP/TCP register views were never implemented in any versions of CCS.

    Sorry,

    Rafael

     

     

  • Thanks for response but that seems to be not true. I've just tried older box with XDS560 in it. On that box CCS 3.1 does show TCP/VCP registers. So I guess its about emulator capabilities or some settings.

    My situation is that I have new PC with Win7 x64 on it. CCS 3.1 is not supported there, but I managed to run it using XP Mode. And I only can pass USB emulator to virtual machine. So I used SD's XDS510USB. But that one does not show registers of interest.

    Yes, I know TI recommends CCS 4 for Win7, but even 3.3 is too big jump for me, I have to comply with my colleagues...

    Upd: Tried 3.3 with XDS510USB. There is VCP/TCP registers option in View/Registers menu, but it does not work. Moreover, attempt to view any other register causes exception window to pop-up. Yes, I know that 3.3 is not officially supported on Win7.

     

  • rrlagic said:
    Thanks for response but that seems to be not true. I've just tried older box with XDS560 in it. On that box CCS 3.1 does show TCP/VCP registers. So I guess its about emulator capabilities or some settings.

    Yes that information can vary per emulator (if SD decided to support this in their drivers)

    rrlagic said:
    Upd: Tried 3.3 with XDS510USB. There is VCP/TCP registers option in View/Registers menu, but it does not work. Moreover, attempt to view any other register causes exception window to pop-up. Yes, I know that 3.3 is not officially supported on Win7.

    What exceptions/errors are you seeing (what is the exact message)?

    Thanks

    ki

  • Hi again,

    I would very appreciate any suggestion how combat this issue. CCS version is 3.3.82.13. Here is what I am doing. When IDE started I select menu item View/Registers/Core. Then exception window pops up:

    The text in details is:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at RegisterWindow.ConfigurationManager.ReCalculateRegisterArea()
       at RegisterWindow.ConfigurationManager.OnRegClientSizeChanged(Int32 Width, Int32 Height)
       at RegisterWindow.RegisterWindowUserCtrl.RegWndGridCtrl_SizeChanged(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
       at Syncfusion.Windows.Forms.ScrollControl.OnSizeChanged(EventArgs e)
       at Syncfusion.Windows.Forms.Grid.GridControlBase.OnSizeChanged(EventArgs e)
       at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
       at System.Windows.Forms.Control.UpdateBounds()
       at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
       at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    CcsMemoryServerProxy
        Assembly Version: 1.0.3260.1131
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/cc/bin/CcsMemoryServerProxy.DLL
    ----------------------------------------
    CcsMemoryServerCOMInterface
        Assembly Version: 1.0.3260.1099
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/cc/bin/CcsMemoryServerCOMInterface.DLL
    ----------------------------------------
    CcsMemoryServer
        Assembly Version: 1.0.3260.1107
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/cc/bin/CcsMemoryServer.DLL
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    interop.CodeComposer
        Assembly Version: 1.50.0.0
        Win32 Version: 1.50.0.0
        CodeBase: file:///C:/TI/CCStudio_v3.3/cc/bin/interop.CodeComposer.DLL
    ----------------------------------------
    CcsEventLog
        Assembly Version: 1.0.3260.1100
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/cc/bin/CcsEventLog.DLL
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    CcsPropertyControl
        Assembly Version: 1.0.3260.1093
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/cc/bin/CcsPropertyControl.DLL
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    Syncfusion.Grid.Windows
        Assembly Version: 3.0.1.1
        Win32 Version: 3.0.1.1
        CodeBase: file:///C:/Windows/assembly/GAC/Syncfusion.Grid.Windows/3.0.1.1__036fe6034c821ea4/Syncfusion.Grid.Windows.dll
    ----------------------------------------
    PropertyPageEditor
        Assembly Version: 1.0.3260.1094
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/plugins/Joule/PropertyPageManager/PropertyPageEditor.dll
    ----------------------------------------
    Syncfusion.Shared.Base
        Assembly Version: 3.0.1.0
        Win32 Version: 3.0.1.0
        CodeBase: file:///C:/Windows/assembly/GAC/Syncfusion.Shared.Base/3.0.1.0__3d67ed1f87d44c89/Syncfusion.Shared.Base.dll
    ----------------------------------------
    Syncfusion.Core
        Assembly Version: 3.0.1.0
        Win32 Version: 3.0.1.0
        CodeBase: file:///C:/Windows/assembly/GAC/Syncfusion.Core/3.0.1.0__632609b4d040f6b4/Syncfusion.Core.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    Syncfusion.Tools.Windows
        Assembly Version: 3.0.1.1
        Win32 Version: 3.0.1.1
        CodeBase: file:///C:/Windows/assembly/GAC/Syncfusion.Tools.Windows/3.0.1.1__036fe6034c821ea4/Syncfusion.Tools.Windows.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    RegisterWindowUserCtrl
        Assembly Version: 1.0.3260.1124
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/plugins/Joule/RegisterWindow/RegisterWindowUserCtrl.dll
    ----------------------------------------
    CCSRegAdaptor
        Assembly Version: 1.0.3260.1117
        Win32 Version: 5.98.0.404
        CodeBase: file:///C:/TI/CCStudio_v3.3/plugins/Joule/RegisterWindow/CCSRegAdaptor.DLL
    ----------------------------------------
    Interop.REGISTERWINDOWLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/TI/CCStudio_v3.3/plugins/Joule/RegisterWindow/Interop.REGISTERWINDOWLib.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Thanks in advance.

  • hmm... you are getting a .NET error. Some plug-ins in CCS 3.3 are a .NET plug-in and uses the .NET framework. CCS will install it by default but sometimes the installation if it fails.

    Could you try opening the Memory window and Breakpoint Manager and see if you can open them successfully? Those plug-ins also are .NET plug-ins and I'm curious if you will have issues with those too.

    ki

  • I've tried every item in View menu, like Memory view, Watch, they work just fine. Breakpoint manager also operational. Only View/Registers causes the problem.

  • Thousands of apologies.

    Tried with another machine - OK. Then, clean reinstall helped.

    Sorry for killing people's  time...

  • Thanks for keeping us posted. It could be that the prior install didn't install the .NET plugins correctly. Anyway, glad to hear you are up and running now.