基于Mini2440平台,使用MDK编译出rtthread-mini2440.afx, 然后以MDK+JLink将rtthread-mini2440.afx下载到Mini2440 SDRAM中以Debug方式运行,从串口中经常会打印出下面的信息
| /
- RT - Thread Opera
ting System
/ | 0.4.0 build Aug 11 2011
2006 - 2011 Copyright by rt-thread team
Initialize fail
No Card assertion
sdcard init failed
finsh />File System initialzation failed!
Device File System initialized!
dm9000 id: 0x90000a46
operating at 100M half duplex mode
TCP/IP initialized!
| /
- RT - Thread Operating System
/ | 0.4.0 build Aug 11 2011
2006 - 2011 Copyright by rt-thread team
Initialize fail
No Card assertion
sdcard init failed
finsh />File System initialzation failed!
Device File System initialized!
dm9000 id: 0x0
To initialize device:e0 failed. The error code is -1
TCP/IP initialized!
| /
- RT - Thread Operating System
/ | 0.4.0 build Aug 11 2011
2006 - 2011 Copyright by rt-thread team
Initialize fail
No Card assertion
sdcard init failed
finsh />File System initialzation failed!
Device File System initialized!
dm9000 id: 0x90000a46
could not establish link
TCP/IP initialized!
从串口打印出来的信息来看,DM9000的初始化代码有BUG!可以确认MINI2440上的DM9000芯片是OK的,在MINI2440上运行Linux,网口一直都是很正常的。请问有人碰到这个问题吗?
如何解决呢!我用DNW工具将rtthread-mini2440.bin下载到MINI2440的SDRAM运行也会出现相同的问题。