> What causes that error,
Table 26-5. EIRn Field Descriptions (continued)
Ethernet bus error. Indicates a system bus error occurred when a DMA transaction is underway.
15.4 Memory Map / Register Definition
A bus error response is returned if an unimplemented location is accessed within the crossbar switch. See
Section 14.2.5, “SCM Interrupt Status Register (SCMISR).”
So it tried to perform a DMA sysle and it didn't work. Check SCMISR (probably only works for CPU access faults though).
So either ERDSRn or ETDSRn weren't set up properly when the Ethernet was enabled, or there was a bad address in one of the Receive or Transmit Buffer Descriptors. Maybe you forgot to set the "Wrap" bits in the rings and it walked off the end.
Maybe the rings aren't in uncached memory, or they are and the cache isn't being flushed properly before the ethernet controller starts reading them. Are the BDs in SRAM or SDRAM? Is RAMBAR set up properly (with BDE) if using SRAM? How about the crossbar switch settings?
Tom