This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I have a custom PCB with CC2650- MODA, and I have modified the Contiki files to get the correct UART pins for the custom board.
Basic examples works fine. But the RPL-BORDER_ROUTER application does not work!!
When you use LaunchPad and you plug to the Raspberry, you can see the /dev/ttyACM0 appearing and I can use the tunslip6 to perform the Border Router.
I do not have USB plug in my custom PCB, because I am using only RX, TX, VCC and GND pins to connect to the raspberry.
So, when I connect I do not see any /dev/tty.something.
I only have /dev/ttyAMA0 and /dev/ttyS0 that I was configured in the raspberry at the boot time.
But, when I execute the tunslip ... it does not work.
Is there any way to test the CC2650 UART pins?
Is there any way to map the UART pins to some /dev/ttyACM0 to be recognized by the tunslip6 app?
Regards
Hi Chen
As I said, I have a custom PCB so I change the board.h to utilize the correct UART pins of the CC2560MODA.
In the slip radio files, there is no code to assign the UART pins. I believe it uses the UART pins previously configured for the platform
I put a REST example code in the board and it works fine.
The problem is to use the UART pins or how to configure to be used as a border router.
sudo ./tunslip6 -s /dev/ttyS0 aaaa::1/64
********SLIP started on ``/dev/ttyS0''
opened tun device ``/dev/tun0''
ifconfig tun0 inet `hostname` mtu 1500 up
ifconfig tun0 add aaaa::1/64
ifconfig tun0 add fe80::0:0:0:1/64
ifconfig tun0
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.1.1 P-t-P:127.0.1.1 Mask:255.255.255.255
inet6 addr: fe80::e150:525e:fb6d:d3a8/64 Scope:Link
inet6 addr: aaaa::1/64 Scope:Global
inet6 addr: fe80::1/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I can not see the Border Router Ip address.
Thank you.
I have found a problem when creating the new board.h file and the makefile configuration to be used in Contiki border router.
It is working now.
Thanks