#include "netifcfg.h" file not found error in MPC5748G: ENET_PING example.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

#include "netifcfg.h" file not found error in MPC5748G: ENET_PING example.

1,768 次查看
tejo2one
Contributor III

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

tejo2one_0-1680545653829.png

 

0 项奖励
回复
10 回复数

1,741 次查看
tejo2one
Contributor III

Thanks for the response Lukas.

I apologize for mistake, I am using example "lwip_mpc5748g" not ENET_PING.

tejo2one_0-1680797030190.png

 

0 项奖励
回复

1,735 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Exactly the same is working also for lwip example. Can you find the file in S32DS folder? Isn't the installation corrupted?

Regards,

Lukas

0 项奖励
回复

1,729 次查看
tejo2one
Contributor III

I uninstalled and reinstalled S32DS., still same issue.

Can you share your code ?

0 项奖励
回复

1,733 次查看
tejo2one
Contributor III
Lucas, I could not find this file.
For my reference what is the S32DS version you're using?
0 项奖励
回复

1,681 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,445 次查看
tejo2one
Contributor III

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

 

0 项奖励
回复

1,433 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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:

lukaszadrapa_0-1683022143328.png

 

lukaszadrapa_1-1683022152941.png

There's no way to install this as a one single package.

Regards,

Lukas

0 项奖励
回复

1,655 次查看
tejo2one
Contributor III

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

0 项奖励
回复

1,648 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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:

https://community.nxp.com/t5/S32-SDK/using-wolfSSL-library-on-MPC5748G-board-with-out-HSM-firmware/m...

Regards,

Lukas

0 项奖励
回复

1,746 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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:

lukaszadrapa_2-1680794091400.png

Or select in main menu: Project -> Generate Processor Expert Code.

Then you should be able to build the project.

Regards,

Lukas

 
0 项奖励
回复