I would like to use devpack debug uart functionality together with CC2650 sensortag programmed as contiki rpl-border-router following official (and tested?) TI instruction here https://github.com/contiki-os/contiki/tree/master/platform/srf06-cc26xx
CC13xx/CC26xx Border Router over UART
The platform code can be used as a border router (SLIP over UART) by using the example under examples/ipv6/rpl-border-router. This example defines the following:
#ifndef UIP_CONF_BUFFER_SIZE
#define UIP_CONF_BUFFER_SIZE 140
#endif
#ifndef UIP_CONF_RECEIVE_WINDOW
#define UIP_CONF_RECEIVE_WINDOW 60
#endif
The CC26xx port has much higher capability than some other platforms used as border routers. Thus, before building the example, it is recommended to delete these two configuration directives. This will allow platform defaults to take effect and this will improve performance and stability.
Do not forget to set the correct channel by defining RF_CORE_CONF_CHANNEL as required.
I am able to compile and flash the target and it runs as expected, but only until powering it down. When after programming using Flash Programmer 2 I do a pushbutton reset without disconnecting USB power all works OK. After disconnecting USB power and connecting again (sensortag battery is connected) i have the following output on UART:
The target keeps resetting judging on uart output and crazy activities on LEDs.
Now, if I open Flash Programmer 2 and press the Refresh button all goes to required state:
I have tried to investigate it, but with no luck.
Interestingly other sensortag contiki applications do not have that effect on UART and operate OK
According to devpack debug user guide here http://processors.wiki.ti.com/index.php/Debug_DevPack_User_Guide
The pins numbers and names are inconsistent with reference design schematic from here http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=swrc305&fileType=zip
Can anyone help to solve the issue, please?
Jan



