FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2006 Threads] SAM7X256 and IwIP connot connect to WinPCPosted by Nobody/Anonymous on October 17, 2006 I tried to build FreeRTOS v4.1.0 and IwIP 1.1.0 on an ARM7X256 using Crossworks 1.6. Everything went fine till I downloaded the code on the ARM. The WinPC I used as a client for the demo refuses to connect properly. It just kept switching from connected to unplunged. I think that there's something wrong with the EMAC routines since I've placed some initial messagges at the begging of the FreeRTOS initialisations and they only appear once(while the Ethernet keeps switching). Has anyone any suggestions on this?
RE: SAM7X256 and IwIP connot connect to WinPCPosted by Nobody/Anonymous on October 17, 2006 With the cable unplugged the ethernet on the sam7 will attempt to connect every few seconds until it successfully connects. You will see the link LED go on an off every few seconds during this period.
Once the cable is plugged in the next time it attempts to connect should be successful and the LED will stay on.
If it is repeatedly connecting then disconnecting it sounds like the software is running, but not detecting the connection so disconnecting again.
Is the rest of the software running OK? Leds flashing, etc?
Have you got the MII/RMII setup correct for your board.
Are you using the correct cable type?
RE: SAM7X256 and IwIP connot connect to WinPCPosted by Nobody/Anonymous on October 17, 2006 The leds are flashing allright, meaning that the physical layer is trying to connect to the other end(I suppose...). The cable I'm using is a crossover but I'm not sure about the MII/RMII. What do you mean by saying "correctly"? I thought that every MII chip whould be O.K with the SAM7X's MII. Isn't that right? Anyway I'm using Olimex's SAM7X board with a KS8721BL. Do you think this might be the problem? The thing is that there're no other leds on it so I suppose I have to play a bit with the USART just to be sure that the other tasks are running.
RE: SAM7X256 and IwIP connot connect to WinPCPosted by Nobody/Anonymous on October 17, 2006 In the EMAC code there is a constant something like
#define USE_RMII
which must be set to 1 for RMII mode and 0 for MII mode. I don't think RMII is reliable on sam7x.
RE: SAM7X256 and IwIP connot connect to WinPCPosted by Nobody/Anonymous on October 17, 2006 I think the SAM7X's MII interface as it's implemented in FreeRTOS, is based on the existance of DP83840 on the board. So you have (probably) to adjust the way ESAC is communicating over MII with your PHY ethernet chip.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|