最近发现一个很奇怪的问题:在使用DNW烧写系统时,先将xip.nb0烧写进去,然后烧写eboot.nb0.但此时系统会自动重启并且加载的还是之前的xip.nb0
初步分析发现eboot下的BootloaderMain();函数根本就没被执行
如下是异常时和成功时的串口信息:
1.异常情况
###### Select Menu ######
[0] Download & Run
[1] Download Only
[2] Test SDRAM
[3] Change The Console UART Ch.
[4] Clear unused area in SDRAM
Download Only is selected.
Enter temporary download address,if not input,Defualt=0x32001000
Enter temporary download address:
The temporary download address is 0x32001000.
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:32001000h,TOTAL:30408714]
RECEIVED FILE SIZE:30408714
(919.8KB/S,33.1S)
Download O.K.
###### Select Menu ######
[0] Download & Run
[1] Download Only
[2] Test SDRAM
[3] Change The Console UART Ch.
[4] Clear unused area in SDRAM
Download&Run is selected.
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30038000h,TOTAL:262154]
RECEIVED FILE SIZE: 262154
(879.9KB/S,0.3S)
Download O.K.
2.正常情况
###### Select Menu ######
[0] Download & Run
[1] Download Only
[2] Test SDRAM
[3] Change The Console UART Ch.
[4] Clear unused area in SDRAM
Download Only is selected.
Enter temporary download address,if not input,Defualt=0x32001000
Enter temporary download address:
The temporary download address is 0x32001000.
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:32001000h,TOTAL:30408714]
RECEIVED FILE SIZE:30408714
(926.3KB/S,32.8S)
Download O.K.
###### Select Menu ######
[0] Download & Run
[1] Download Only
[2] Test SDRAM
[3] Change The Console UART Ch.
[4] Clear unused area in SDRAM
Download&Run is selected.
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30038000h,TOTAL:262154]
RECEIVED FILE SIZE: 262154
(884.0KB/S,0.3S)
Download O.K.
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Sep 30 2007 16:01:20
Microsoft Windows CE Bootloader for the QT2440 Version 2.4 Built Sep 3 seconds.
Ethernet Boot Loader Configuration:
0) IP address: 0.0.0.0
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 5 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Enabled
7) Program CS8900 MAC address (00:00:00:00:00:00)
8) Kernel Debugger: ENABLED
9) Format Boot Media for BinFS
A) Mark bootloader sectors as reserved
F) Low-level format the Smart Media card
D) Download image now
L) LAUNCH existing Boot Media image
R) Read Configuration
W) Write Configuration Right Now
X) FS1610 PMIC Menu