# Ethernet with RCM3400

**URL:** <https://forums.digi.com/t/ethernet-with-rcm3400/8876>\
**Category:** Rabbit\
**Created:** [February 21, 2008, 5:29pm UTC](https://forums.digi.com/t/ethernet-with-rcm3400/8876 "2008-02-21T17:29:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steph](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Steph](https://forums.digi.com/u/Steph)\
**Post date:** [February 21, 2008, 5:29pm UTC](https://forums.digi.com/t/ethernet-with-rcm3400/8876/1 "2008-02-21T17:29:49Z")

</div>

Hi,

I’m sorry, i’m french, so i don’t write very well english, but I need your help.

I use a Rabbit 3400 processor, on Rabbit 3400 Prototyping Board.

I use ethernet port in my program, but it isn’t functionnal.  
The network has three nodes : the Rabbit, a computer, and a module with ethernet interface(FiveCo).

When the rabbit program runs, and I ping module with the computer, the Act DEL of prototyping board turns on during the exchange.  
But when I ping my module with Rabbit programs(watch program on down), the result is 0xFFFFFFFF. And the act DEL doesn’t turn on.

I think problem is about my ethernet configuration. The bad using of this interface can be the problem.

Can you help me please?

This is the essential part of my program :

#class auto

#define TCPCONFIG 6

#define PORTA\_AUX\_IO

#memmap xmem  
#use “dcrtcp.lib”

#define MYIP “192.168.69.10” // On prend la 2, la 1 �tant plut�t � destination de la passerelle…  
#define MYMASK “255.255.255.0” // Mask de sous-reseau

void(main)  
{

brdInit();

if(ifconfig(  
IF\_ETH0,  
IFS\_DOWN,  
IFS\_IPADDR, aton(MYIP),  
IFS\_NETMASK, aton(MYMASK),  
IFS\_ROUTER\_SET, aton(“192.168.69.1”),  
IFS\_NAMESERVER\_SET, aton(“192.168.69.1”),  
IFS\_UP,  
IFS\_END  
))  
{  
printf(“[Echec]  
Erreur fatale : ifconfig n’est pas parvenue a configurer l’interface eth0.”);  
exit(1);  
}

while ((compteur=ifpending(IF\_ETH0)) == IF\_COMING\_UP)  
{  
tcp\_tick(NULL);  
}

if(sock\_init())  
{  
printf(“[Error]  
Impossible d’initialiser le reseau. sock\_init() echoue.”);  
exit(1);  
}

pourdebugseqnum=0;  
pourdebug=\_chk\_ping(resolve(“192.168.69.2”),&pourdebugseqnum);

[…]

}
