[port DW1000] Mote keeps geting desynchronized and restarted

Description

Hello,
i'm working on porting OpenWSN to my board with Decawave DW1000 chip and STM32F4 MCU. But while trying to synchronize mote to DAGroot it keeps getting desynchronized. And it keeps getting restarted because task list in scheduler had overflown.
Here is log from openvisualizer:

scons: Reading SConscript files ...

___ _ _ _ ___ _ _

.

___ ___ ._ _

/ __>

\

 

. \/ ._>

'

__ \

`___'| /_.||

 

// <__/|_|

_

openwsn.org

scons: done reading SConscript files.
scons: Building targets ...
Delete("build/runui/web_files")
Mkdir("/home/karlo/PROJEKT/openwsn-sw/software/openvisualizer/build/runui")
Copy("build/runui/web_files", "bin/openVisualizerApp/web_files")
Delete("build/runui/sim_files")
Mkdir("/home/karlo/PROJEKT/openwsn-sw/software/openvisualizer/build/runui")
Copy("build/runui/sim_files", "bin/openVisualizerApp/sim_files")
uiRunner(["bin/openVisualizerApp/openVisualizerWeb"], ["bin/openVisualizerApp/openVisualizerWeb.py"])
ioctl(TUNSETIFF): Device or resource busy

created following virtual interface:
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/none
inet6 bbbb::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::1/64 scope link
valid_lft forever preferred_lft forever
10:24:24 INFO create instance
10:24:24 INFO create instance
10:24:24 INFO create instance
10:24:24 INFO create instance
10:24:24 INFO create instance
10:24:24 INFO create instance
OpenVisualizer
web interface started at 0.0.0.0: 8080
enter 'quit' to exit
Available ports: /dev/ttyUSB1 /dev/ttyUSB0

OpenVisualizer (type "help" for commands)
> 10:24:32 INFO 7735 [OPENWSN] booted
10:24:37 INFO 7235 [OPENWSN] booted
10:24:44 INFO 7235 [OPENWSN] booted
10:24:49 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:25:15 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:25:21 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:25:43 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:25:57 INFO 7235 [OPENWSN] booted
10:26:05 INFO 7235 [OPENWSN] booted
10:26:08 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:26:34 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:26:37 INFO 7235 [OPENWSN] booted
10:26:42 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:27:10 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:27:12 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:27:36 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:27:46 INFO 7235 [OPENWSN] booted
10:27:48 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:28:16 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:28:24 INFO 7235 [OPENWSN] booted
10:28:27 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:28:53 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:28:56 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:29:24 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:29:28 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:29:55 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:29:58 INFO 7235 [IEEE802154E] synchronized at slotOffset 0
10:30:19 ERROR 7235 [IEEE802154E] got desynchronized at slotOffset 10
10:30:25 INFO 7235 [OPENWSN] booted
10:30:29 INFO 7235 [OPENWSN] booted

Thank you in advance
Karlo

Environment

None

Status

Assignee

Unassigned

Reporter

kmihalic NA

Labels

Story Points

None

Priority

Normal