帮忙看看wince 为什么没有起来

liuchangjun1981   2010-3-16 14:56 楼主
RomBOOT
>By www.mcuzone.com ...
FMD_DirectRead lasted 0 ms for 0x46 bytes (timer granularity is 400)

Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
Initiating image launch in   5 seconds

Ethernet Boot Loader Configuration :

0) Mac address .......... (00:12:72:72:20:20)
1) Ip address ........... (192.168.111.115)
2) Subnet Mask address .. (255.255.255.0)
3) DHCP ................. (Disabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 180, bus divider 2)
6) Download device....... (Ethernet)
7) Debug device.......... (None)
8) Download image to..... (SDRAM)
9) Launch existing flash resident image at startup

l) Launch flash resident image now
d) Download from Ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
>System ready!
Preparing for download...

INFO: Trying to initialize the internal NIC (EMACB)...
pEmac->EMAC_SA1L=  72721200
pEmac->EMAC_SA1H= 2020
Init Emac Ethernet controler
Enter in AT91F_EmacEntry  base = 0xbffbc000
EMACB revision 0x1010c
->Enter in AT91F_EMACInit
Found Phy (DM9161A) at address 0
CONTROL REG : 0x3100
STATUS REG : 0x7869
CONTROL REG : 0x3100
STATUS REG : 0x786d

EMAC Init : 100 Mbit/s FULL DUPLEX (RMII)
EDBG:AT91Init Reading MAC address 0x1200 0x7272 0x2020
INFO: EMACB Ethernet controller initialized.
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Packet has the following data:
  boot.bin[NULL]octet[NULL]
TFTP packet could have 1 name/value pairs
Locked Down Link 1
Src IP 192.168.111.115 Port 03D4   Dest IP 192.168.111.111 Port 0DC2
Default TFTP block size set to: 512 bytes
There were no options detected in the TFTP
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp

BL_IMAGE_TYPE_BIN

XXXXXXXXXXXXXXXXXXXXXXXXXTX underrun, resetting buffers, status = 60
bForceTX
Sent Frame error
XXXXXXXXXXXXTX underrun, resetting buffers, status = 60
bForceTX
Sent Frame error
XXXXXXXXXXXXXXXXXXXXXXXTX underrun, resetting buffers, status = 60
bForceTX
Sent Frame error
XXXXXXXXXXTX underrun, resetting buffers, status = 60
bForceTX
Sent Frame error
XXXXXXXrom_offset=0x0.
XXImageStart = 0x8006C000, ImageLength = 0x5DCCA0, LaunchAddr = 0x8006D000

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x8006C000  Length=0x5DCCA0  Name="" Target=RAM
ROMHDR at Address 8006C044h
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Launching windows CE image by jumping at address 0x2006d000Master Cl-------------------
|PLLA : 199680000 Hz|
|PLLB : 95846400 Hz|
--------------------
Configuring EBI1 CS0 for PSRAM...
Master Clock is 49920000 Hz
OALTimerInit
+OALTimerInit
Master Clock is 49920000 Hz
Test : 0xc30
g_oalTimer.msecPerSysTick : 0x1
g_oalTimer.countsPerMSec : 0xc30
g_oalTimer.countsMargin : 0x0
g_oalTimer.maxPeriodMSec : 0x14f
g_oalTimer.countsPerSysTick : 0xc30
g_oalTimer.actualMSecPerSysTick : 0x1
g_oalTimer.actualCountsPerSysTick : 0xc30
g_oalTimer.curCounts : 0x0
Master Clock is 49920000 Hz
-OALTimerInit
reset : User Reset
pDrvGlobalArea->bEboot == TRUE. Forcing Clean Object store
+OEMPowerManagerInit
-OEMPowerManagerInit
OALKitlStart
Firmware Init Done.
+OEMInitWatchDogTimer
AT91SAM926x_DispWatchDog 8000!
AT91SAM926x_SetWatchDogConfiguration 20000 => 5120
Clipping The Watchdog period to the maximum : 0xFFF (15996 ms)
-OEMInitWatchDogTimer (result = 15996)
Sp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
+OALIoCtlHalInitRTC(...)
-OALIoCtlHalInitRTC(rc = 0)
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
Handle Event:0x63def492, sysintr=0x10Master Clock is 49920000 Hz

回复评论 (5)

这个很难分析。
点赞  2010-3-16 15:02
只能一点点看代码
点赞  2010-3-16 15:24
看起来好像停在OAL那里了,搜搜相关的打印信息看看
点赞  2010-3-16 15:52
好像是OAL的OEMIOCTL 有点问题,楼主好好根据打印信息 跟踪下,
确定具体的流程,以及可能出问题的函数吧
点赞  2010-3-16 16:28
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复