AnsweredAssumed Answered

KSDK ethernet example results in crash

Question asked by Peter Ruesch on Nov 4, 2015
Latest reply on Oct 6, 2017 by hiren tailor

Hi,

 

i wanted to try the lwip + freertos example coming with KSDK 1.3 on the TWR-K65 + TWR-SER module.

The example is located in /opt/Freescale/KSDK_1.3.0/examples/twrk65f180m/demo_apps/lwip/lwip_tcpecho_demo/tcpecho_rtos/tcpecho_freertos/kds

 

Basically, it works. you can ping the board.

 

but as soon as i put it under some stress, it reliably stops working.

I'm using echoping to send some traffic to the target.

echoping -s 50000 -n 20 -w 0.1 192.168.2.102

this should send a message of ~50k size every 100 ms to the target. repeating 20 times.

 

but in gets a answer to the echo request only 5-6 times before  the example target stops responding.

Sometimes the program just gets trapped in the DefaultISR Handler or it just does not respond on ethernet requests anymore. It just refuses to react even to normal ping requests.

 

this happens in release and debug builds.

 

attached is a wireshark session of the procedure. Can anyone recreate this problem and suggest a fix for it ?

 

best regards.

 

Peter

Original Attachment has been moved to: echoping_filtered.pcapng.zip

Outcomes