Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Thu, 20 Oct 2005 09:12:51 -0400
You are using different ethernet adapters? Remember that they are two
completely different code bases. If I understand your post correctly, it
works with one adapter (RTLxxx) but not the other (82559). There is either
a bug in your 82559 code, or it is using memory differently than the RTL.
Not surprising, since they are two different code bases entirely.
--
Dean Ramsier - eMVP
BSQUARE Corporation
<darshan.tapdia@xxxxxxxxx> wrote in message
news:1129801355.081792.173800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thanks steve,
> But i have a strange problem...
> ->if i keep all settings (Config.bib,eboot.bib and OEMAddressTable) as
> it as and try with RTL8139 to download debug image size up to 26MB it
> downloads successfully.(tried with both IMGRAM64=1 & IMGRAM32=1)
>
> 1!!) Now when i try same configuration(ETHDMA 8020 0000 00020000)
> with my built debug library it gives Checksum error..???????!!!!!!!!!
>
> 2!!) Now when i try smaller image less then 10MB it downloads
> with-out check sum error but gives "Double-Faullt"....Here is serial
> debug out-put..(Below).
>
> I dont know, if it works fine RTL8139 with same config why it shouldnt
> with my debug library...????????
> Please really help me out to get rid of this problem.......biggest
> confusion ever.........for me
> Expecting reply ,
> Darshan
>
>
> _________________________________________________________
> Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1
> Built Oct 10
> 2005 15:43:06
> Microsoft Windows CE Ethernet Bootloader 3.5 for CE/PC (Oct 11 2005)
> Boot Args @ 0x1DCC6 and ucLoaderFlags is 1
> PCI Device Configurations (5 PCI bus(es) present)...
> ========================================================
> Bus, Device, Function = 0, 2, 0
> Vendor ID, Device ID = 0x8086, 0x2572
> Base Class, Subclass = 3, 0 => DISPLAY_CTLR
> Interrupt = 11
> BaseAddress[0] = 0xF0000000 (Memory)
> BaseAddress[1] = 0xE8000000 (Memory)
> BaseAddress[2] = 0x1800 (I/O)
> ========================================================
> Bus, Device, Function = 0, 29, 0
> Vendor ID, Device ID = 0x8086, 0x24D2
> Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
> Interrupt = 11
> BaseAddress[4] = 0x1820 (I/O)
> ========================================================
> Bus, Device, Function = 0, 29, 1
> Vendor ID, Device ID = 0x8086, 0x24D4
> Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
> Interrupt = 10
> BaseAddress[4] = 0x1840 (I/O)
> ========================================================
> Bus, Device, Function = 0, 29, 2
> Vendor ID, Device ID = 0x8086, 0x24D7
> Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
> Interrupt = 5
> BaseAddress[4] = 0x1860 (I/O)
> ========================================================
> Bus, Device, Function = 0, 29, 3
> Vendor ID, Device ID = 0x8086, 0x24DE
> Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
> Interrupt = 11
> BaseAddress[4] = 0x1880 (I/O)
> ========================================================
> Bus, Device, Function = 3, 1, 0
> Vendor ID, Device ID = 0x8086, 0x1229
> Base Class, Subclass = 2, 0 => NETWORK_CTLR
> Interrupt = 11
> BaseAddress[0] = 0xE8400000 (Memory)
> BaseAddress[1] = 0x2800 (I/O)
> BaseAddress[2] = 0xE8100000 (Memory)
> ========================================================
> Bus, Device, Function = 3, 8, 0
> Vendor ID, Device ID = 0x8086, 0x1050
> Base Class, Subclass = 2, 0 => NETWORK_CTLR
> Interrupt = 9
> BaseAddress[0] = 0xE8402000 (Memory)
> BaseAddress[1] = 0x2840 (I/O)
> ========================================================
> InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = 0, dwIoBase = 0,
> dwDfltType
> = 1) ...
> InitKitlNIC: Found PCI Ethernet NIC (type = 7, IRQ=11,
> IOBase=0xE8400000).
> ETH82559InitDMABuffer():: !
> ETH82559DMAInit():dwCounterSize=44, dwTxCBSize=20, dwTBDSize=8,
> dwRxSize=600
> Returned MAC Address:00:D0:B7:17:20:EA
> System ready!
> Preparing for download...
> OEMPreDownload ucLoaderFlags is 0
> Using device name: CEPC8426
> Hit ENTER within 3 seconds to enter static IP address!
> Enter IP address, or CR fo
> r default (0.0.0.0): 10.50.41.6
> Enter Subnet Masks, or CR for default (255.255.0.
> 0): 255.255.248.0
>
> Using IP Address 10.50.41.6, subnet mask 255.255.248.0
> Using static IP address: 0629320A
> +EbootSendBootmeAndWaitForTftp
> Sent BOOTME to 255.255.255.255
>
> Locked Down Link 1
> Src IP 10.50.41.6 Port 0400 Dest IP 10.50.41.5 Port 1359
> EthDown::TFTPD_OPEN::boot.bin
> -EbootSendBootmeAndWaitForTftp
>
> Download file information:
> -----------------------------------------------------
> [0]: Address=0x220000 Length=0x19E68C Name=
>
> ****** OEMVerifyMemory Checking Range [ 0x220000 ==> 0x3BE68B ]
> ****** RAM Address ******
>
> ETH82559GetFrame(): RU is in NO RESOURCE STATETFTP: Desktop losing ACK,
> block nu
> mber = 40, Ack again
> rom_offset=0x80000000.
> ROMHDR at Address 00220044h
> OEMLaunch ucLoaderFlags is 7
> Download successful! Jumping to image at 0023E5C8h...
> GOT SVC_ADMIN
> Got EDBG_CMD_JUMPIMG
> Got EDBG_CMD_CONFIG, flags:0x00000000
> Lauch Windows CE from address 0x23E5C8
> Debug Serial Init
>
> SysInit: GDTBase=803bf0e8 IDTBase=804113a0 KData=80431800
> Windows CE Kernel for i486 Built on Jun 24 2004 at 18:28:19
> g_pPageDir = 8044a000
> PCIBIOS:: BIOS Address static map to addr=a00e0000
> GetPicRoutingIrqTable: Start
> search_pci_bios start
> CE Ethernet Bootloader found 32Bit BIOS Entry master_bios32=a00f6630
> bios32_call
> _offset=1d71c for CE/PC
> Return from First BIOS EAX=49435000 EBX=fd6b0,ECX=950 ED
> X=2dd
> 32 PCI BIOS offset located.addr=1d98d
> 32 PCI BIOS Present EDX=20494350,EAX=1
> EBX=f0210,ECX=904
> +GetRoutingOption
> search_pci_routing
> search_pci_routing found entry =a00fdf00 CE/PC
> GetRoutingOption, found ROM vers
> ion for Routing table.
> GetRoutingOption return SUCCESS .AH=0
> canConfiguredIrq with PCI Exclusive Irq Bit (wExClusive) =0
> ScanConfigureIrq: BufferSize = 192 @ address 80414e0a
> ScanConfigureIrq: for Bus=0 ,Device=0 SlotNumber=0
> INTA_LinkValue=0,INTA_IrqBitMap=def8
> INTB_LinkValue=0,INTB_IrqBitMap=def8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> ScanConfigureIrq: for Bus=0 ,Device=2 SlotNumber=0
> INTA_LinkValue=60,INTA_IrqBitMap=deb8
> INTB_LinkValue=0,INTB_IrqBitMap=def8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> ScanConfigureIrq: LinkNumber=96 associated with irq=11
> ScanConfigureIrq: for Bus=0 ,Device=1 SlotNumber=0
> INTA_LinkValue=60,INTA_IrqBitMap=deb8
> INTB_LinkValue=61,INTB_IrqBitMap=deb8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> ScanConfigureIrq: for Bus=1 ,Device=0 SlotNumber=10
> INTA_LinkValue=60,INTA_IrqBitMap=deb8
> INTB_LinkValue=61,INTB_IrqBitMap=deb8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> ScanConfigureIrq: for Bus=0 ,Device=29 SlotNumber=0
> INTA_LinkValue=60,INTA_IrqBitMap=deb8
> INTB_LinkValue=63,INTB_IrqBitMap=deb8
> INTC_LinkValue=62,INTC_IrqBitMap=deb8
> INTD_LinkValue=6b,INTC_IrqBitMap=deb8
> ScanConfigureIrq: LinkNumber=96 associated with irq=11
> ScanConfigureIrq: LinkNumber=99 associated with irq=10
> ScanConfigureIrq: for Bus=0 ,Device=30 SlotNumber=0
> INTA_LinkValue=0,INTA_IrqBitMap=def8
> INTB_LinkValue=0,INTB_IrqBitMap=def8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> ScanConfigureIrq: for Bus=3 ,Device=0 SlotNumber=1
> INTA_LinkValue=69,INTA_IrqBitMap=deb8
> INTB_LinkValue=6a,INTB_IrqBitMap=deb8
> INTC_LinkValue=6b,INTC_IrqBitMap=deb8
> INTD_LinkValue=68,INTC_IrqBitMap=deb8
> ScanConfigureIrq: for Bus=3 ,Device=1 SlotNumber=2
> INTA_LinkValue=6a,INTA_IrqBitMap=deb8
> INTB_LinkValue=69,INTB_IrqBitMap=deb8
> INTC_LinkValue=68,INTC_IrqBitMap=deb8
> INTD_LinkValue=6b,INTC_IrqBitMap=deb8
> !!!ERROR:::curLinkNumber=106 not same as previous 96
> ScanConfigureIrq: LinkNumber=106 associated with irq=11
> ScanConfigureIrq: for Bus=3 ,Device=2 SlotNumber=3
> INTA_LinkValue=61,INTA_IrqBitMap=deb8
> INTB_LinkValue=62,INTB_IrqBitMap=deb8
> INTC_LinkValue=63,INTC_IrqBitMap=deb8
> INTD_LinkValue=60,INTC_IrqBitMap=deb8
> ScanConfigureIrq: LinkNumber=97 associated with irq=9
> ScanConfigureIrq: for Bus=3 ,Device=8 SlotNumber=0
> INTA_LinkValue=68,INTA_IrqBitMap=deb8
> INTB_LinkValue=0,INTB_IrqBitMap=def8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> !!!ERROR:::curLinkNumber=104 not same as previous 97
> ScanConfigureIrq: LinkNumber=104 associated with irq=9
> ScanConfigureIrq: for Bus=3 ,Device=11 SlotNumber=0
> INTA_LinkValue=60,INTA_IrqBitMap=deb8
> INTB_LinkValue=0,INTB_IrqBitMap=def8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> ScanConfigureIrq: for Bus=0 ,Device=31 SlotNumber=0
> INTA_LinkValue=62,INTA_IrqBitMap=deb8
> INTB_LinkValue=61,INTB_IrqBitMap=deb8
> INTC_LinkValue=0,INTC_IrqBitMap=def8
> INTD_LinkValue=0,INTC_IrqBitMap=def8
> InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = B, dwIoBase =
> E8400000, dwD
> fltType = 7) ...
> InitKitlNIC: Found PCI Ethernet NIC (type = 7, IRQ=11,
> IOBase=0xE8400000).
> ETH82559InitDMABuffer():: !
> ETH82559DMAInit():dwCounterSize=44, dwTxCBSize=20, dwTBDSize=8,
> dwRxSize=600
> ETH82559DMAInit():Starting pTBD=80415164, Starting CB=804150E4
>
> Double Fault -- backlink=0048
> TSS=80411ba0 EIP=80262fe8 Flags=00010202
> Eax=00000000 Ebx=000002c4 Ecx=e8400000 Edx=8043150e
> Esi=0000000e Edi=80431598 Ebp=000002b8 Esp=00000208
> CS=0019 DS=0040 ES=0040 SS=0021 FS=0000 GS=0000
>
.
- References:
- confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- From: darshan . tapdia
- Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- From: Steve Maillet \(eMVP\)
- Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- From: darshan . tapdia
- Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- From: Steve Maillet \(eMVP\)
- Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- From: darshan . tapdia
- confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- Prev by Date: Re: I.MX21 ADS Base Board Registry Setting for USB Host
- Next by Date: Re: Related to Interrupt Identifier
- Previous by thread: Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- Next by thread: Re: confused About writing and ISR in ethernet debug library. PLZ HELP!!!!!!!!!!!!!!
- Index(es):
Relevant Pages
|
Loading