View previous topic :: View next topic |
Author |
Message |
Tirtho
Joined: 12 Oct 2007 Posts: 5 Location: Canada
|
Problems with the RTL8019AS? |
Posted: Fri Oct 12, 2007 8:41 am |
|
|
Hi,
I am a new programmer and designer. I designed my board based on the CCS internet board. After implementing the design and compiling the codes in a project. My board does not work. It seems there are colllissions while transmitting packets.
Can any one help me on this?
thanks |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Fri Oct 12, 2007 8:49 am |
|
|
How are you connecting it to the network?
By default, 10M Ethernet devices will connect to the network in half duplex mode, if the Realtek is configured for half duplex and is being connected to a device that is configured full duplex, or visa versa, then collisions will occur. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Tirtho
Joined: 12 Oct 2007 Posts: 5 Location: Canada
|
|
Posted: Fri Oct 12, 2007 9:02 am |
|
|
Well, I am using the same code as used by the CCS for their internet prototype board. I just changed the hardware settings for my PIC 18F8722. Since the original code was written for 18f6722. I just changed the port settings and direction based on the design.
So the RTL is specified to work on the 10 mb ethernet |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Fri Oct 12, 2007 10:05 am |
|
|
Are you connecting to a hub, switch or cross-over cable to a PC?
Do the duplex settings match? _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Guest
|
|
Posted: Fri Oct 12, 2007 2:30 pm |
|
|
Yes the ethernet cable is connected to a hub, for this. |
|
|
Tirtho
Joined: 12 Oct 2007 Posts: 5 Location: Canada
|
|
Posted: Fri Oct 12, 2007 2:41 pm |
|
|
The problem is that the CCS internet board is pre loaded with a hex file to make the protocol based files run on the board. I have that hex file, but since my hardware is different I cant use that hex file. I used couple of their programs in a project file and then uploaded the hex file, but still it does not work.
In the status LED's of the RTL, the LED_COL blinks concurrently with the LED_TX.
I have checked the hardware connections and they are all good.
The only difference is that I have used PORT J instead of PORT F used in their board. I have made the changes in the code accordingly.
But still it does not seem to work. |
|
|
Tirtho
Joined: 12 Oct 2007 Posts: 5 Location: Canada
|
|
Posted: Wed Oct 17, 2007 1:08 pm |
|
|
Well the good news is that the board is working!..but when it sends packets to the network, the frame check sequence is incorrect...any suggestions how to improve on that. Because of this it is not getting detected in the network.
Any suggestions?
Thanks in advance
Tirtho |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Wed Oct 17, 2007 3:02 pm |
|
|
There are a few of reasons this can happen.
The controller is set to not automatically produce the CRC
The frame is being corrupted which could be due to collisions or, more likely, tx pair polarity reversal. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Guest
|
|
Posted: Thu Oct 18, 2007 8:37 am |
|
|
Ok. Resolved!..But still the speed issue remains. The CCS board in comparison to my board is much faster in sending out arp requests. When I connect my board to the network it is very slow compared to the CCS board.
Any suggestions as to how to improve on this?
Regards
Tirtho |
|
|
|