Mark Vermeulen
|
Re: Debug over serial in momentics
|
Mark Vermeulen
09/21/2009 7:11 AM
post38395
|
Re: Debug over serial in momentics
I also got a problem trying to debug over serial.
I'm using QNX 6.2.1 on a windows 2000 host and a ppc 800 as target.
On the target i've got 2 serial ports. \dev\ser1 is used for console the other one for serial debugging. I start pdebug
as: pdebug \dev\ser2,115200 &
I start debugging on serial port COM2 on 115200.
Exception occured while launching configuration. See log for more information
Reason: Failed Launching Serial Debugger: Error initializing: Timedout
After that i have to restart momentics because else i get an permission denied error.
I am sure the serial connection is correct. When using a serial port monitor i see the following (didn't paste the
complete connection) :
// Cut some communication.
Answer: 2009-09-21 13:06:35.63864 (+0.0000 seconds)
7E A3 00 02 01 40 00 00 00 00 00 00 00 00 00 00 ~£...@..........
00 00 00 00 00 19 7E ......~
Request: 2009-09-21 13:06:35.65364 (+0.0156 seconds)
7E 8F 00 03 01 00 00 03 01 00 00 01 FF 2F 74 6D ~..........ÿ/tm
70 2F 68 65 6C 6C 6F 77 6F 72 6C 64 5F 67 00 00 p/helloworld_g..
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
// cut more 000
00 00 00 00 00 00 00 00 00 00 00 00 00 B7 7E .............·~
Answer: 2009-09-21 13:06:36.93564 (+0.0313 seconds)
7E A3 00 03 01 00 00 00 00 58 7E ~£.......X~
Request: 2009-09-21 13:06:36.93564 (+0.0000 seconds)
7E 91 00 04 01 7F 45 4C 46 01 02 01 00 00 00 00 ~...ELF.......
00 00 00 00 00 00 02 00 14 00 00 00 01 48 04 59 .............H.Y
//cut more data.
The information in the log file from QNX is:
!SESSION Sep 21, 2009 12:58:30.827 ---------------------------------------------
java.version=1.3.1_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.qnx.tools.ide -install file:C:/QNXsdk/host/win32/x86/
usr/qde/eclipse/
!ENTRY org.eclipse.debug.ui 4 120 Sep 21, 2009 12:58:30.827
!MESSAGE Error logged from Debug UI:
!STACK 1
org.eclipse.core.runtime.CoreException[150]: org.eclipse.cdt.debug.core.cdi.CDIException: Error initializing: Timedout
at com.qnx.tools.ide.qde.debug.internal.core.CGDBDebugger.createSerialLaunchSession(CGDBDebugger.java:197)
at com.qnx.tools.ide.qde.debug.core.QDEDebugCorePlugin.getSerialLaunchSession(QDEDebugCorePlugin.java:84)
at com.qnx.tools.ide.qde.internal.ui.launch.SerialLaunchConfigurationDelegate.launch(SerialLaunchConfigurationDelegate.
java:69)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:136)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog$10.run(LaunchConfigurationDialog.java:
2299)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
!ENTRY com.qnx.tools.ide.qde.ui 4 150 Sep 21, 2009 12:58:30.827
!MESSAGE Failed Launching Serial Debugger : Error initializing: Timedout
!STACK 0
org.eclipse.cdt.debug.core.cdi.CDIException: Error initializing: Timedout
at com.qnx.tools.ide.qde.debug.internal.core.CGDBDebugger.createSerialLaunchSession(CGDBDebugger.java:197)
at com.qnx.tools.ide.qde.debug.core.QDEDebugCorePlugin.getSerialLaunchSession(QDEDebugCorePlugin.java:84)
at com.qnx.tools.ide.qde.internal.ui.launch.SerialLaunchConfigurationDelegate.launch(SerialLaunchConfigurationDelegate.
java:69)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:136)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog$10.run(LaunchConfigurationDialog.java:
2299)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
|
|
|