Error :: "Reset target failed "

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error :: "Reset target failed "

Jump to solution
5,916 Views
kanu__
Contributor III

hi ,

 

When i started downloading my application into MSC8122ADS  using code warrior 3.0 , am getting the

 

"Reset target failed " error.

 

Is there anybody faced the same issue ?

 

 

__Kanu

Labels (1)
Tags (1)
0 Kudos
1 Solution
2,960 Views
CrasyCat
Specialist III

Can  you try the following:

  - Close all CodeWarrior

  - Open a window explorer

  - go to %USERPROFILE%\Local Settings\Application Data (Where USERPROFILE represent environment variable USERPROFILE).

  - Delete folder Metrowerks there

  - Try starting CodeWarrior for StarCore V3.2.

 

Is it working?

 

CrasyCat

View solution in original post

0 Kudos
10 Replies
2,960 Views
barbara_johnson
NXP Employee
NXP Employee

When you connect the USBTAP to your PC, does it get recognized in the Device Manager?

 

If not, you can reinstall the USB driver by following the readme file:

\Program Files\Freescale\CodeWarrior for StarCore 3.2.1\ccs\drivers\usb

 

Then you can verify connectivity using the default ADS switch settings.

 

0 Kudos
2,960 Views
kanu__
Contributor III

 

Thanks

 

Yes , the code warrior USB TAP is detected by machine and is showing in the device manager.

 

I have tried with  a test project and it is also showing the "Reset target  failed" (in cw 3.2)

 

But the same project with same code is working in another PC with only cw 3.2 get installed.

 

But the machines having cw 3.0 and 3.2 is exclusively showing the above errors as mentioned above

 

How can i eliminate this?

 

Is there any other inputs.

 

__Kanu

0 Kudos
2,961 Views
CrasyCat
Specialist III

Can  you try the following:

  - Close all CodeWarrior

  - Open a window explorer

  - go to %USERPROFILE%\Local Settings\Application Data (Where USERPROFILE represent environment variable USERPROFILE).

  - Delete folder Metrowerks there

  - Try starting CodeWarrior for StarCore V3.2.

 

Is it working?

 

CrasyCat

0 Kudos
2,960 Views
kanu__
Contributor III

 

hi ,

 

Thanks CrasyCat and ATX.

 

Now it is working fine.  I can download the code and can debug the same  without any problem :smileyhappy:

 

May i know why that previous folder caused the issue for me ?

 

__Kanu

0 Kudos
2,960 Views
CrasyCat
Specialist III

Hello

 

If I remember well there is an incompatibility between V3.1 and V3.2 in the content of the file Remote_Connections.xml created in  %USERPROFILE%\Local Settings\Application Data\Metrowerks.

In order to be able to use both V3.1 and V3.2 on one PC:

  - Start V3.2

  - Start the debugger once.

  - Close CodeWarrior

  - Open a Windows Explorer

  - Browse to %USERPROFILE%\Local Settings\Application Data\Metrowerks

  - Move file Remote_Connections.xml to {Install}\bin directory (Where {Install}

      refers to your V3.2 installation directory).

 

  - Start V3.1

  - Start the debugger once.

  - Close CodeWarrior

  - Open a Windows Explorer

  - Browse to %USERPROFILE%\Local Settings\Application Data\Metrowerks

  - Move file Remote_Connections.xml to {Install}\bin directory (Where {Install}

      refers to your V3.1 installation directory).

 

From now on you should be able to use both version in // without any problem. CodeWarrior will take the .xml file from bin directory instead of using the one from the profile.

 

CrasyCat

 

 

0 Kudos
2,960 Views
kanu__
Contributor III

 

Thanks a lot CrasyCat for the valuable information.

 

Now i have some more doubts ,

---------------------------------------------------------------------------------------------------------------------------------------------------------------

When i created a 8122 test project, it has automatically generated four projects for core 0 to 4(*.mcp files x 4)

 

In that project folder , total project files become 5(including main.mcp)

 

What is the other projects other than main.mcp means?

 

When i clicked the debug button , all the 5 projects are on the debug session. How can i debug my main application only?

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Also can you please give me the exact number of cores of the following fsl processors?

 

MSC8101 -  ? *SC140

MSC8122 -  ?*SC140

MSC8144 -  ?*SC3400 (i think it is 4)

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------

__Kanu

 

0 Kudos
2,960 Views
CrasyCat
Specialist III

Hello

 

First if you have a different question I would kindly ask you to post another message on the forum and stop using the old one.

 

Around your question did you check the processor reference manual (available on the web).

You should be able to find the information o the number of cores available on each processor there.

 

Around project created for MSC8122, CodeWarrior creates a project for MSC8122 ABS board.

If you check the documentation for this board you will see that there is one MSC8122 and one MSC8103 chip on the board.

So CodeWarrior creates a .mcp for MSC8103 and one  .mcp for each of the 4 cores on the MSC8122.

 

 

CrasyCat

0 Kudos
2,960 Views
kanu__
Contributor III

 

Sorry CrasyCat.

 

I just thought of getting some clarifications, and not on the threads

 

Ok , i will fork() my new questions  in another  thread with one new subject.

 

__Kanu

0 Kudos
2,960 Views
barbara_johnson
NXP Employee
NXP Employee

Were you able to download code to the ADS before or is this the first time to download code?

 

Have you tried creating a standard CW project and downloading the code using default ADS switch settings? Also your version CW is old. You may want to upgrade to CW 3.2.1.

 

0 Kudos
2,960 Views
kanu__
Contributor III

 

Yes . I am downloading for the first time.

 

I haven't tried to download code using default ADS switch settings.

 

yes i tried with cw 3.2 in the same board but the result is same as like that of 3.0 download.

 

Some times am also getting  the error "CCS:Invalid parameter" (may be this issue with  the configuration settings(frequency/speed) mismatch)

 

Is there any other input from your side?

 

__Kanu

0 Kudos