Ethernet with RCM3400

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);

[…]

}