A111 Examples Don't Execute

I recently received a SEN-15577/A111 60 GHz. pulsed radar board. I plugged it into a Raspberry-Pi-3 and then I downloaded and unzipped the SDK from github (SparkFun_Pulsed_Radar_A111_Example_Code-master.zip). At first I had trouble with compilation errors, but that was resolved by going to the most recent version of Raspbian (raspbian-buster). I now can make the execuatibles but they don’t seem to run. {Note: I did edit /boot/config.txt to enable SPI}. The console log below illustrates my problem.

What am I missing?

############################################ Console log ###########################################

# Login @ Sat Oct 19 14:55:33 EDT 2019 in "/Users/wellsca/Desktop"
# Last deh_get @  Fri Jun 22 18:23:10 EDT 2018
[/Users/wellsca/Desktop]$ rpi
# ssh 10.0.1.21
Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Oct 19 19:44:15 2019 from 10.0.1.7
wellsca@raspberrypi:~ $ gcc --version
gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

wellsca@raspberrypi:~ $ cd wd/A111/
wellsca@raspberrypi:~/wd/A111 $ ls -l
total 60
-rw-r--r-- 1 wellsca wellsca 47791 Sep 30 17:51 5768487.pdf
drwxr-xr-x 4 wellsca wellsca  4096 Sep 26 18:54 SparkFun_Pulsed_Radar_A111_Example_Code-master
drwxr-xr-x 5 wellsca wellsca  4096 Oct 17 01:49 unzipped
drwxr-xr-x 2 wellsca wellsca  4096 Oct 11 21:39 zipped
wellsca@raspberrypi:~/wd/A111 $ ls -l zipped/
total 24168
-rw-r--r-- 1 wellsca wellsca 10858538 Oct 11 21:23 A111_Pulsed_Radar_Breakout-master.zip
-rw-r--r-- 1 wellsca wellsca  4753245 Oct  9 18:41 SparkFun_Pulsed_Radar_A111_Example_Code-master.zip
-rw-r--r-- 1 wellsca wellsca  9127830 Oct  9 18:40 SparkFun_Pulsed_Radar_Breakout_A111-master.zip
wellsca@raspberrypi:~/wd/A111 $ cd SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer\ SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111/
wellsca@raspberrypi:~/wd/A111/SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111 $ make clean; make
    Compiling example_service_power_bins.c
    Compiling acc_driver_spi_linux_spidev.c
    Compiling acc_driver_gpio_linux_sysfs.c
    Compiling acc_driver_hal.c
    Compiling acc_driver_os_linux.c
    Compiling acc_device_os.c
    Compiling acc_device_spi.c
    Compiling acc_device_gpio.c
    Compiling acc_log_integration.c
    Creating archive libcustomer.a
    Compiling acc_board_rpi_xc111_r4a_xr111-3_r1c.c
    Linking example_service_power_bins_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_detector_motion.c
    Linking example_detector_motion_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_detector_obstacle.c
    Linking example_detector_obstacle_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_service_envelope.c
    Linking example_service_envelope_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_detector_distance_peak.c
    Linking example_detector_distance_peak_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_detector_distance_basic.c
    Compiling acc_detector_distance_basic.c
    Linking example_detector_distance_basic_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_service_iq.c
    Linking example_service_iq_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Linking acc_streaming_server_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling acc_service_data_logger.c
    Linking acc_service_data_logger_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
    Compiling example_service_sparse.c
    Linking example_service_sparse_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
wellsca@raspberrypi:~/wd/A111/SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111 $ cd out/
wellsca@raspberrypi:~/wd/A111/SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111/out $ ls -l
total 5456
-rwxr-xr-x 1 wellsca wellsca 666792 Oct 19 19:58 example_detector_distance_basic_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 717848 Oct 19 19:58 example_detector_distance_peak_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 778952 Oct 19 19:58 example_detector_motion_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 859880 Oct 19 19:58 example_detector_obstacle_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 657544 Oct 19 19:58 example_service_envelope_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 762524 Oct 19 19:58 example_service_iq_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 632496 Oct 19 19:58 example_service_power_bins_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
-rwxr-xr-x 1 wellsca wellsca 484652 Oct 19 19:58 example_service_sparse_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
drwxr-xr-x 2 wellsca wellsca   4096 Oct 19 19:58 lib
drwxr-xr-x 2 wellsca wellsca   4096 Oct 19 19:58 obj
wellsca@raspberrypi:~/wd/A111/SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111/out $ ls -l /dev/spi*
crw-rw---- 1 root spi 153, 0 Oct 19 19:11 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Oct 19 19:11 /dev/spidev0.1
wellsca@raspberrypi:~/wd/A111/SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111/out $ sudo ./example_detector_distance_basic_rpi_xc111_r4a_xr111-3_r1c_a111_r2c
Acconeer software version v1.8.6
Acconeer RSS version 1.0
00:47:21.310 [ 1601] (E) (sensor_protocol): Timeout waiting for indication on sensor 1
00:47:21.310 [ 1601] (E) (cpd_cbank_calibration): Failed to retrieve indication.
00:47:21.310 [ 1601] (E) (cpd_cbank_calibration): Failed to get CBank result.
00:47:21.310 [ 1601] (E) (sensor_manager): calibrate_sensor: Sensor control: Calibration failure for sensor 1
00:47:21.310 [ 1601] (E) (detector_distance_basic): Distance basic detector not possible to create
acc_detector_distance_basic_create() failed
wellsca@raspberrypi:~/wd/A111/SparkFun_Pulsed_Radar_A111_Example_Code-master/Acconeer SDK/acconeer_rpi_xc111_v1_8_6/rpi_xc111/out $

Hi wellsca,

I think the issue here is you are not calling the right example. When you enter the example name into your Terminal, make sure it is “./sparkfun_detector_distance_basic” as we cover in the [A111 Pulsed Radar Hookup Guide. From your error log, it looks like you are calling “./example_detector_distance_basic”.

Try making sure you are entering the correct example name and see if that fixes the problem. If you continue to have issues, let us know and we can troubleshoot further.](https://learn.sparkfun.com/tutorials/getting-started-with-the-a111-pulsed-radar-sensor#build-and-run-the-test-sketch)