Freescale CodeWarrior Gigabit TAP problem

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

Freescale CodeWarrior Gigabit TAP problem

1,294 Views
danieleby
Contributor I

We have a failure on a Gigabit TAP. When trying to connect to a P4080 target, we see the message:

CCSProtocolPlugin : CCS: Network timeout

For this TAP, the network timeout also occurs when running 'source IDcode.tcl' from the CCS. It is possible to ping the TAP and to connect over telnet, and the CCS was able to reprogram the TAP firmware successfully (which didn't fix it, by the way, or I wouldn't be posting this). Multiple other TAPs configured with the same static network settings (plugged in at different times, of course) can connect to the target board successfully.

The connection being tested (though this probably isn't important) is a JTAG connection using the COP/JTAG adapter. The adapter itself was tested on another Gigabit TAP and worked fine.

Labels (1)
0 Kudos
5 Replies

591 Views
addiyi
NXP Employee
NXP Employee

Could you try to set in ccs a large network timeout using ccs command: config networktimeout <seconds>?

Adrian

0 Kudos

591 Views
danieleby
Contributor I

After setting config networktimeout 20, I still saw the message "CC communications timeout" in the CCS when trying to run IDcode.tcl.

0 Kudos

591 Views
addiyi
NXP Employee
NXP Employee

Could you please provide a verbose ccs log (log v and show com), when running idcode.

Adrian

0 Kudos

591 Views
danieleby
Contributor I

Here is the log. (Sorry for not attaching it: I can't figure out how to attach files easily here...)

loading history file ... 10 events added
CodeWarrior Connection Server console display active (Tcl8.4.12 / Tk8.4.12)
Loading CCSAPI Tcl interface (C:/Program Files (x86)/Freescale/CW PA v10.3/PA/ccs/bin/ccstcl.dll)...
Loading Svfburner (C:/Program Files (x86)/Freescale/CW PA v10.3/PA/ccs/bin/svfburner.dll)...
CCS: trnbo_sync.tcl is sourced into [::rnbo_sync] namespace
CCS: trnbo_mcore.tcl is sourced into [::rnbo_mcore] namespace
CCS: trnbo_sc140.tcl is sourced into [::rnbo_sc140] namespace
CCS: trnbo_ipcm.tcl is sourced into [::rnbo_ipcm] namespace
CCS: tsc140.tcl is sourced into [::sc140] namespace
CCS: thawkv2.tcl is sourced into [::hawkv2] namespace
CCS: tdsp563.tcl is sourced into [::dsp563] namespace
CCS: tdsp566.tcl is sourced into [::dsp566] namespace
CCS: tdsp568.tcl is sourced into [::dsp568] namespace
CCS: tmsc8102_sync.tcl is sourced into [::msc8102_sync] namespace
CCS: tmsc8102_sc140.tcl is sourced into [::msc8102_sc140] namespace
CCS: tms116.tcl is sourced into [::ms116] namespace
CCS: todyssey_sync.tcl is sourced into [::odyssey_sync] namespace
CCS: todyssey_ms1162.tcl is sourced into [::odyssey_ms1162] namespace
CCS: tmpc5500_sync.tcl is sourced into [::mpc5500_sync] namespace
CCS: tmpc5500_zen.tcl is sourced into [::mpc5500_zen] namespace
CCS: tmpc5500_npc.tcl is sourced into [::mpc5500_npc] namespace
CCS: tmpc5500_ndedi.tcl is sourced into [::mpc5500_ndedi] namespace
CCS: tmpc5500_nxdm.tcl is sourced into [::mpc5500_nxdm] namespace
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: thawkv2m.tcl is sourced into [::hawkv2m] namespace
CCS: tmpc56xx.tcl is sourced into [::mpc56xx] namespace
CCS: tmpc56xx_npc.tcl is sourced into [::mpc56xx_npc] namespace
CCS: tmpc56xx_netpu.tcl is sourced into [::mpc56xx_netpu] namespace
CCS: tmpc56xx_ndedi.tcl is sourced into [::mpc56xx_ndedi] namespace
CCS: tmpc56xx_nxdm.tcl is sourced into [::mpc56xx_nxdm] namespace
CCS: tmpc56xx_nxss.tcl is sourced into [::mpc56xx_nxss] namespace
CCS: tmpc56xx_nxfr.tcl is sourced into [::mpc56xx_nxfr] namespace
CCS: ttestcore.tcl is sourced into [::testcore] namespace
CCS: thawkv3.tcl is sourced into [::hawkv3] namespace
CCS: txsvf.tcl is sourced into [::xsvf] namespace
CCS: tmsc913xsc.tcl is sourced into [::msc913xsc] 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: tdraco8.tcl is sourced into [::draco8] 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: tarm.tcl is sourced into [::arm] 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: tsjc2.tcl is sourced into [::sjc2] namespace
CCS: tgstat.tcl is sourced into [::gstat] namespace
CCS: te500v5.tcl is sourced into [::e500v5] namespace
CCS: te200z0hn2p.tcl is sourced into [::e200z0hn2p] namespace
CCS: te200z0h.tcl is sourced into [::e200z0h] namespace
CCS: te200z0hn3.tcl is sourced into [::e200z0hn3] namespace
CCS: te200z4.tcl is sourced into [::e200z4] namespace
CCS: te200z7.tcl is sourced into [::e200z7] namespace
CCS: te200z4d.tcl is sourced into [::e200z4d] namespace
CCS: te200z7d.tcl is sourced into [::e200z7d] namespace
CCS: te200z6.tcl is sourced into [::e200z6] namespace
CCS: te200z3.tcl is sourced into [::e200z3] namespace
CCS: tp1010.tcl is sourced into [::p1010] namespace
CCS: tsc3900.tcl is sourced into [::sc3900] namespace
CCS: te6500_thread0.tcl is sourced into [::e6500_thread0] namespace
CCS: te6500_thread1.tcl is sourced into [::e6500_thread1] namespace
CCS: terisc.tcl is sourced into [::erisc] namespace
CCS: tvspa.tcl is sourced into [::vspa] namespace
CCS: tstapl.tcl is sourced into [::stapl] namespace
CCS: autoexec.tcl is sourced into [::] namespace
There are no command converters configured
Server listening on port: 41475
Clients allowed from all hosts
No clients denied
(bin) 11 % log v
CCS Windows Release Build 363p0
verbose logging
(bin) 12 % show com
Show commands turned on (CCS Windows Release Build 363p0)
(bin) 13 % source IDcode.tcl
Scanning for available TAPs connected via USB.....
No TAPs found connected via USB
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+      Available Remote Connections
+
+   1 -  CodeWarriorTAP  -  
+   2 -  EthernetTAP  -  
+   3 -  GigabitTAP  -  
+
+   x  - Exit Script without Changes
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Specify connection:
3
Specify IP Address
192.168.1.14
Configuring TAP Interface....
Received  CMD_AVAILABLE_CONNECTIONS
command done - Ok
Received  CMD_SETUP_CC.CC = gtap:192.168.1.14
command done - Ok
Configured Connection: gtap : 192.168.1.14
Received  CMD_CONFIG_CHAIN. count = 1
    core 0: test core
Received  CMD_CC_VERSION
VERSION: BL v1.0.0
VERSION: OS v1.0.3
Gigabit TAP Boot Loader version 1.0.0
Gigabit TAP OS version 1.0.3
Sending code to Gigabit TAP.........done
runme.sh
ccs
ccs/bin
ccs/bin/libtmsc8144.so
ccs/bin/tmsc8144sc.tcl
ccs/bin/tmsc8144tp.tcl
ccs/bin/libtmsc815x.so
ccs/bin/tmsc815xsc.tcl
ccs/bin/libtmsc913x.so
ccs/bin/tmsc913xsc.tcl
ccs/bin/ccstcl.so
ccs/bin/ccsapi.tcl
ccs/bin/libICache745xUtils.so
ccs/bin/libtsvf.so
ccs/bin/libtxsvf.so
ccs/bin/txsvf.tcl
ccs/bin/libtstapl.so
ccs/bin/tstapl.tcl
ccs/bin/libtqerisc.so
ccs/bin/libterisc.so
ccs/bin/terisc.tcl
ccs/bin/libtsc140.so
ccs/bin/tsc140.tcl
ccs/bin/libtzassc.so
ccs/bin/libtmxcsc.so
ccs/bin/tmxcsc.tcl
ccs/bin/libtmsc8102.so
ccs/bin/tmsc8102_sc140.tcl
ccs/bin/tmsc8102_sync.tcl
ccs/bin/libtrnbo.so
ccs/bin/trnbo_sc140.tcl
ccs/bin/trnbo_ipcm.tcl
ccs/bin/trnbo_mcore.tcl
ccs/bin/trnbo_sync.tcl
ccs/bin/autoexec.tcl
ccs/bin/linkbp.tcl
ccs/bin/nexus.tcl
ccs/bin/periph.tcl
ccs/bin/periph.dat
ccs/bin/pbase.dat
ccs/bin/rnbo.tcl
ccs/bin/rnbo_sc140.cfg
ccs/bin/libthawkv2.so
ccs/bin/thawkv2.tcl
ccs/bin/thawkv2m.tcl
ccs/bin/thawkv3.tcl
ccs/bin/libtdsp568.so
ccs/bin/tdsp568.tcl
ccs/bin/libtdsp563.so
ccs/bin/tdsp563.tcl
ccs/bin/libtdsp566.so
ccs/bin/tdsp566.tcl
ccs/bin/libtarm.so
ccs/bin/tarm.tcl
ccs/bin/libtcoldfire.so
ccs/bin/tcoldfire.tcl
ccs/bin/libtms116.so
ccs/bin/tms116.tcl
ccs/bin/libtsdma.so
ccs/bin/tsdma.tcl
ccs/bin/libtmpc5500.so
ccs/bin/tmpc5500_sync.tcl
ccs/bin/tmpc5500_zen.tcl
ccs/bin/tmpc5500_ndedi.tcl
ccs/bin/tmpc5500_etpu.tcl
ccs/bin/tmpc5500_npc.tcl
ccs/bin/tmpc5500_nxdm.tcl
ccs/bin/cuhd.tcl
ccs/bin/libtodyssey.so
ccs/bin/todyssey_ms1162.tcl
ccs/bin/todyssey_sync.tcl
ccs/bin/libtmpc8641.so
ccs/bin/tmpc8641.tcl
ccs/bin/libtp4080.so
ccs/bin/te500mc.tcl
ccs/bin/libtp5020.so
ccs/bin/te500v5.tcl
ccs/bin/libtsoc8572.so
ccs/bin/libtt4amp.so
ccs/bin/te6500_thread0.tcl
ccs/bin/te6500_thread1.tcl
ccs/bin/tsc3900.tcl
ccs/bin/libtmpc8610.so
ccs/bin/libtmpc5121.so
ccs/bin/libtzas.so
ccs/bin/tzas.tcl
ccs/bin/tmxc_sdma_filter.tcl
ccs/bin/tmxc_zassc_filter.tcl
ccs/bin/libtskyeplus.so
ccs/bin/tskyeplus.tcl
ccs/bin/libtmarley.so
ccs/bin/libtmxc2.so
ccs/bin/libtskyedpa.so
ccs/bin/libtskyeslim.so
ccs/bin/libtmxc91314.so
ccs/bin/libtsjc2.so
ccs/bin/tsjc2.tcl
ccs/bin/libtgstat.so
ccs/bin/tgstat.tcl
ccs/bin/libtkeystone.so
ccs/bin/libtmpc8572.so
ccs/bin/libtmpc913x.so
ccs/bin/libthv2soc.so
ccs/bin/libtmpc56xx.so
ccs/bin/tmpc56xx.tcl
ccs/bin/te200z0h.tcl
ccs/bin/te200z0hn2p.tcl
ccs/bin/te200z0hn3.tcl
ccs/bin/te200z4d.tcl
ccs/bin/te200z7.tcl
ccs/bin/te200z4.tcl
ccs/bin/te200z7d.tcl
ccs/bin/te200z6.tcl
ccs/bin/te200z3.tcl
ccs/bin/tmpc56xx_npc.tcl
ccs/bin/tmpc56xx_nxdm.tcl
ccs/bin/tmpc56xx_nxss.tcl
ccs/bin/tmpc56xx_nxfr.tcl
ccs/bin/tmpc56xx_netpu.tcl
ccs/bin/tmpc56xx_ndedi.tcl
ccs/bin/libttestcore.so
ccs/bin/ttestcore.tcl
ccs/bin/libtj2i2cs.so
ccs/bin/libtdfe.so
ccs/bin/tvspa.tcl
ccs/bin/libtmpc83xx.so
ccs/bin/libtmpc603e.so
ccs/bin/libtmpc603ei.so
ccs/bin/libtmpc74x7.so
ccs/bin/libtmpc7447a.so
ccs/bin/libtmpc7410.so
ccs/bin/libtmgt5200.so
ccs/bin/libte500.so
ccs/bin/libtj2i2c.so
ccs/bin/libtj2i2cv2.so
ccs/bin/libtdraco8.so
ccs/bin/libtarm11.so
ccs/bin/libtsjc.so
ccs/bin/libtmpc755.so
ccs/bin/libtmpc7448.so
ccs/bin/libtsap.so
ccs/bin/libtmsc8144tp.so
ccs/bin/libtmpc8641core.so
ccs/bin/libtmpc8641sap.so
ccs/bin/libtarmetb.so
ccs/bin/libtaxe.so
ccs/bin/libtmpc8610core.so
ccs/bin/libtmpc8610sap.so
ccs/bin/libtcortex_a8.so
ccs/bin/libtmpc866.so
ccs/bin/tmpc83xx.tcl
ccs/bin/tmpc603e.tcl
ccs/bin/tmpc603ei.tcl
ccs/bin/tmpc74x7.tcl
ccs/bin/tmpc7447a.tcl
ccs/bin/tmpc7410.tcl
ccs/bin/te500.tcl
ccs/bin/tj2i2c.tcl
ccs/bin/tj2i2cv2.tcl
ccs/bin/tarm11.tcl
ccs/bin/tsjc.tcl
ccs/bin/tmpc755.tcl
ccs/bin/tmpc7448.tcl
ccs/bin/tarmetb.tcl
ccs/bin/tcortex_a8.tcl
ccs/bin/tdraco8.tcl
ccs/bin/tp1010.tcl
ccs/bin/libtsimulator.so
ccs/bin/aurora_x1x1.xsvf.gz
ccs/bin/ccs
ccs/bin/aurora_x2x2.xsvf.gz
ccs/bin/etap_arm.xsvf.gz
ccs/bin/ccs.cfg
ccs/bin/etap_cop.xsvf.gz
ccs/bin/coreprompt
ccs/bin/coreprompt/ccs
ccs/bin/coreprompt/gdbproxy
ccs/bin/coreprompt/tgreset
ccs/bin/dcu
ccs/bin/etap_once.xsvf.gz
ccs/bin/lvds_jtag.xsvf.gz
ccs/bin/rc.ccs
ccs/bin/simjtag.so
ccs/bin/verilog.so
ccs/bin/wyverndriver.so
ccs/bin/ccsnogfx.tcl
ccs/bin/configTAP.tcl
ccs/bin/DefinedCCSConnections.tcl
ccs/bin/IDcode.tcl
ccs/bin/gdbproxy
ccs/bin/device_table.csv
ccs/bin/e500mc_regs.csv
ccs/bin/e500v2_regs.csv
ccs/bin/e6500_regs.csv
ccs/lib
ccs/lib/tcl8.4
ccs/lib/tcl8.4/auto.tcl
ccs/lib/tcl8.4/history.tcl
ccs/lib/tcl8.4/init.tcl
ccs/lib/tcl8.4/ldAout.tcl
ccs/lib/tcl8.4/package.tcl
ccs/lib/tcl8.4/parray.tcl
ccs/lib/tcl8.4/safe.tcl
ccs/lib/tcl8.4/tclIndex
ccs/lib/tcl8.4/word.tcl
ccs/doc
ccs/doc/antlr.txt
ccs/doc/readme.txt
ccs/doc/tcltk.txt
ccs/doc/tkcon.txt
ccs/doc/build.txt
ccs/drivers
INFO: Running package script
killall: gdbproxy: no process killed
Remote proxy for GDB, v0.7.2+ccs, Copyright (C) 1999 Quality Quorum Inc.
MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
Blackfin adaption Copyright (C) 2008-2010 Analog Devices, Inc.
CCS adaption Copyright (C) 2012 Freescale Semiconductor, Inc.
GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
use `--warranty' option. This is Open Source software. You are
welcome to redistribute it under certain conditions. Use the
'--copying' option for details.
Remote proxy for GDB, v0.7.2+ccs, Copyright (C) 1999 Quality Quorum Inc.
MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
Blackfin adaption Copyright (C) 2008-2010 Analog Devices, Inc.
CCS adaption Copyright (C) 2012 Freescale Semiconductor, Inc.
GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
use `--warranty' option. This is Open Source software. You are
welcome to redistribute it under certain conditions. Use the
'--copying' option for details.
INFO: runme.sh 0
nhti command done - CC communications timeout
nhti command done - CC communications timeout
nhti command done - CC communications timeout
CC communications timeout
0 Kudos

591 Views
addiyi
NXP Employee
NXP Employee

Daniel,

Please try the following steps and provide the output:

1. in ccs force firmware and os update using: updategtap --force <hostname>

2. after update completed, open a telnet to gtap and issue shell commmand

3. in gtap linux console check if ccs application is open (ps | grep ccs)

4. kill ccs

5. try again IDcode

Adrian

0 Kudos