Ethernet:EBERR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ethernet:EBERR

1,109件の閲覧回数
jithin_m
Contributor I
Trying to integrate Ethernet stack from vector using S32K148 controller.
When debugged the Ethernet Mac initialization ,detected this behavior.
From the Ethernet driver, following steps done to enable MAC
1. Firstly MAC is enabled with the written of (0x00000002) to ENET_ECR and changed its value to 0xF0000112(MAC enabled).
2. Then ENET_RDAR written with (0x00000001).
After writing the ENET_RDAR reg, debug results showing Interrupt Event Register(ENET_EIR) is changing its value from 0x00000000 to  0x00400000(EBERR).
So that Ethernet Control Register (ENET_ECR) changed its value from 0xF0000112 to F0000110(MAC is disabled)
What is the exact reason that causes this Ethernet bus error(EBERR)?
Already the starting address of the buffers and descriptors of the driver are 16 byte aligned.
2 返答(返信)

319件の閲覧回数
JackChen2022
Contributor I

请问一下这个问题你是怎么解决的啊,我现在用S32K148遇到一个同样的问题,初始化的时候使能接收发送缓冲区描述符就会出现EBERR总线故障

0 件の賞賛
返信

940件の閲覧回数
veronicavelciu
NXP Employee
NXP Employee

Hello Jithin,

Is the ENET master enabled in the MPU?

Are you using the SDK for the integration? The MPU configuration should already be done in the SDK system initialization.

Best regards,

Veronica