xcore/sc_ethernet — Issue #22: app_demo_code does not like my ping
Author: interactive-matter
Created: 2011-12-15 11:25:23+00:00
State: open

Hi,

I am a bit desparied: I copied over the code of app_ethernet_demo to my led tile app. Works fine. But I cannot ping my device. I wanted to test the app_ethernet_demo on my XC-2 to verify that I got the same problem there. But it just crahses with an exception:
xrun: Program received signal ET_ECALL, Application exception.
[Switching to stdcore[2] hwthread 0]
I just used the binary build by using the module. I think XDE has simbly build the whole module.

I have debugged (as in inspecting the network packages) everything and my conclusion is:
a) the ICMP handler never finds the neccessary 0x01 at frame position 23 (which is the icmp check). Even with debugging I am not really able to find a ping package
b) I see that my ping packages al have a invalid header checksum (0) from my computer. Is there something in the ethernet stack which drops those kind of bad packages? I assume not, but nevertheless I am completely puzzled that I do not see my ping packages in the XDE debugger (ok, ethernet speed and XDE debugger speed do not really fit well together)

Thanks

Marcus