Issue with enet_rmii_upd example for Mpc5748g devkit board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue with enet_rmii_upd example for Mpc5748g devkit board

1,051 Views
kuber2vedi
Contributor II

Hello,

I've imported the example project "enet_rmii_udp" for the MCP5748G into S32 Design Studio version 3.0.3. I've configured the IP address and MAC address. I'm successfully transmitting data from the board to the PC. However, I'm facing an issue when trying to receive data from the PC to the board. I'm using Hercules software to send data from the PC and Wireshark to capture it.

When I send data from the PC, it requests ARP, but the board doesn't reply to it. I suspect that the function "INTC InstallINTCInterruptHandler" might be commented out, which could be causing the interrupt for receiving not to work. However, when I uncomment it, I encounter an error related to the missing file "MPC56xx_55xx_Dual_PRCO_Interrupt_Init.h," which is not available in the example project. Can you please provide guidance on how to resolve this issue?

Below changes i have done in configuration :

#define DESTMAC1 0xE0
#define DESTMAC2 0x70
#define DESTMAC3 0xEA
#define DESTMAC4 0xCD
#define DESTMAC5 0x35
#define DESTMAC6 0x79

/* DESTINATION IP ADDRESS  for PC*/
#define DESTIP1 169
#define DESTIP2 254
#define DESTIP3 228
#define DESTIP4 248


/* ORIGIN MAC ADDRESS */
#define ORIGMAC1 0x00
#define ORIGMAC2 0x04
#define ORIGMAC3 0x9F
#define ORIGMAC4 0x22
#define ORIGMAC5 0x0E
#define ORIGMAC6 0xB0

/* ORIGIN IP ADDRESS for board */
#define ORIGIP1 169
#define ORIGIP2 254
#define ORIGIP3 228
#define ORIGIP4 5

/* DESTINATION PORT */
#define DESTPORT 12345

/* ORIGIN PORT */
#define ORIGPORT 2001

Please find the attachment

Thanks 

Labels (1)
0 Kudos
Reply
2 Replies

992 Views
kuber2vedi
Contributor II

first off, thanks for your response ,I have searched a lot and also tried the available soultion in forum , but didn't got any solution.

0 Kudos
Reply

1,029 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there are few threads dealing with this demo example, did you try to search for a solution?
Could i.e. below be helpful?
https://community.nxp.com/t5/MPC5xxx/ethernet-project-of-mpc5748g/m-p/942500

BR, Petr

 

0 Kudos
Reply