[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Always network trouble



I think you were right, I had the following code before calling the function
rtems_bsdnet_initialize_network () and now it works ! :

    (EMAC_REG(EMAC_SA1L) ) = MAC_HIGH ;
    (EMAC_REG(EMAC_SA1H) ) = MAC_LOW ;

Withe this definnitions :

/* our MAC_ADDRESS is 00:00:17:AE:40:00*/
#define MAC_HIGH	((0xAE << 24) | (0x17 << 16) | (0x00 << 8) | 00)
#define MAC_LOW		((0x00 << 8) | 0x40)

Think you again !!! Have a nice day

Joel R.