(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Debugging K79 via USB

Description: Guide on debugging hardware issues via PuTTY over USB

Tutorial Level: INTERMEDIATE

Overview

The K79 imaging radar streams data over Ethernet via UDP to a specified host machine IP and port. These network parameters, along with the netmask, gateway and as the radar's IP, are stored in nonvolatile memroy and can be configured using a simply GUI interface as described in a previous tutorial.

However, if the networking parameters become corrupted or other issues are encountered, they can be debugged by connecting to the radar via USB 2.0 and use a monitor like PuTTY to read debug info printed as the radar is booting and run.

Disassembling the radar

See the previous tutorial for details on disassembling the radar. Once you have the digital and antenna boards out, connect them together outside the enclosure as shown below.

k79_usb.jpg

You can connect the Ethernet plug normally, but will need to remove the power connector from the enclosure and attach it carefully to the boards as shown. To remove the power connector, unscrew the two hex screws on the back of the enclosure and pop it out.

k79_power_connector.jpg

Connecting via USB

Using a micro USB cable, connect to the port on the top of the radar digital board and to your PC, then power on the radar. In the output of dmesg in a terminal, you should see something like the following:

k79_usb_dmesg.png

Next, open PuTTY and conifgure the settings to serial at baudrate 115200 as shown below:

k79_putty_config.png

Click Open to start monitoring and power cycle the radar. The following network configuration will print after a few seconds of device autonegotiation with your PC:

k79_putty_autoneg.png

Finally, if your radar pings and has correct network settings but won't run, you can use the python GUI from the ainstein_radar_drivers package to connect and run the radar with PuTTY open. When the radar is run, you should see additional debug output in PuTTY like the following:

k79_putty_run.png

Wiki: ainstein_radar/Tutorials/Debugging K79 via USB (last edited 2020-02-13 20:02:43 by nrotella-ainstein)