[riot-users] sixlowapp Ping not working in SAM R21

Abdulkhadar Abdulla khadar4u at hotmail.com
Sat Mar 28 15:45:00 CET 2015


Hi Lucas,

Thank you. I will apply the patch and update you the progress.

Thanks again.
Abdul

On Mar 28, 2015 6:58 PM, =?ISO-8859-1?Q?Lucas_Jen=DF?= <lists at x3ro.de> wrote:
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

On 28 Mar 2015, at 14:22, Abdulkhadar Abdulla <khadar4u at hotmail.com> wrote:

> 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)
> -----------
>
> 2015-03-28 18:46:17,399 - INFO # ifconfig
> 2015-03-28 18:46:17,400 - INFO #
> 2015-03-28 18:46:17,408 - INFO # Iface   0   HWaddr: 0xa0b9 Channel: 11 PAN ID: 0x0001
> 2015-03-28 18:46:17,412 - INFO #             EUI-64: 5a-56-03-7a-18-64-e1-f1
> 2015-03-28 18:46:17,415 - INFO #             Source address mode: short
> 2015-03-28 18:46:17,417 - INFO #             Transceivers:
> 2015-03-28 18:46:17,419 - INFO #              * at86rf231
> 2015-03-28 18:46:17,426 - INFO #             inet6 addr: fe80::ff:fe00:a0b9/128  scope: local
> 2015-03-28 18:46:17,434 - INFO #             inet6 addr: ff02::1:ff00:a0b9/128  scope: local [multicast]
> 2015-03-28 18:46:17,441 - INFO #             inet6 addr: ff02::1/128  scope: local [multicast]
> 2015-03-28 18:46:17,446 - INFO #             inet6 addr: ::1/128  scope: global
> 2015-03-28 18:46:17,454 - INFO #             inet6 addr: ff02::1:ff00:1/128  scope: local [multicast]
> 2015-03-28 18:46:17,454 - INFO #
> ping fe80::ff:fe00:a545
> 2015-03-28 18:46:35,255 - INFO # > ping fe80::ff:fe00:a545
> 2015-03-28 18:46:35,255 - INFO #
> 2015-03-28 18:46:35,264 - INFO # INFO: send echo request (id = 0001, seq = 1, data_len = zu) to: u
> 2015-03-28 18:46:35,279 - INFO # DEBUG(main): /home/alcodex/Aerosense/RIOT/sys/net/network_layer/sixlowpan/ip.c:77 in ipv6_send_packet: Got a packet to send to fe80::ff:fe00:a545
> 2015-03-28 18:46:35,284 - INFO # INFO: fe80::ff:fe00:a545 is in nbr cache
> 2015-03-28 18:46:35,289 - INFO # sixlowpan_lowpan_sendto(0, dest, 2, data, 52)
>
> <No response after the above log. The device needs a rest to continue>
>
> Node 2 (Target Node for ping)
> ---------
> 2015-03-28 18:46:10,645 - INFO # ifconfig
> 2015-03-28 18:46:10,646 - INFO #
> 2015-03-28 18:46:10,655 - INFO # Iface   0   HWaddr: 0xa545 Channel: 11 PAN ID: 0x0001
> 2015-03-28 18:46:10,658 - INFO #             EUI-64: 57-44-39-8a-2d-7a-e6-f1
> 2015-03-28 18:46:10,661 - INFO #             Source address mode: short
> 2015-03-28 18:46:10,663 - INFO #             Transceivers:
> 2015-03-28 18:46:10,666 - INFO #              * at86rf231
> 2015-03-28 18:46:10,672 - INFO #             inet6 addr: fe80::ff:fe00:a545/128  scope: local
> 2015-03-28 18:46:10,680 - INFO #             inet6 addr: ff02::1:ff00:a545/128  scope: local [multicast]
> 2015-03-28 18:46:10,687 - INFO #             inet6 addr: ff02::1/128  scope: local [multicast]
> 2015-03-28 18:46:10,692 - INFO #             inet6 addr: ::1/128  scope: global
> 2015-03-28 18:46:10,700 - INFO #             inet6 addr: ff02::1:ff00:1/128  scope: local [multicast]
>
>
> Thanks
> Abdul
> _______________________________________________
> users mailing list
> users at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/users

_______________________________________________
users mailing list
users at riot-os.org
http://lists.riot-os.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20150328/4d876e4e/attachment-0001.html>


More information about the users mailing list