Hello,
Question from Schaeffter on S32K5 0.4.5 RTD Ethernet driver
The first issue that we see is the following :
Out of all registers only PCI_HDR_TYPE0 is initialized , the other ones are not :
The first hard fault comes because OSR register is accessed and because it is not initialized we have the fault :
Hi @nxp52415 ,
I'm using the package SW32K5_RTD_R23-11_0.8.0_CD03. In this package, the example Eth_netcv4_InternalLoopback_S32K566_M7 was attached, so you can refer to it.
In your image, you are still in initialization of Port switch, after this command, Port switch registers will be activated to access.
But this doesn't active NETC controller.
NETC will be activated in the function Eth_43_NETCV4_Init(), like this:
Please migrate to the latest package, the package SW32K5_RTD_R23-11_0.8.0_CD03 is even code drop qualification, So 0.4.5 is too old.
Best regards,
Nhi