LPCXpresso:Error........slect failed SocketException

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPCXpresso:Error........slect failed SocketException

981 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fatshark on Tue Feb 28 07:25:06 MST 2012
HI~~~~I need help~~~~
I got a LPCXpresso_LPC1114_REV_A yesterday,tried 'blinky',but couldn't get into DEBUG.

Console:
set remotetimeout 60000
set mem inaccessible-by-default off
mon ondisconnect cont

I also tried ISP,still as it was.

'Program/Erase flash memory' works well,after programing the 'blinky.axf' and power_down/power_on, LED2 do blink at about 2hz.



f:\nxp\LPCXpresso_4.1.5_219\lpcxpresso\bin>crt_emu_lpc11_13_nxp -info-target -p
LPC1114/301 -wire=hid -4
Ea: Missing chip/board name for -p: -p
f:\nxp\LPCXpresso_4.1.5_219\lpcxpresso\bin>crt_emu_lpc11_13_nxp -info-target -pL
PC1114/301 -wire=hid -4
Ni: LPCXpresso Debug Driver v4.0 (Dec  9 2011 09:48:31)
Nc: Looked for chip XML file in F:/nxp/LPCXpresso_4.1.5_219/lpcxpresso/bin/LPC11
14/301.xml
Nc: Looked for vendor directory XML file in F:/nxp/LPCXpresso_4.1.5_219/lpcxpres
so/bin/nxp_directory.xml
Nc: Found generic directory XML file in F:/nxp/LPCXpresso_4.1.5_219/lpcxpresso/b
in/crt_directory.xml
Xs:
Nc: Emu(0): Conn&Reset. DpID:  BB11477. Info: T1S6RGRIA
Nc: SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0  Poll delay: 0.
Xc:
Nc: NXP: LPC1114/301  Part ID: 0x0444102B
Chip=LPC1114/301, from NXP (formerly Philips), in family LPC11xx, version=unknow
n
Chip Description: NXP LPC1114/301
ClockFreq=48.0MHz (Accurate). Clock can be changed after reset.
System reset doesn't cause power cycle. Last reset cause(s):  Power
Does have Flash and is programmable. 128M pop Mask: 0001
Mem MFlash32 of type Flash from 0000 for 32768 bytes. RO
Mem RamLoc8 of type RAM from 10000000 for 8192 bytes.
PrgFlash from 0000 to 8000 (32768 bytes). 1 Variable sized page rules (8 4K)
  'Word' width: 4. Cannot read after programming starts
Peripheral PMU at 0x40038000, size=24. Is part of Chip
  Power management Unit
Peripheral UART0 at 0x40008000, size=85. Is part of Chip
  UART
Peripheral WDT at 0x40004000, size=20. Is part of Chip
  Watchdog Timer
Peripheral TMR161 at 0x40010000, size=128. Is part of Chip
  Timer16
Peripheral TMR160 at 0x4000C000, size=128. Is part of Chip
  Timer16
Peripheral I2C0 at 0x40000000, size=64. Is part of Chip
  I2C Interface
Peripheral ADC at 0x4001C000, size=56. Is part of Chip
  Analog to Digital Converter
Peripheral SSP1 at 0x40058000, size=40. Is part of Chip
  SPI Interface
Peripheral SSP0 at 0x40040000, size=40. Is part of Chip
  SPI Interface
Peripheral TIMER1 at 0x40018000, size=120. Is part of Chip
  Timer
Peripheral TIMER0 at 0x40014000, size=120. Is part of Chip
  Timer
Peripheral IOCON at 0x40044000, size=176. Is part of Chip
  IO Configuration Block
Peripheral GPIO3 at 0x50030000, size=49176. Is part of Chip
  GPIO
Peripheral GPIO2 at 0x50020000, size=49176. Is part of Chip
  GPIO
Peripheral GPIO1 at 0x50010000, size=49176. Is part of Chip
  GPIO
Peripheral GPIO0 at 0x50000000, size=49176. Is part of Chip
  GPIO
Peripheral SYSCTL at 0x40048000, size=1016. Is part of Chip
  System control block
Peripheral NVIC at 0xE000E000, size=3380. Is part of Chip
  NVIC CM0 Control/Status Regsiters
Peripheral DCR at 0xE000EDF0, size=16. Is part of Chip
  M0 Debug Core Registers
<link href="file:///F:/nxp/LPCXpresso_4.1.5_219/lpcxpresso/bin/nxp_lpc11_13_per
ipheral.xme" type="simple" show="embed" />
CPUID=0x410CC200, Little-Endian. Name=CM0, Chip=LPC1114/301,
CpuNum=0, Rev=0.0, MaxInts=32, SysTickCal=752FF
State is: Stopped (stop cause: Step)
Emulator support: 'Code Red HID emulator support for Cortex-M3', version: 2.0
Connected to emu0: 'T1S6RGRIA'
Connection state: ConnAndReset. DP ID=BB11477. Sticky=10
Speed=1. Frequency=3000KHz. Packet delay=0, Poll delay=0. Info from speed test.
Retries=0. Since last Info request: 0
AP is_sel=SEL. AP rel idx=0 for ID=4770021
ROM table @E00FF003. Debug is OK. Bank=0, CtrlBase=23000000
0 devices:
0 项奖励
回复
4 回复数

924 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fatshark on Thu Mar 01 05:17:44 MST 2012
!SESSION 2012-03-01 19:56:18.178 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2012-03-01 19:56:24.071
!MESSAGE Unable to find view with id: com.crt.trueview.views.DisassemblyViewer, when creating perspective com.crt.lite.perspective.CRTPerspective
!SESSION 2012-03-01 19:57:57.759 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.cdt.core 1 0 2012-03-01 19:58:26.042
!MESSAGE Indexed 'blinky' (20 sources, 32 headers) in 0.78 sec: 847 declarations; 2,163 references; 5 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)
!ENTRY com.crt.log 1 0 2012-03-01 20:00:40.464
!MESSAGE Drivers loaded in 1840 milliseconds
!ENTRY com.crt.debugcommon 4 -1 2012-03-01 20:00:41.810
!MESSAGE select failed
!STACK 0
java.net.SocketException: select failed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at com.crt.debugcommon.stub.StubServer.dispatcher(StubServer.java:158)
at com.crt.debugcommon.stub.StubServer$1.run(StubServer.java:326)
at java.lang.Thread.run(Unknown Source)
!ENTRY LPCXpresso 4 -1 2012-03-01 20:00:41.811
!MESSAGE select failed
SocketException
!ENTRY com.crt.debugmgr 4 4 2012-03-01 20:04:30.569
!MESSAGE Timeout waiting for mon ondisconnect cont
!STACK 0
java.lang.Exception: Timeout waiting for mon ondisconnect cont
at com.crt.debugmgr.mi.CommandHandler.postCommand(CommandHandler.java:556)
at com.crt.debugmgr.mi.CommandHandler.postCommand(CommandHandler.java:468)
at com.crt.debugmgr.mi.CRTDebugManager.postCommand(CRTDebugManager.java:856)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.executeGDBcommand(CRTMCUDebugger.java:556)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.executeStartupScript(CRTMCUDebugger.java:675)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.doStartSession(CRTMCUDebugger.java:516)
at org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createSession(AbstractGDBCDIDebugger.java:84)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.createSession(CRTMCUDebugger.java:436)
at com.crt.ctrlcenter.launch.CRTMCULaunchConfigurationDelegate.syncLaunch(CRTMCULaunchConfigurationDelegate.java:256)
at com.crt.ctrlcenter.launch.CRTMCULaunchConfigurationDelegate.launch(CRTMCULaunchConfigurationDelegate.java:194)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:924)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 com.crt.debugmgr 4 0 2012-03-01 20:04:30.569
!MESSAGE
!ENTRY com.crt.debugmgr 4 4 2012-03-01 20:09:35.677
!MESSAGE Timeout waiting for mon ondisconnect cont
!STACK 0
java.lang.Exception: Timeout waiting for mon ondisconnect cont
at com.crt.debugmgr.mi.CommandHandler.postCommand(CommandHandler.java:556)
at com.crt.debugmgr.mi.CommandHandler.postCommand(CommandHandler.java:468)
at com.crt.debugmgr.mi.CRTDebugManager.postCommand(CRTDebugManager.java:856)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.executeGDBcommand(CRTMCUDebugger.java:556)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.executeStartupScript(CRTMCUDebugger.java:675)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.doStartSession(CRTMCUDebugger.java:516)
at org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createSession(AbstractGDBCDIDebugger.java:84)
at com.crt.ctrlcenter.launch.CRTMCUDebugger.createSession(CRTMCUDebugger.java:436)
at com.crt.ctrlcenter.launch.CRTMCULaunchConfigurationDelegate.syncLaunch(CRTMCULaunchConfigurationDelegate.java:256)
at com.crt.ctrlcenter.launch.CRTMCULaunchConfigurationDelegate.launch(CRTMCULaunchConfigurationDelegate.java:194)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:924)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 com.crt.debugmgr 4 0 2012-03-01 20:09:35.677
!MESSAGE
0 项奖励
回复

924 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Feb 29 13:16:49 MST 2012
Can you please zip and post you logfile
<workspace>/.metadata/.log

This might have some clues as to what is wrong with your windows configuration.
0 项奖励
回复

924 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fatshark on Wed Feb 29 05:23:42 MST 2012
Firewall is down now,still 'SocketException'.......
0 项奖励
回复

924 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Feb 28 07:28:58 MST 2012
I think that is a firewall problem - it looks like your firewall is preventing the debugger connecting to the target (it is using sockets).
0 项奖励
回复