public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] SCC3 with very slow ethernet connection
@ 2006-03-10 20:01 Franca, Jose Filipe
  2006-03-10 20:24 ` Jerry Van Baren
  0 siblings, 1 reply; 3+ messages in thread
From: Franca, Jose Filipe @ 2006-03-10 20:01 UTC (permalink / raw)
  To: u-boot

Hello u all!

	I have a mpc8247 based board, with the following ethernet configuration:

#define	CONFIG_ETHER_ON_SCC		        		/* define if ether on SCC       */
#undef	CONFIG_ETHER_ON_FCC		        		/* define if ether on FCC       */
#undef	CONFIG_ETHER_NONE		        			/* define if ether on something else */
#undef CONFIG_NET_MULTI        				/* no multiple ethernet interfaces */
#define CONFIG_ETHPRIME		"SCC3 ETHERNET"	/* ehternet interface is on SCC#3 */
#undef CONFIG_HAS_ETH1                         			/* do not handle 2nd ethernet address */

/*
 * CMXSCR SCC clock route register configuration
 * - RX clk is CLK5
 * - TX clk is CLK6
 */

#define CONFIG_ETHER_INDEX      3
#define CFG_CMXSCR_VALUE	(CMXSCR_RS3CS_CLK5 | CMXSCR_TS3CS_CLK6)
#define CONFIG_SCC_ENET_FULL_DUPLEX
#define CONFIG_SCC_ENET_PROMISCOUS

/*
 * CMXFCR FCC clock route register configuration 
 * - FCC2: TxCLK ix CLK14, RxCLK is CLK13
 */

#define CONFIG_ETHER_ON_FCC2
#define CFG_CMXFCR_MASK2	(CMXFCR_FC2| CMXFCR_RF2CS_MSK | CMXFCR_TF2CS_MSK)
#define CFG_CMXFCR_VALUE2	(CMXFCR_RF2CS_CLK15|CMXFCR_TF2CS_CLK16)
#define CFG_CPMFCR_RAMTYPE	0

#define CFG_FCC_PSMR		(FCC_PSMR_FDE|FCC_PSMR_LPB)	/* Full duplex & local protect */


	The result of this is a slow SCC3 ethernet connection. I've checked all the steps listed in the mpc8272 reference manual and everything seems to be by the book...
	From snifing around with ethereal, i've noticed that the frames seem to be passed nicely. But, sometimes there are some frames that aren't received and i get bit 11 asserted  (NO Rx nonoctet-aligned frame. Set when a frame containing a number of bits not divisible by eight is received. Also, the CRC check that occurs at the preceding byte boundary generated an error.). 
	What am i missing here?  Any ideas?
	Thanks a lot for reading! Many more if you reply :)




Best regards,
Filipe Fran?a.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] SCC3 with very slow ethernet connection
  2006-03-10 20:01 [U-Boot-Users] SCC3 with very slow ethernet connection Franca, Jose Filipe
@ 2006-03-10 20:24 ` Jerry Van Baren
  2006-03-11 11:21   ` Franca, Jose Filipe
  0 siblings, 1 reply; 3+ messages in thread
From: Jerry Van Baren @ 2006-03-10 20:24 UTC (permalink / raw)
  To: u-boot

Franca, Jose Filipe (ext) wrote:
> Hello u all!
> 
> 	I have a mpc8247 based board, with the following ethernet configuration:

[snip]

> 	The result of this is a slow SCC3 ethernet connection. I've checked all the steps listed in the mpc8272 reference manual and everything seems to be by the book...
> 	From snifing around with ethereal, i've noticed that the frames seem to be passed nicely. But, sometimes there are some frames that aren't received and i get bit 11 asserted  (NO Rx nonoctet-aligned frame. Set when a frame containing a number of bits not divisible by eight is received. Also, the CRC check that occurs at the preceding byte boundary generated an error.). 
> 	What am i missing here?  Any ideas?
> 	Thanks a lot for reading! Many more if you reply :)
> 
> 
> 
> 
> Best regards,
> Filipe Fran?a.

Hardware problem?  Sounds like noise in the ethernet receive subsystem. 
  Do you have proper (impedance controlled and low noise) routing 
between the RJ-45, transformer, and the PHY?  Are the lines terminated 
properly at the transformer?

gvb

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] SCC3 with very slow ethernet connection
  2006-03-10 20:24 ` Jerry Van Baren
@ 2006-03-11 11:21   ` Franca, Jose Filipe
  0 siblings, 0 replies; 3+ messages in thread
From: Franca, Jose Filipe @ 2006-03-11 11:21 UTC (permalink / raw)
  To: u-boot

We are using the same debug module (based on a LXT905, with a schematic similar to the application note from the manufacturer) as we used in another board and it works fine. No report of such problems.
The lines to the mpc follow the same schema as in a similar board... Unfortunatly we can't compare the two configurations, because currently we don't have access to such code.
In the meanwhile, i've enabled the full duplex mode and still have the same problem... Did anyone noticed that when enabling full duplex, there is no enable for internal loopback? (As stated in the reference manual of the processor) Or is it not necessary?
 
 
Filipe.

________________________________

De: u-boot-users-admin at lists.sourceforge.net em nome de Jerry Van Baren
Enviada: sex 10-03-2006 21:24
Para: u-boot-users at lists.sourceforge.net
Assunto: Re: [U-Boot-Users] SCC3 with very slow ethernet connection



Franca, Jose Filipe (ext) wrote:
> Hello u all!
>
>       I have a mpc8247 based board, with the following ethernet configuration:

[snip]

>       The result of this is a slow SCC3 ethernet connection. I've checked all the steps listed in the mpc8272 reference manual and everything seems to be by the book...
>       From snifing around with ethereal, i've noticed that the frames seem to be passed nicely. But, sometimes there are some frames that aren't received and i get bit 11 asserted  (NO Rx nonoctet-aligned frame. Set when a frame containing a number of bits not divisible by eight is received. Also, the CRC check that occurs at the preceding byte boundary generated an error.).
>       What am i missing here?  Any ideas?
>       Thanks a lot for reading! Many more if you reply :)
>
>
>
>
> Best regards,
> Filipe Fran?a.

Hardware problem?  Sounds like noise in the ethernet receive subsystem.
  Do you have proper (impedance controlled and low noise) routing
between the RJ-45, transformer, and the PHY?  Are the lines terminated
properly at the transformer?

gvb


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-11 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10 20:01 [U-Boot-Users] SCC3 with very slow ethernet connection Franca, Jose Filipe
2006-03-10 20:24 ` Jerry Van Baren
2006-03-11 11:21   ` Franca, Jose Filipe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox