Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Rabbit-Semi | Minicore RCM5700 External ethernet jack - help please!

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

Minicore RCM5700 External ethernet jack - help please! - eilidhs_daddy - Oct 27 7:20:17 2009

I've designed a board to carry a RCM5700 Mini Module.
It has various serial ports, IR transmit and receive etc etc, as well as
an Ethernet RJ45 Jack.

The problem is I can't get the ethernet to work!

It's not the mini core module as when I move it back to the development
board, using the same ethernet cable, it works fine.

My circuit you can see here:
http://www.geektime.co.uk/eth_schematic.JPG


And the jack I am using is here:
http://www.farnell.com/datasheets/50546.pdf


The jack is Farnell part number 1284348, and Tyco part number:6605759-1
and it has built in magnetics.

The symptoms are:
When you plug in the ethernet jack in, the link light comes on, and
every so often the ACT light blinks too. The link light on the ethernet
switch also comes on.

Here's a snippet of the code I'm using to bring up the ethernet....

ifconfig(IF_ETH0,
IFS_DOWN,
IFS_DHCP,0,
IFS_IPADDR, aton(pConfig->cIPAddressInUse),// setup ip address
IFS_NETMASK,aton(pConfig->cSubNet), // setup netmask
IFS_ROUTER_SET, aton(pConfig->cGateWay),// default router
IFS_UP,
IFS_END);

i=30000;
while ((ifpending(IF_ETH0) == IF_COMING_UP) && i--)
{
tcp_tick(NULL);
}

The IP Address, subnet, and gateway are all correct (since it works on
the dev kit)

I think there must be an error in my hardware somewhere but I can't see
where!

Can anyone help?



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: Minicore RCM5700 External ethernet jack - help please! - eilidhs_daddy - Oct 27 7:32:00 2009

I figured it out.
I have a wiring error.
TX+ should be on pin 3, not 5 of the jack.

Oops!

-ED

--- In r...@yahoogroups.com, "eilidhs_daddy" wrote:
>
> I've designed a board to carry a RCM5700 Mini Module.
> It has various serial ports, IR transmit and receive etc etc, as well as
> an Ethernet RJ45 Jack.
>
> The problem is I can't get the ethernet to work!
>
> It's not the mini core module as when I move it back to the development
> board, using the same ethernet cable, it works fine.
>
> My circuit you can see here:
> http://www.geektime.co.uk/eth_schematic.JPG
> And the jack I am using is here:
> http://www.farnell.com/datasheets/50546.pdf
> The jack is Farnell part number 1284348, and Tyco part number:6605759-1
> and it has built in magnetics.
>
> The symptoms are:
> When you plug in the ethernet jack in, the link light comes on, and
> every so often the ACT light blinks too. The link light on the ethernet
> switch also comes on.
>
> Here's a snippet of the code I'm using to bring up the ethernet....
>
> ifconfig(IF_ETH0,
> IFS_DOWN,
> IFS_DHCP,0,
> IFS_IPADDR, aton(pConfig->cIPAddressInUse),// setup ip address
> IFS_NETMASK,aton(pConfig->cSubNet), // setup netmask
> IFS_ROUTER_SET, aton(pConfig->cGateWay),// default router
> IFS_UP,
> IFS_END);
>
> i=30000;
> while ((ifpending(IF_ETH0) == IF_COMING_UP) && i--)
> {
> tcp_tick(NULL);
> }
>
> The IP Address, subnet, and gateway are all correct (since it works on
> the dev kit)
>
> I think there must be an error in my hardware somewhere but I can't see
> where!
>
> Can anyone help?
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

RE: {Disarmed} Re: Minicore RCM5700 External ethernet jack - help please! - Dave McLaughlin - Oct 27 7:48:06 2009

I was also wondering if you maintained a good differential path for the TX+-
and RX+- from the core module connector to the Tyco connector?

Dave...

---
Very funny Scotty, now beam down my clothes!!!
---
http://www.embeddedcomputer.co.uk
---

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of eilidhs_daddy
Sent: 27 October 2009 18:32
To: r...@yahoogroups.com
Subject: {Disarmed} [rabbit-semi] Re: Minicore RCM5700 External ethernet
jack - help please!

I figured it out.
I have a wiring error.
TX+ should be on pin 3, not 5 of the jack.

Oops!

-ED

--- In r...@yahoogroups.com ,
"eilidhs_daddy" wrote:
>
> I've designed a board to carry a RCM5700 Mini Module.
> It has various serial ports, IR transmit and receive etc etc, as well as
> an Ethernet RJ45 Jack.
>
> The problem is I can't get the ethernet to work!
>
> It's not the mini core module as when I move it back to the development
> board, using the same ethernet cable, it works fine.
>
> My circuit you can see here:
> http://www.geektime.co.uk/eth_schematic.JPG
> And the jack I am using is here:
> http://www.farnell.com/datasheets/50546.pdf
> The jack is Farnell part number 1284348, and Tyco part number:6605759-1
> and it has built in magnetics.
>
> The symptoms are:
> When you plug in the ethernet jack in, the link light comes on, and
> every so often the ACT light blinks too. The link light on the ethernet
> switch also comes on.



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

{Disarmed} Re: Minicore RCM5700 External ethernet jack - help please! - eilidhs_daddy - Oct 27 8:01:57 2009

Actually - I have to redact my previous post, it's not a wiring issue.

I don't have an error in the wiring - Looking again at the datasheet, RX+- are on pins 1,2 and TX+- come out on pins 5,6 - so my pins are correct.

I also think I have done a reasonable job of keeping a good differential path from the jack to the header.

Hmmm. Back to square one.

Any ideas?

--- In r...@yahoogroups.com, "Dave McLaughlin" wrote:
>
> I was also wondering if you maintained a good differential path for the TX+-
> and RX+- from the core module connector to the Tyco connector?
>
>
>
>
>
> Dave...
>
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
> http://www.embeddedcomputer.co.uk
> ---
>
>
>
> From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
> Behalf Of eilidhs_daddy
> Sent: 27 October 2009 18:32
> To: r...@yahoogroups.com
> Subject: {Disarmed} [rabbit-semi] Re: Minicore RCM5700 External ethernet
> jack - help please!
>
>
>
>
>
> I figured it out.
> I have a wiring error.
> TX+ should be on pin 3, not 5 of the jack.
>
> Oops!
>
> -ED
>
> --- In r...@yahoogroups.com ,
> "eilidhs_daddy" wrote:
> >
> > I've designed a board to carry a RCM5700 Mini Module.
> > It has various serial ports, IR transmit and receive etc etc, as well as
> > an Ethernet RJ45 Jack.
> >
> > The problem is I can't get the ethernet to work!
> >
> > It's not the mini core module as when I move it back to the development
> > board, using the same ethernet cable, it works fine.
> >
> > My circuit you can see here:
> > http://www.geektime.co.uk/eth_schematic.JPG
> >
> >
> > And the jack I am using is here:
> > http://www.farnell.com/datasheets/50546.pdf
> >
> >
> > The jack is Farnell part number 1284348, and Tyco part number:6605759-1
> > and it has built in magnetics.
> >
> > The symptoms are:
> > When you plug in the ethernet jack in, the link light comes on, and
> > every so often the ACT light blinks too. The link light on the ethernet
> > switch also comes on.
>

------------------------------------

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Minicore RCM5700 External ethernet jack - help please! - Tom Collins - Oct 28 0:39:15 2009

On Oct 27, 2009, at 4:16 AM, eilidhs_daddy wrote:
> I've designed a board to carry a RCM5700 Mini Module.
> It has various serial ports, IR transmit and receive etc etc, as
> well as an Ethernet RJ45 Jack.
>
> The problem is I can't get the ethernet to work!

I'm a software guy, so can't offer much advice on possible hardware
problems, but I can recommend that you review Tech Note 266 from the
Rabbit site (linked on the documentation page for the RCM5700):

http://www.rabbit.com/documentation/docs/refs/TN266/TN266.pdf

-Tom

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )