请问大家,我通过Ethernet下载Debug Image到开发板上,当Attach Device之后的进度条完成后,开发板就自动重启了,这是什么原因呢?
开发板板载2个网卡,我用的8139C来下载的镜像。
Build Options选项是:
Enable eboot space in memory;
Enable kernel debugger;
Enable KITL;
Run-time image can be large than 32MB;(选择这个是因为我build的镜像50多MB)
Connctivity Options选择是:
Download&&Transport: Ethernet;
Debugger:KdStub.
Output窗口的信息显示
PB Debugger Kernel debugger connected.4294767354 PID:400002 TID:410002 OSAXST0: Platform Name = CEPC
4294767358 PID:400002 TID:410002 OSAXST1: >>> Loading Module 'kd.dll' (0x9BFD86A0) at address 0xC0010000-0xC003E000 in Process 'NK.EXE' (0x83BE9C80)
4294767376 PID:400002 TID:410002 KD: Starting kernel debugger software probe (KdStub) - KD API version 22
4294767386 PID:400002 TID:410002 Calling KDEnableInt (FALSE, NULL) without previously calling KDEnableInt (FALSE, p)
4294767396 PID:400002 TID:410002 OSAXST1: >>> Loading Module 'NK.EXE' (0x83BE9C80) at address 0x80220000-0x8023A000 in Process 'NK.EXE' (0x83BE9C80)
PB Debugger The Kernel Debugger connection has been established (Target CPU is X86).
PB Debugger Target name: CE Device
PB Debugger Probe name: KdStub
PB Debugger Binary Image should be loaded at 0x80220000 / Data relocated at 0x83b91000
但是串口输入到这句时就系统自动重启了:
KITL: Leaving polling mode... 0x83BCD0E0
KITL Checking client registrations
+RegisterClientPart2: Id 0x00000000
KITL Timer thread started, (hTh: 0x00520002, pTh: 0x9BFD8C40)
Closing Handle of Timer Thread
-RegisterClientPart2 returns 1
+RegisterClientPart2: Id 0x00000001
-RegisterClientPart2 returns 1
KITL Creating IST
KITL Interrupt thread started (hTh: 0x005A0002, pTh: 0x9BFB6414), using SYSINTR 16
Enabling adapter ints...
+RTL8139EnableInts()..
-RTL8139EnableInts()..
Reserve KITL IRQ: No IRQ reserved, KITL NIC IRQ may be shared with other devices.
KITL(1): Tossing frame 106 (Can't signal Rx event)
KITL(1): Tossing frame 212 (Can't signal Rx event)
KITL(1): Tossing frame 58 (Can't signal Rx event)
VBridge:: VB_INITIALIZED returns [1]
VBridge:: RESET_BUFFER received.
VBridge:: built on [Feb 23 2009] time [13:04:57]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA3BDD5A0] to [0xA3BE15A0].
Rx buffer [0xA3BE15C0] to [0xA3BE55C0].
|