sixlowapp Ping not working in SAM R21

Hi All,

Recently I started using RIOT on my sam r21 xplained board. When I tried to ping between two boards running the sixlowapp application, the application hangs and I need to reset the board to continue working. Can anybody help me to understand it is so?

The log below is taken after enabling debug in ip.c, icmp.c, sixlowshell.c, monitor.c, helper.c, lowpan.c

Node 1 (source from ping initiated)

Hi Abdul,

The ping issue should be fixed by applying https://github.com/RIOT-OS/RIOT/pull/2727. The next problem you might run into with the sixlowapp is that the stacksize settings for the SAM R21 board are currently a little conservative, which causes it to run out of memory when trying to send a UDP packet with the nc command of the sixlowapp. This can be “fixed” by increasing the KERNEL_CONF_STACKSIZE_DEFAULT in RIOT/cpu/samd21/include/cpu-conf.h - I’ve got it to work by increasing it to 1536, but you might have to play around a little.

Cheers, Lucas