Reg. Ethernet Controller Access Problem
From: Neo (Neo_at_discussions.microsoft.com)
Date: 09/22/04
- Next message: Sujith: "Re: To all the experts who keep getting asked the same questions over and over again,"
- Previous message: Sujith: "Re: Kernel Start"
- Next in thread: Paul G. Tobey [eMVP]: "Re: Reg. Ethernet Controller Access Problem"
- Reply: Paul G. Tobey [eMVP]: "Re: Reg. Ethernet Controller Access Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 22 Sep 2004 07:07:01 -0700
Hi!
I am developing an ethernet bootloader for a PXA255 based board which uses
LAN91C111 as a controller. I
am able to access all the registers except for the control register. Which
always takes the value of
0x00001210, irrespective of what ever value i write into it. EEPROM Access
is not happening as well!
When transmitting a frame i am getting an error message
"Timed out waiting for ALLOC_INT
SendFrame return with wCompletionCode=0"
However once in a while the BOOTME packets are sent. I have dumped the frame
data which is as below.
To: FF:FF:FF:FF:FF:FF From: 00:04:34:00:21:6A Type: 0x0800 Length: 106
FF FF FF FF FF FF 00 04 34 00 21 6A 08 00 45 00
00 5C 0E 00 00 00 40 11 A7 5D AC 14 19 20 FF FF
FF FF 03 D4 03 D4 00 48 71 38 45 44 42 47 FF 01
0E 00 03 03 00 04 34 00 21 6A AC 14 19 20 58 53
43 31 00 44 00 00 00 00 00 00 00 00 00 00 00 58
53 43 31 42 44 38 35 35 34 00 00 00 00 00 00 00
41 02 00 00 00 00 00 00 00 00
But i am not able to capture the packets in my PC using a Network Protocol
Analyzer.
Any suggestions?
For reference i have added the captured message from the hyperterminal
Ethernet Boot Loader Configuration:
0) IP address: 172.20.25.32
1) Subnet mask: 255.255.255.0
2) Boot delay: 5 seconds
3) DHCP: Disabled
4) Reset to factory default configuration
5) Download new image at startup
6) Program RAM image into FLASH: (Disabled)
7) Program SMSC MAC address
8) Boot device order: SMSC -> PCMCIA -> CF
9) Check image signature(s): (Disabled)
D) Download image now
F) Format flash (will not overwrite eboot or eboot parameters)
L) Launch existing flash resident image now
Enter your selection: d
Writing 0xA00B0118 to flash address 0xB8340000 (length=0xA3C).
Sector=0x200 (Length=0x6) Block=0x1 (Length=0x1).
FlashWrite: Starting logical sector number 0x8761910.Handling non-block
aligned data...
FlashWrite: Saved end sector(s) First 0x206 (Length=0x1FA).FlashErase:
Unlocking flash block(s) [0x1,
0x1] (please wait): Done.
Erasing flash block(s) [0x1, 0x1] (please wait): .Done.
FlashWrite: Restored end sector(s) First 0x206 (Length=0x1FA).Writing to
flash (please wait): Done.
Rajesh Going to detect and initialize Ethernet controller first time .
Checking for SMC 91C111 Ethernet controller...
Rajesh Entering SMCInit
LAN91C111: Chip Id 9 Revision 1
SMC 91C111 Ethernet controller initialized.
Rajesh After detecting and initialize Ethernet controller first time 0.
System ready!
Preparing for download...
INFO: Using device name: 'XSC1BD8554'
Inside SendFrame
+EbootSendBootmeAndWaitForTftp
Inside SendFrame
SendFrame timeout waiting for TXEMPTY! INTERRUPT_REG = 0x8
!EDBG error ::SendFrame()::EPH Reg 0000h
Sent BOOTME to 255.255.255.255
Inside SendFrame
SendFrame timeout waiting for TXEMPTY! INTERRUPT_REG = 0x8
!EDBG error ::SendFrame()::EPH Reg 0000h
Sent BOOTME to 255.255.255.255
Inside SendFrame
SendFrame timeout waiting for TXEMPTY! INTERRUPT_REG = 0x8
!EDBG error ::SendFrame()::EPH Reg 0000h
Sent BOOTME to 255.255.255.255
Inside SendFrame
- Next message: Sujith: "Re: To all the experts who keep getting asked the same questions over and over again,"
- Previous message: Sujith: "Re: Kernel Start"
- Next in thread: Paul G. Tobey [eMVP]: "Re: Reg. Ethernet Controller Access Problem"
- Reply: Paul G. Tobey [eMVP]: "Re: Reg. Ethernet Controller Access Problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|