Codewarrior USBTAP problem

cancel
Showing results for 
Search instead for 
Did you mean: 

Codewarrior USBTAP problem

17,906 Views
dcogley
Contributor I
Hello,

I am evaluating the 8349 Freescale processor using the MPC8349E-MDS-PB evaluation board. This evaluation came with the Codewarrior USBTAP with JTAG interface for loading and debugging applications for this microcontroller. I have installed the evaluation Codewarrior Development Studio for PowerPC ISA, Linux Application/Platform Edition v2.6. I have also installed the required ROHS USBTAP update.

On to the problem.. I have created the simple test application in the Codewarrior IDE and configured the Remote Debugging to use the USBTAP. When I choose Debug->Connect I can see the board reset and the connection status proceeds all the way to "Completing connect phase..." then gives me an error:

"JTAG Clock Speed Change Error"
Please check your JTAG clock speed.

Then the error:

"CCSProtocolPlugin: CCS: Network timeout
[Network timeout]

I have tried every "Interface Clock Frequency" under the USBTAP settings and I always get the same error. I have read through the USB TAP users guide and located the section "Setting the Debug Port Clock Frequency" which refers me to the CodeWarrior documentation under which I can not find any information for the USB TAP.

Thanks,
Dave Cogley
Labels (1)
0 Kudos
30 Replies

131 Views
CrasyCat
Specialist III

Hello

Apparently you have a licensing issue with your CW EPPC V8.6. I would need to look at the license file to investigate further.

Where did you install the license file?

New revision of USBtap will not work with V8.5 You need to install the ROHS Patch on top of V8.6.

On Linux can I also get a look at the license file you are using?

CrasyCat

0 Kudos

131 Views
qwe
Contributor I

Hi CrasyCat,

I have solved the problem but now I have an another problem:smileyhappy: I hapo yu have any idea.

I want to debug kernel using USBTAP and Codewarrior (hosted on Windows Machine)

do you know how can I debug?

0 Kudos

131 Views
CrasyCat
Specialist III
Hello
 
May I ask you what was the problem? I am just curious.
 
When you are speaking about kernel debugging, are you speaking about Embedded Linux kernel debugging?
 
Embedded Linux Kernel debugging is possible only with CodeWarrior Development Studio for PowerPC, Linux Platform Edition.
You need a Linux hosted machine to do kernel debugging.
 
If you only have Windows hosted machine, only solution I can think about (I have used it a while ago) is to use VMWare and create a emulated Linux machine on your Windows host.
 
I hope this helps.
 
CrasyCat
0 Kudos

131 Views
AAC_newbs
Contributor I
We are also having the problem decribed in the original message of this thread. We are using linux version 2.5 and have updated the Tap through ccs. The debugger gives the error:

CCSProtocol Plugin : CCS:CoreNotSupported connection refused

and the Flash Programmer gives the error

JTAG clock speed error and/or
Flash programer cannot initialize target 8272 blah make sure config file is correct.
We are trying to program an mpc8272ADS board and are following all instructions given to us.

What is the correct clock speed for the JTAG? and if this is not the problemn then what is?

We are using Linux RedHat 9.

If anyone has an answer to this please email it to me at
dfolden@montana.edu
0 Kudos

131 Views
CrasyCat
Specialist III

Hello

If you are using a CWH-UTP-PPCC-HE parts, you need to download and install the USBTap patch.

Note that he patch can be installed on top of CodeWarrior™ Development Studio PowerPC® ISA, Linux® Platform and Application Editions v2.6 only.

So you need to upgrade to V2.6.

CrasyCat

0 Kudos

131 Views
AAC_newbs
Contributor I
OK we have installed v2.6 and the update, but the same problem still exists. The debugger and the Flash programming tool keep telling us that there is a problem with the JTAG clock speed. In v2.5 there is an option to change this value, but in 2.6 there is not.

This is very frustrating and is halting progress of our project, we have been fighting this for about 5 months, and have even sent a tap back in thinking it was damaged.

Is there some way for us to use the WireTap JTAG programmer which we purchased with the board, there is no option in the Remote Connections for the use of this Tap, and it maybe that we need to have a new plugin for CW.

Thanks for your help
0 Kudos

131 Views
CrasyCat
Specialist III

Hello

I would suggest you to submit a service request through our web interface for that.

Sorry I cannot help more on that one.

Crasycat

0 Kudos

131 Views
bernie854
Contributor I
I have had many problems with this TAP...  I have gone through four TAP's each with similar problems.
 
The TAP seems to work right?  But let me guess when you plug it into the USB port the LED's flash then Tx/Rx blinks RED? If you see this it apparently means that the USB controller on the TAP cannot communicate with your PC.  I'll bet that the TAP probably worked fine for a while?
 
Anyway, the problem maybe ESD.  If the target H/W is charged as you connect your H/W the ESD appears to damage the USB controller on the TAP.  Same thing can happen if the TAP is connected to the PC...
 
My local rep and distributor has helped me greatly with supplying me with replacement TAP's and other TAP's as well.  Ask if Freescale has a parallel port version of the TAP for that processor.  I was able to get "DSPCOMMPARALLEL" from AVNET, seems to work just fine, all you need is a parallel port :smileyhappy: I think this TAP is configurable for any processor...
 
Good Luck
0 Kudos

131 Views
Kersh
Contributor I
Help I have the exact smae problem
0 Kudos

131 Views
mansoor
Contributor I
Hi
 
I am also facing the same  error as the first message of this thread.did anyone solved this error?
0 Kudos