Problems with 6lowpan on at91: ping (truncated)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all!

I'm using two boards with an at91 CPU and the at86rf233 xplained pro from Atmel.
Linux kernel: 4.1.
SPI max freq: 4MHz
Xtal-trim line removed.

To make the things work i had to remove "xtal-trim = /bits/ <0x0F>" and change the interrupt type in the dts file to be activated on rising edge because after each normally served interrupt routine, the driver goes to read the interrupt register of the chip even if there isn't any interrupt signal on the line, it reads 0x00 and warns about the error.

Leaving apart this particular, now i can ping a board from the other, but i have to use a small packet:
ping6 -s 32 fe80::xxxx%lowpan0

If i use a higher packet size, the responses from the other board are acquired as "(truncated)". This problem is reflected on other application, like tcp and udp.

Using netcat6 on server:
nc6 -l -p 8888 -v

Using netcat6 on client, sending "Hello":
nv6 -v fe80::xxxx 8888
Hello

On server:
[... connected]
Hello
<some characters without sense...>

The TCP connection now is gone. With UDP i can continue to send and receive messages, but the stream has got these characters anyway.
I've tried to force nc6 using higher and lower mtu, but the error seems to ignore it.
Also the wpan "max_frame_retries" property seems to be not relevant.

What should i try?

Thanks for your work,

Luca Zulberti.
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux