Hello,
I am working on NXP Gateway board which uses MPC5748G, I need to setup Ethernet communication and checking example codes. ENET_PING : found this example code but it doesnot build. Is there any example code using ethernet interface which works using MPC5748G.
Thank you in advance,
Tejo
Thanks for the response Lukas.
I apologize for mistake, I am using example "lwip_mpc5748g" not ENET_PING.
Exactly the same is working also for lwip example. Can you find the file in S32DS folder? Isn't the installation corrupted?
Regards,
Lukas
I uninstalled and reinstalled S32DS., still same issue.
Can you share your code ?
Hi @tejo2one
I used S32DS 2.1 and SDK 3.0.3.
I just found out that the file is not present in the S32DS installation folder but it's generated by processor expert, so I can see it in my project.
I will attach my project here, you can try to import it.
Regards,
Lukas
Hello @lukaszadrapa ,
Thanks for your code. I tried loading it in as a local project and when I give generate code command "netifcfg.c and netifcfg.h" are removed by tool.
I felt my tool was corrupted so reinstalled S32DS again but same problem still exists.
Is there any link where I can download whole setup locally and install it? please support me its already taken lot of time.
Thanks in advance.
Tejo
Hi @tejo2one
If you go to:
Help -> S32DS Extensions and Updates
and
Help -> About S32 Design Studio... -> Installation Details
... could you see if all these packages are installed? That's my setup which works:
There's no way to install this as a one single package.
Regards,
Lukas
Hello Lukas,
Thanks for reply and code. I tried flashing your code but its stuck in HSM_Init during SSL_Init.
Is HSM firmware required to use TCPIP stack ?
Thanks & best regards,
Tejo
Please take a look at this thread:
https://community.nxp.com/t5/MPC5xxx/WolfSSL-on-MPC5748G-devkit/m-p/1460985
And also this one - it is possible to use SW implementation only:
Regards,
Lukas
Hi @tejo2one
I can see no problem on my side. What I did:
File -> New -> S32DS Project from Example
Then I selected mentioned enet_ping example for MPC5748G.
Now the key point - it is necessary to generate the code by this:
Or select in main menu: Project -> Generate Processor Expert Code.
Then you should be able to build the project.
Regards,
Lukas