Hi,
I'm working on porting PFE on S32G but got hard fault when get PFE version.
/* Get PFE Version */
pfe.pfe_version = *(uint32_t*)(void*)((addr_t)pfe.cbus_baseaddr + CBUS_GLOBAL_CSR_BASE_ADDR + WSP_VERSION);
Is there any setting missed or incorrect process related to this hard fault?
Thanks
Hello,
Could you please share what was the cause of hard fault with pfe adresses?
I'm getting the same error.
Thanks
Hi,
Can you help us providing the following information?
Also, are you using any example as a base? If you debug the application, can you look into the memory address you are trying to read? Is it valid?
Please, let us know.
Hi,
We are using FreeRTOS example with TCPIP stack for GMAC.
Hi,
Thanks for your feedback.
It seems that there is already a case inside the NXP online service on regards of this same situation, are these related?
Please, let us know.
Hi,
We are working on different codebase.
Can you check if 0x50300 we got from RDB2 is correct or not?
If not, what version can we get?
/* Get PFE Version */
pfe.pfe_version = *(uint32_t*)(void*)((addr_t)pfe.cbus_baseaddr + CBUS_GLOBAL_CSR_BASE_ADDR + WSP_VERSION);
NXP_LOG_INFO("HW version 0x%x\n", (uint_t)pfe.pfe_version);
Hi,
Thanks for your feedback.
Regarding the PFE Version, the following is provided under the "pfe_cbus.h" file:
We don't fully understand what version you are trying to access.
Please, let us know.
Hi,
This getting pfe hw version code is in pfe driver PFE-DRV_S32G_M7_MCAL_1.0.0_QLP2.
Do you have any related document that I can check it?
Hi,
Thanks for your feedback.
Since this is related to the PFE registers, and due to PFE IP license limitation, PFE register description cannot be shared.
Since the routine is available inside the PFE drivers that NXP provides, and no modification should be done, then the version should be the one you are seeing.
Please, let us know.