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.

CCS 4 crash on start debug

Hi Folks

Just went to run my project there and it said that the target config was incorrect...

Checked and the target config had unselected itself as default config.... this has happened before so I though no big deal just reselect it....

Reselected it as default config and now when I click the debug button, CCS starts running the debug process, then crashes entirely with the below error.

Please help! Thanks

(Using CCS v4.1.0.02005, F28027PT on ControlSTICK, XP 64-bit)

---------------------------
Eclipse
---------------------------
JVM terminated. Exit code=1
C:\Texas\ccsv4\eclipse\jre\bin\javaw.exe
-Xms40m
-Xmx256m
-XX:MaxPermSize=96m
-DXPCOM.RUNTIME=C:\Texas\ccsv4\DebugServer\win32
-Dxpcom.bridge.executeOnDedicatedThread=yes
-Dorg.eclipse.swt.browser.XULRunnerPath=C:\Texas\ccsv4\DebugServer\win32
-Dosgi.instance.area.default=file:/C:/Documents and Settings/tmole/My Documents/workspace/
-jar C:\Texas\ccsv4\eclipse\startup.jar
-os win32
-ws win32
-arch x86
-launcher C:\Texas\ccsv4\eclipse\eclipse.exe
-name Eclipse
-showsplash 600
-exitdata 10ac_fc
-vm C:\Texas\ccsv4\eclipse\jre\bin\javaw.exe
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=96m
-DXPCOM.RUNTIME=C:\Texas\ccsv4\DebugServer\win32
-Dxpcom.bridge.executeOnDedicatedThread=yes
-Dorg.eclipse.swt.browser.XULRunnerPath=C:\Texas\ccsv4\DebugServer\win32
-Dosgi.instance.area.default=file:/C:/Documents and Settings/tmole/My Documents/workspace/
-jar C:\Texas\ccsv4\eclipse\startup.jar
---------------------------
OK
---------------------------
  • Toby,

    Try this and let me know if it works:

    (It's basically the long way of loading and debugging the program, which should hopefully give us more information as to why/when CCS is crashing)

    Click on view->Target Configuration

    In the new tab, right click on your target configuration and "Launch selected configuration"

    Now right click on your target in the debug window and select "connect target"

    In the top menu, go to target->load program

    Click on browse project and select your .out file to program.

    Regards,

    Alvaro

  • Many thanks for your detailed reply Alvaro

    When I select "Launch selected configuration" CCS immediately crashes with the same error as I detailed in the first post

    However I just noticed that all the controllers and hubs of the PC are listed as unknown devices in the xp device manager panel....

    Im not sure if they were always like this or not... will check this out as well

    Thanks

  • So Id did a bit of poking around on the USB controllers and hubs, although they keep listing as unknown devices, all other USB devices seem to be working OK (keyboard, mouse, flash drives, etc) The 2 controlSTICK emulator channels show up when plugged in as expected, other than being in the same unknown devices list, and the virtual COM port is added without errors....

    I have a ticket in with our tech support about the USB hubs and controllers to see if anything else can be foud there, but otherwise they look OK.... so maybe its something else???

  • Hi Toby,

    Toby Mole said:
    (Using CCS v4.1.0.02005, F28027PT on ControlSTICK, XP 64-bit)

    Your version of v4 is pretty old. There were many stability issues with early versions of CCSv4 on C2000 that were resolved in v4.1.3 and later. I strongly suggest updating your v4 installation to the latest update (4.2.4) and see if that helps.

    Thanks

    ki

  • Yay, that actually worked!! Many thanks Ki-Soo Lee!

    Where can I download the full install file for updating on offline PC's?

    Thanks

  • Good to hear.

    You can download the full (DVD) image from here:

    http://processors.wiki.ti.com/index.php/Download_CCS#Download_latest_production_CCSv4_DVD_image

    Thanks

    ki