CW v5.9.0 MPC8313 - IDE exits just after connecting to target board

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

CW v5.9.0 MPC8313 - IDE exits just after connecting to target board

1,480 Views
JimChar
Contributor I

I connect target hardware via USB TAP

I launch CW and open a place holder project.

I select Debug>Connect

I see a progress dialog about connecting.

I see the debug window open (as well as a register contents window).

A few seconds after these windows open, CW closes itself, no error message is displayed.

CodeWarrior Connection Server window stays open and contains:

 

loading history file ... 0 events added
CodeWarrior Connection Server console display active (Tcl8.4.6 / Tk8.4.6)
Loading CCSAPI Tcl interface (/usr/local/Freescale/EPPC_8.8/CodeWarriorIDE/CodeWarrior/CodeWarrior_Plugins/Debuggers/Protocols/../../../../ccs/bin/ccstcl.so)...
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: 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
Server listening on port: none
Clients accepted from all hosts
Server listening on port: 41475
CCSAPI connection #1 accepted from localhost at Tue Nov 10 10:59:12 2009
CCSAPI connection #1 from localhost closed at Tue Nov 10 10:59:13 2009
CCSAPI connection #1 accepted from localhost at Tue Nov 10 11:23:37 2009
CCSAPI connection #1 from localhost closed at Tue Nov 10 11:23:39 2009
(bin) 1 % 

 

1) Where do I find more recent versions of Codewarrior to download to update my copy (I need a URL)?

2) This same process worked yesterday (I was able to single step through the code I saw in the debug window) and I know of no difference since then. What could be causing CW to close?

 

Thanks

Jim 

Labels (1)
0 Kudos
Reply
3 Replies

573 Views
ronco
NXP Employee
NXP Employee

I agree, that is mysterious.  I can't explain why the whole CodeWarrior IDE just disappears.  Do you see any files in your /usr/local/Freescale/EPPC_8.8/CodeWarriorIDE directory that look like .dump files?  If so, start a new Service Request from your "My Freescale" page (at www.freescale.com), report this problem and include those files.

 

Meanwhile there might be a clue in the CCS Console.  Next time, double-click on /usr/local/Freescale/EPPC_8.8/CodeWarriorIDE/ccs/bin/ccs  to launch the CCS Console before starting the CodeWarrior debugger, then at the Console prompt enter "show com" to enable expanded diagnostic messages.  Now start your debug session.  Maybe the CCS Console will tell us something.

 

Another approach is to limit what your code does when the debugger starts.  Edit your project's "Debugger Settings" panel and enable the 'stop on application launch' option, then start the debugger.  Similarly, do a Debug->Connect to start a debug session without downloading any code.

 

Finally, you can determine the revision of your CodeWarrior software by looking in the

/usr/local/Freescale/EPPC_8.8/CodeWarriorIDE/CodeWarrior/CodeWarrior_Plugins/Support/Products  directory.   The "v5.9.0" version number you provided is for the CodeWarrior IDE only, not for the whole CodeWarrior PA installation.  I hope this helps.

 

Regards,

Ron

0 Kudos
Reply

573 Views
JimChar
Contributor I

I forgot to mention, I have Codewarrior for Linux, Platform Edition (I think that's what its called; I can develop Kernel Modules).

 

The CW IDE is v5.9.0, the real version number appears to be 8.8. 

0 Kudos
Reply

573 Views
JimChar
Contributor I
I forgot to mention, I have Codewarrior for Linux, Platform Edition (I think that's what its called; I can develop Kernel Modules).
0 Kudos
Reply