我在2410下面加DM9000驱动,以下是初始化信息
bank 3 ; 外部中断14 ,
希望前辈看下 , 现在ID能够读出,但是不能ping通...
ilevel = 14 这是外部中断号
ivec = 5 这代表ENIT_5_23
以上这2个设置的正确么???
0x33fffe68 (tRootTask): DM9000 loading Now...
0x33fffe68 (tRootTask): sysEtherEndLoad: DM9000 Device Name String is 0...
0x33fffe68 (tRootTask): DM9000 loading Now...
0x33fffe68 (tRootTask): dm9000Parse: unit = 0
0x33fffe68 (tRootTask): dm9000Parse: IOBase = 20000000
0x33fffe68 (tRootTask): dm9000Parse: ilevel = 14
0x33fffe68 (tRootTask): dm9000Parse: ivec = 5
0x33fffe68 (tRootTask): 0
0x33fffe68 (tRootTask): 13
0x33fffe68 (tRootTask): f6
0x33fffe68 (tRootTask): 6c
0x33fffe68 (tRootTask): 87
0x33fffe68 (tRootTask): 90
0x33fffe68 (tRootTask): dm9000Chack: DM9000PID: 0x90000a46
0x33fffe68 (tRootTask): dm9000MemInit: Memory setup complete!
GX find dev-> op_mode is 5
set_PHY_mode: set DM9000_100MFD.
0x33fffe68 (tRootTask): set_PHY_mode()
set_PHY_mode__________end!0x33fffe68 (
Press any key to stop auto-boot...
7
6
5
4
3
2
1
0
auto-booting...
boot device : dmf
unit number : 0
processor number : 0
host name : host
file name : vxWorks
inet on ethernet (e) : 192.168.1.8:ffffff00
host inet (h) : 192.168.1.83
gateway inet (g) : 192.168.1.1
user (u) : gx
ftp password (pw) : gx
flags (f) : 0x0
target name (tn) : vxWorks
other (o) : dmf
Attached TCP/IP interface to dmf0.
0x33fa1dcc (tBoot): dm9000Config() Setting promiscuous mode off!
Attaching network interface lo0... done.
Loading...
我的dm9000中断连接在 GPG6/EINT14
我在dm9000Start 调用的函数 s3cExtIntPinEnable 中写入如下代码,初始化中断:
LOCAL void s3cExtIntPinEnable (void)
{
r_BWSCON=r_BWSCON|(2 < <12)|(1 < <14)|(1 < <15); /*rework by kw.gx bank3*/