Other Parts Discussed in Thread: DM3730, TPS65023
Hi.,
I am using Omap3730 and the Lan 9221 on GPMC. I am Using Chip select 3 for my lan and i have configured it. And the Lan e-boot is happening fine. But in the actual driver the hardware initialization is fine succeedded as it is showing the chip id as 9221 and we are using gpio 27(configured as active low) for lan interrupt . once the os download is completed the Gratuitous ARP is coming for both system and the omap device(seen through the Wireshark). once I start sedning ping request the gpio 27 is going low and the in driver code the isr is not being called. and one more thing what i obsevered is if the IRQ pin(gpio27) is configured as active high the ping reply is happening fine but the driver is always in ISR it is looping in ISR routine only. and below is the debug messages(for gpio 27 as active low) what i got... i have highlighted the lan part. please help in this regard as i am stuck in this from so many days.
thanks in advance
Saritha Anireekshith
Hit space to enter configuration menu 5...
Hit space to enter configuration menu 4...
Hit space to enter configuration menu 3...
Hit space to enter configuration menu 2...
Hit space to enter configuration menu 1...
error LCD_HSW out of range
Init HW: controller RST
SDCARD: reqested speed 1000000, actual speed 1000000
SDCARD: reqested speed 25000000, actual speed 19200000
OEMPreDownload(g_eboot.bootDeviceType = 2 = 0)
C:\WINCE600\PLATFORM\COMMON\SRC\SOC\COMMON_TI_V1\COMMON_TI\BOOT\LAN911X\.\lan911x.c line 646: Ethernet chip ID (0x92210000)!
MAC address not found in EEPROM!! using the mac address from the settings
INFO: Boot device uses MAC 20:20:40:30:60:50
INFO: *** Device Name EVM3730-24656 ***
+EbootSendBootmeAndWaitForTftp
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.128.94 Port 03D4 Dest IP 192.168.128.95 Port 0AC9
Default TFTP block size set to: 512 bytes
There were no options detected in the TFTP
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp
OEMPreDownload END
BL_IMAGE_TYPE_BIN
Download file information:
-----------------------------------------------------------
[0]: Address=0x80002000 Length=0x026b48b8 Save=0x80002000
-----------------------------------------------------------
Download file type: 1
..........................................................................................................................................................................................................................................................rom_offset=0x0.
..ImageStart = 0x80002000, ImageLength = 0x26B48B8, LaunchAddr = 0x80012508
Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80002000 Length=0x26B48B8 Name="" Target=RAM
ROMHDR at Address 80002044h
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Launch Windows CE image by jumping to 0x80012508...
Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 25 2009 at 11:04:23
MOKVR +OEMInit
OAL: CPU revision 0x12:DM3730
OAL: CPU L2 Aux register 0x400042
****Profiler Build****
---High Performance Frequency is 26000914 hz---
****MOKVR Profiler Build END****
MOKVR OALPerformanceTimerInit
MOKVR OEMInit TEST_TPS65023 end
MOKVR OEMInit clean boot
MOKVR OEMInit NKForceCleanBoot
MOKVR -OEMInit
Compensating OPP1 for 63mV Orig nvalue:0x8989f0 New nvalue:0x99ccb2
Compensating OPP2 for 63mV Orig nvalue:0x999986 New nvalue:0x9a80e0
Compensating OPP3 for 75mV Orig nvalue:0xaae1c7 New nvalue:0xaac0aa
Compensating OPP4 for 100mV Orig nvalue:0xaaaa9d New nvalue:0xaa9185
SetOpp to 3
ECC TYPE is Hamming 1 bit
DSPLINK Module (1.65.00.03) created on Date: Jan 17 2011 Time: 15:02:36
Try to open Drivers\Active\24
Failed to get Priority256 value, defaulting to 103
DevIndex 1
About to call HWInit(Drivers\Active\24,0xD27D6D40)
HWInit: Initialization succeeded
Exception 'Data Abort' (4): Thread-Id=00a30002(pth=84745000), Proc-Id=00400002(pprc=826d2308) 'NK.EXE', VM-active=01e70002(pprc=843fbb88) 'udevice.exe'
PC=c09c7194(omap_uart.dll+0x00007194) RA=c09c7188(omap_uart.dll+0x00007188) SP=d029ebd8, BVA=00000000
Exception 'Raised Exception' (-1): Thread-Id=00a30002(pth=84745000), Proc-Id=00400002(pprc=826d2308) 'NK.EXE', VM-active=01e70002(pprc=843fbb88) 'udevice.exe'
PC=c003bb98(k.coredll.dll+0x0001bb98) RA=800344c8(kernel.dll+0x000064c8) SP=d029e474, BVA=ffffffff
Try to open Drivers\Active\25
Failed to get Priority256 value, defaulting to 103
DevIndex 2
About to call HWInit(Drivers\Active\25,0xD27D7460)
HWInit: Initialization succeeded
Exception 'Data Abort' (4): Thread-Id=00a30002(pth=84745000), Proc-Id=00400002(pprc=826d2308) 'NK.EXE', VM-active=01e70002(pprc=843fbb88) 'udevice.exe'
PC=c09c7194(omap_uart.dll+0x00007194) RA=c09c7188(omap_uart.dll+0x00007188) SP=d029ebd8, BVA=00000000
Exception 'Raised Exception' (-1): Thread-Id=00a30002(pth=84745000), Proc-Id=00400002(pprc=826d2308) 'NK.EXE', VM-active=01e70002(pprc=843fbb88) 'udevice.exe'
PC=c003bb98(k.coredll.dll+0x0001bb98) RA=800344c8(kernel.dll+0x000064c8) SP=d029e474, BVA=ffffffff
DRIVER_VERSION : 110, DATECODE : 041707
Rx PIO
Tx PIO
Lan9211 identified. ID_REV = 0x92210000
Use IntPhy
This chip doesn't support Auto Mdix!!!