Trouble with lwip echo example after refresh SDK components

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

Trouble with lwip echo example after refresh SDK components

跳至解决方案
2,798 次查看
leisner
Contributor I

I am using FRDM-K66 board. I am using freertos. Have imported sdk example project lwip_tcpecho_freertos. Assign appropriate IP addresses and port # for my network situation, compile and all runs great.

Run refresh SDK components, which I will need to do eventually for my project, and system makes lots of changes, and I get compilation errors.

First thing it does is adds the 4 other heap method programs along with heap_useNewlib.c. I delete these files, compile, now I see that ide has changed stuff in lwipopts.h and opt.h which make build fail.

Obviously I am doing something wrong. My objective is to use the tcpecho demo as the starting point for my project, then add appropriate peripherals add needed to perform other stuff.

Is there a better workflow to get to this objective

Larry

0 项奖励
回复
1 解答
2,663 次查看
danielchen
NXP TechSupport
NXP TechSupport
7 回复数
2,791 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @leisner :

 

Thank you for your feedback.  I can reproduce your issue on my side.  I will update you when I have results.

 

Regards

Daniel

0 项奖励
回复
2,749 次查看
leisner
Contributor I

Hi Daniel, and Happy New Year

Any progress on this issue. A work around would be appreciated, or if an older version works, that would be OK too. I have hit a wall with my development in not being able to get LWIP to function in a real world environment.

Can you point me to an alternate methodology to get LWIP to function. My assumption has been that starting with TCP echo would be the easiest way to get simple communications functional. If there is an alternative recommended methodology, please...  

I find MCUXpresso makes integration go quite quickly with these very functional parts, however, it leaves you stuck with its workflow automation.

Thx

Larry 

0 项奖励
回复
2,738 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @leisner 

 

This issue is fixed.  next release is MCUXpresso IDE 11.3.0,  maybe at the end of this month.

 

Regards

Daniel

0 项奖励
回复
2,735 次查看
leisner
Contributor I

Hi Daniel

Thanks for the response. However, this really messes up my schedule on this project.

Any chance of getting a Beta of 11.3.0 so I can move ahead

Or, any app notes on doing the integration of LWIP in a FreeRTOS environment manually.

I am pretty shocked that this large an issue exists. How are other customers getting LWIP running in this environment. I suppose pulling LWIP out of the BSP, and implementing from my project would work, but I thought one of the reasons for having the level of integration automation that MCUXpresso offers is to speed development, and eliminate mistakes on the user side by having the experts (NXP engineers) do the integration. 

I am happy with the help, but disappointed with the timeliness of the solution.

Thx

Larry 

0 项奖励
回复
2,726 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @leisner 

 

LwIP demos with FreeRTOS support can work. You can refer to the offical lwip_examples in SDK installation folder.

The issue is , there will be some errors when you add/remove SDK components  into an existing FreeRTOS based project with IDE management tool.

I was informed just now that MCUXpresso IDE will be released very soon, maybe this week .

 

Regards

Daniel

0 项奖励
回复
2,716 次查看
leisner
Contributor I

Daniel

I hate to whine, but you have essentially just restated my issue.

Of course I can get any of the LWIP with FreeRTOS demos working, But when I add components which I need for my project, I get errors which I have not been able to resolve. That is the beauty of  having the IDE with lots of demos. 

My project is nearly complete, but using a Uart for communications. Ethernet is a requirement. 

So I will repeat my original question. Is there an app note which talks about integrating LWIP manualy so that using IDE management tools don't break LWIP. I guess an alternative would be help in resolving the errors which occur when using the IDE to build the SDK.

I guess if the next version of MCUXpresso comes out in the next couple of days, that works too. Otherwise, my project is dead.

Larry

 

0 项奖励
回复
2,664 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @leisner

 

MCUXpresso IDE 11.3.0 can be downloaded now.  

 

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-i...

 

Regards

Daniel