WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2008-Aug-13 09:49:51

Amir
Member
Registered: 2007-Jun-18
Posts: 92

EMAC error

When running the reference design with a modified OFDM core we have been having some problems with EMAC. Specifically, with bi-directional traffic, after a while, one node stops transmitting even though packets are still being injected over Ethernet (Ethernet LEDs are lit). At this point the terminal connected to that node shows a message indicating an EMAC error. I'm not still sure as to why this error happens. The aggregate traffic in two directions is only around 1Mbps. Have you ever experienced a similar problem?

Also, after the error, the only way to get it to work is to reset the terminal. I guess this is due to the way EMAC error handler is set in warpmac.c (only displaying the error code rather than reseting the EMAC), right?

Offline

 

#2 2008-Aug-13 16:18:05

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: EMAC error

Which reference design are you using? The EMAC setup changed a lot between v09 and v10. And do you know where in warpphy.c the error was caught (but not handled very well)?

Offline

 

#3 2008-Aug-14 08:07:28

Amir
Member
Registered: 2007-Jun-18
Posts: 92

Re: EMAC error

Design is based v08. The function reporting the error is emacErr_int_handler defined in warpmac.c which simply displays an error code but does not reset the EMAC. We should be able to extend this handler to reset the EMAC in such cases so that we don't need a HW reset, right?

Offline

 

#4 2008-Aug-14 08:56:27

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: EMAC error

Yeah, resetting the EMAC in the handler is a good idea.

Offline

 

Board footer