Error - DWM1001 Dev kit

I have a DWM1001 development kit, installed DRTLS_raspbian on the raspberry pi 3 model B +, connected all the anchors in the application and configured them and got the position of the tag. But when I try to compile and run the source code (after setting the correct port (ttyACM0) in hal_uart.c), I do and ./ex2_ExternalApiTest_1Host and cat log.txt see the error in the factory_reset () function. I try to force manual reset, but stay the same.
Can you help me?