lwip_httpsrv will crash running on i.mxrt1062

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

lwip_httpsrv will crash running on i.mxrt1062

1,203 次查看
jimmyli
Contributor IV

Hi, 

     We are testing the official SDK on i.mxrt1062 evk, but encounter a problem shown below.

     Can you help to check and fix it ?

      Thanks very much.

 

      EVK: MIMXRT1060-EVKB

      SDK: SDK_2_14_0_MIMXRT1060-EVKB

      Example: lwip_examples\lwip_httpsrv\freertos

      Test: EVK connects to switch (brand: VGREEN), mcu will crash after running 5-10 minutes; EVK connects to PC, mcu will run well.

0 项奖励
回复
6 回复数

1,164 次查看
chenWide
Contributor I

demo stopped simply working,in debuger ,no display other message.

I do not modify the source code ,it is run whith fault.

0 项奖励
回复

1,144 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @chenWide 

Thanks for letting me know, I will run the demo on my side. 

I would appreciate if you could test on the latest SDK. So we could narrow down this further. 

Also, when the demo fails in which lines of code is  running? 

Diego.

0 项奖励
回复

1,179 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jimmyli 

Thank you for reaching out. 

I understand that the demo fails when the EVK ethernet port is connectd to the VGREEN switch,  but not when  connected to the ethernet port of your PC. Let me know otherwise. 

I want to know more details regarding the issue you are reporting, so we could investigate. Below some questions that I have. Let me know if you have any more details to consider.

Did the demo stopped simply working,  did you saw  a hardfault using the debugger? 

Is there any additional information or  steps process to reproduce the issue? For example if you modified the demo or if you have to interact with the demo to see failure, or simply let it run. 

What is the model of the switch and how did you connect it?

SDK 2.15.1 is currently available, I suggest to test this demo on your side as well, to narrow down the issue

All the best, 

Diego

0 项奖励
回复

1,121 次查看
chenWide
Contributor I

Download  SDK versio 2.15 ,I have test the lwip_httpsrv function. In the case of conect network by Vgreen  (telephone) exchange after 5-10 minites, the Process of firmware is also dead. Only the version 2010.1 release  is test OK。

0 项奖励
回复

1,114 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jimmyli 

Thank you for the additional information and for checking with other SDK releases.  

I am currently doing sanity test on my end with latest SDK. For now, I am limited to use my PC and the RT1060-EVK. I am using demo's timer and checking if the page re-loads.

diego_charles_0-1717777125998.png

Could you help me with more details regarding the failure? I guess that you are not longer seeing the timer updating or the web page responding. 

Currently I do not  know  about your VGREEN network switch setup . Also, Is this the switch between your PC and the EVKB? Is there any other device on the network?

I can not replicate with the same environment you have ( I do not have a switch), but I suggest the following:

- Use an sniffer an check if the  status of the session  between the EVK and the PC. For example, if there is time-out or if the session gets closed. 

- After the demo stops working on your PC, do a ping to the demo. Check if there is any reply.

diego_charles_1-1717778877579.png

Thank you very much for reporting this issue and for your help testing my suggestions. I do appreciate.  

Diego

 

0 项奖励
回复

1,159 次查看
chenWide
Contributor I

 the demo stopped simply working, I do no see  a hardfault using the debugger.

I do not modifie the demo and run it .

I connect by JTAG/SWD mode to  write code to Nor flash and run it 

0 项奖励
回复