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.

Error on starting CCSv4.1 debug session on EVM6474

Hi

I created a project from scratch and was able to create a target configuration file that successfully connected to the EVM. I was able to run "hello world" successfully.

Then I created a second project from scratch and created another target configuration file (it was the same as before since I am using the same EVM).

But when I select debug, I get the error:

Exception occurred during launch

Reason:

Failed to initialize the Debug Server

Reason

The target configuration c:/Documents and Settings/epatton/user/CCSTargetConfigurations/C6474_embedded_evm_usb.c.cxml is not compatible with the current target configuration c:\Work\CCSv4\hello\C6474_embedded_usb_evm.ccxml.

I

So I went to the Target Configuration Tab and deleted the "Documents and Settings" configuration. I suspected that this was created when in the project view, I copied the "hello" ccxml to the new project I created called srio_evm_dio_eg_Src.

Then I selected Lauch Debug. Now I get the error

Exception occurred during launch

Reason:

Failed to initialize the Debug Server

Reason

The target configuration c:/Work/CCSv4/srio_evm_dio_eg_src/C6474_embedded_evm_usb.c.cxml is not compatible with the current target configuration c:\Work\CCSv4\hello\C6474_embedded_usb_evm.ccxml.

I went back to the Target Configurations tab and set the srio_evm_dio_eg_Src -> C6474_embedded_usb_evm.ccxml file as Default.

Got the same error.

Then I noticed that I didn't select the "Use shared location". So I re-created the ccsxml file using the "Use Shared Location" option. Then I deleted all the other target configuration files in each project. Next I made sure that the Target Configurations Tab had only one ccxml file which was "user defined" folder.

It still gave the same error even though there are no other .ccxml files in the Configuration Tab.!!!!!! Where is it getting the second .ccxml file from.

Well, my last attempt was to restart CCSv4 (remembering that CCSv3.3 content changes didnt take effect until CCS was restarted.

Guess what, it worked! Yeah.

So does this mean that a person should not de-select the "Use shared location" when creating Target Configurations? Why can't one use it?

For some reason I could not tell CCSv4 to not use the target configuration of one project and use the target configuration of another project. Or maybe there is a way?

 

 

 

 

 

 

 

  • Solution taken from the above post:

    "

    Then I noticed that I didn't select the "Use shared location". So I re-created the ccsxml file using the "Use Shared Location" option. Then I deleted all the other target configuration files in each project. Next I made sure that the Target Configurations Tab had only one ccxml file which was "user defined" folder.

    It still gave the same error even though there are no other .ccxml files in the Configuration Tab.!!!!!! Where is it getting the second .ccxml file from.

    Well, my last attempt was to restart CCSv4 (remembering that CCSv3.3 content changes didnt take effect until CCS was restarted.

    Guess what, it worked! Yeah.

    So does this mean that a person should not de-select the "Use shared location" when creating Target Configurations? Why can't one use it?

    For some reason I could not tell CCSv4 to not use the target configuration of one project and use the target configuration of another project. Or maybe there is a way?"