MPC5200B JTAG issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5200B JTAG issue

308件の閲覧回数
telectroboy
Contributor II

Hello,

 

I need help please. I'm lost with this issue for days.

I work with Windows 10 64bits. I try to connect and debug a board with a MPC5200B.

I've downloaded CodeWarrior MobileGT v9.2 I use the CodeWarrior USB Tap. Driver is libusb32 (tried many others).

I've tried with windows 8 64, Windows 7 64, Windows 7 32bits and even Ubuntu 14 =Always the same result.

CCS integrated with mobileGT v9.2 is unable to connect to USB tap

Here is the log :
CodeWarrior Connection Server console display active (Tcl8.4.12 / Tk8.4.12)
Loading CCSAPI Tcl interface (C:/Program Files (x86)/Freescale/CodeWarrior for MobileGT V9.2/ccs/bin/ccstcl.dll)...
CCS: tmpc5500_etpu.tcl is sourced into [::mpc5500_etpu] namespace
CCS: tsjc.tcl is sourced into [::sjc] namespace
CCS: tmsc8144sc.tcl is sourced into [::msc8144sc] namespace
CCS: tmsc8144tp.tcl is sourced into [::msc8144tp] namespace
CCS: tskyeplus.tcl is sourced into [::skyeplus] namespace
CCS: tzas.tcl is sourced into [::zas] namespace
CCS: tarmetb.tcl is sourced into [::armetb] namespace
CCS: tmsc815xsc.tcl is sourced into [::msc815xsc] namespace
CCS: tmpc603e.tcl is sourced into [::mpc603e] namespace
CCS: tmpc603ei.tcl is sourced into [::mpc603ei] namespace
CCS: te500.tcl is sourced into [::e500] namespace
CCS: tmpc7410.tcl is sourced into [::mpc7410] namespace
CCS: tmpc74x7.tcl is sourced into [::mpc74x7] namespace
CCS: tmpc7447a.tcl is sourced into [::mpc7447a] namespace
CCS: tj2i2c.tcl is sourced into [::j2i2c] namespace
CCS: tmpc83xx.tcl is sourced into [::mpc83xx] namespace
CCS: tmpc755.tcl is sourced into [::mpc755] namespace
CCS: tarm11.tcl is sourced into [::arm11] namespace
CCS: tmpc7448.tcl is sourced into [::mpc7448] namespace
CCS: tcoldfire.tcl is sourced into [::coldfire] namespace
CCS: tmpc8641.tcl is sourced into [::mpc8641] namespace
CCS: tsdma.tcl is sourced into [::sdma] namespace
CCS: tmxc_sdma_filter.tcl is sourced into [::mxc_sdma_filter] namespace
CCS: tmxcsc.tcl is sourced into [::mxcsc] namespace
CCS: tj2i2cv2.tcl is sourced into [::j2i2cv2] namespace
CCS: tmxc_zassc_filter.tcl is sourced into [::mxc_zassc_filter] namespace
CCS: te500mc.tcl is sourced into [::e500mc] namespace
CCS: tcortex_a8.tcl is sourced into [::cortex_a8] namespace
CCS: autoexec.tcl is sourced into [::] namespace
0: Parallel Port(SPP) (lpt:1) CC software ver. {3.3}
Server listening on port: 41475
Clients accepted from all hosts
(bin) 1 % log v
verbose logging
(bin) 2 % delete all
(bin) 3 % config cc utap
(bin) 4 % show cc
0: USB open failure

 

But CCS supplied with CodeWarriro MCU v11.1 is OK.

CodeWarrior Connection Server console display active (Tcl8.4.12 / Tk8.4.12)
Loading CCSAPI Tcl interface (C:/Freescale/CW MCU v11.1/MCU/ccs/bin/ccstcl.dll)...
Loading Svfburner (C:/Freescale/CW MCU v11.1/MCU/ccs/bin/svfburner.dll)...
Server listening on port: 41475
Clients allowed from all hosts
No clients denied
(bin) 1 % log v
CCS Windows Release Build 438p0
verbose logging
ac argc argv argv0 auto_index auto_oldpath auto_path
(bin) 2 % delete all
(bin) 3 % config cc utap
(bin) 4 % show cc
0: USB TAP (JTAG) (utap:) Loader software ver. {1.10}
Sending code to USB TAP - please wait
0: USB TAP (JTAG) (utap) CC software ver. {1.3}
(bin) 5 % source IDcode.tcl

Scanning for available TAPs connected via USB.....


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ Available Remote Connections
+
+ 1 - USBTAP - 19252078
+ 2 - CodeWarriorTAP - <Specify IP Address>
+ 3 - EthernetTAP - <Specify IP Address>
+ 4 - GigabitTAP - <Specify IP Address>
+
+ x - Exit Script without Changes
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Specify connection:
1

Configuring TAP Interface....

Configured Connection: utap : 19252078


TDO -----
|
* Device 0 IDCODE: 1001101D Device: FSL MPC5200B rev 2.x
* Device 1 IDCODE: FFFFFFFF Device: Unknown Device
* Device 2 IDCODE: FFFFFFFF Device: Unknown Device
* Device 3 IDCODE: FFFFFFFF Device: Unknown Device
* Device 4 IDCODE: FFFFFFFF Device: Unknown Device
* Device 5 IDCODE: FFFFFFFF Device: Unknown Device
* Device 6 IDCODE: FFFFFFFF Device: Unknown Device
* Device 7 IDCODE: FFFFFFFF Device: Unknown Device
|
TDI -----

 

Except it detects some unknown devices on the JTAG chain. They does not exist on the JTAG chain!!! I've removed TDI and TDO pull up...

Do I need to do something else?

 

CodeWarrior MobileGT give this error :

telectroboy_0-1757061318177.png

And here is the setting :

telectroboy_1-1757061333909.png

I can connect to the board I need to debug with USBBlaster and TopJTAG

telectroboy_2-1757061617192.png

I've tried the USBTap withMPC5554EVB and USB tap is OK !

Any help will be very appreciated !

Thanks

0 件の賞賛
返信
10 返答(返信)

50件の閲覧回数
telectroboy
Contributor II

Hello,

OK I've finally been able to connect !

telectroboy_0-1758098237964.png


I don't really understand why and how...

I've made a new probe TIP because JTAG/COP is still unavailable...

 Thanks

0 件の賞賛
返信

193件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

have a look at following thread, It maybe helps:

https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-warrior-MCP5200-quot-Connection-Refused-quot/m...

best regards,

Peter

0 件の賞賛
返信

187件の閲覧回数
telectroboy
Contributor II

Hello,

 

Thanks fo your help!

Yes I've seen and tried to follow the hint of this thread. I've downloaded and installed this version of ccs and tried ccs from Codewarrior 11.1.
But still receive Connection Refused even in Console mode !

I'm stuck with that.

0 件の賞賛
返信

145件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Ok, sorry to hear that.

I have no knowledge on how to solve this issue.

I can only recommend to move to actual devices as MPC5200B is not recommended for new designs.

@stanish do you have any clue what could be the issue here?

Best regards,
Peter

 

 

139件の閲覧回数
telectroboy
Contributor II

Hello Peter,

 

Thanks, I understand except in my case, moving to another mcu is not possible.

I have 10 boards equipped like that for the moment. And I need the JTAG access to them.

I still hope I 'll find a solution.

 

Thanks again

タグ(1)
0 件の賞賛
返信

235件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I was looking in some old internal communications:

I work with Windows 10 64bits. I try to connect and debug a board with a MPC5200B.

I've downloaded CodeWarrior MobileGT v9.2 I use the CodeWarrior USB Tap. Driver is libusb32 (tried many others).

I've tried with windows 8 64, Windows 7 64, Windows 7 32bits and even Ubuntu 14 =Always the same result.

Do you use Windows XP on your PC? CodeWarrior MGT 9.2 supports the MPC5121-5123-5125. This CodeWarrior uses USB TAP driver for using under Windows XP. This driver cannot works under Windows Vista or Windows 7.

 Have in mind that this product is not recommended for new designs and support is very limited.

Best regards,

Peter

226件の閲覧回数
telectroboy
Contributor II

Hello,
Thanks for your answer.
I'm working with Windows XP now. I've build a COP probe tip because they're not available!!

telectroboy_0-1757410698898.png

Here is the answer I have with any Windows version! CCS: Connection Refused. The tap has a static IP. It is pingable. I've checked it. 

But I'm not able to produce a connection.

Do you have some tips?

Thanks again

0 件の賞賛
返信

274件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Seems you are right, but I have never worked with MPC5200B.

https://www.nxp.com/docs/en/user-guide/MPC5200UM.pdf

Let me know if it worked.
Best regards,

Peter

0 件の賞賛
返信

262件の閲覧回数
telectroboy
Contributor II

Hello,

 

I've received the new probe!
But I need a probe tip

 

Do you know which one do I need to use?

0 件の賞賛
返信

294件の閲覧回数
telectroboy
Contributor II

I reply to myself!

I use a ONCE USB Tap Probe! And it seems I need the CWH-CTP-BASE-HE probe ! I didn't know. Just saw it in this forum.

Just ordered the probe and waiting for it. But if someone could confirm this info... Could be great

 

Thanks

 

0 件の賞賛
返信