Wiki

This version (25 Jul 2022 11:53) was approved by Michael Hennerich.The Previously approved version (18 Mar 2021 16:22) is available.Diff

JESD204B Status Utility

The jesd_status utility is in some sense similar to the JESD204B Eye Scan application. It currently doesn't support EYE SCAN, but can show all the link and lane status information, similar to the JESD204B Eye Scan, while being much more lightweight and doesn't require a graphical desktop environment. It can be started from a serial root console or from a SSH terminal.

It interfaces with the JESD204 Interface Framework:

And reads the status information of all devices from SYSFS, aggregates and processes them and finally pretty prints it to the terminal in a continuous fashion. A single key event will terminate the application.

In case this utility is not available on your platform you may run following command below to extract similar information:
root@analog:/# grep "" /sys/bus/platform/drivers/axi-jesd204*/*/status /sys/bus/platform/drivers/axi-jesd204*/*/lane* /sys/bus/platform/drivers/axi-jesd204*/*/encoder

Source

Running the software

The software is started from the command line (it's better to do this as root):

Usage: jesd_status [-s] [-p PATH] 
    -s     Simple mode no boxes and frames (useful for serial terminals)
    -p     Allows setting a different directory root. Default is /. 
           This is useful when running the tool remote

Running local

This specifies any root shell prompt running on the target

root@analog:~# jesd_status

Running local via a simple terminal

Depending on the terminal used colors might be unsupported and boxes, frames might not be properly displayed. The -s option allows to disable boxes, while setting the TERM variable will fix the display.

This specifies any root shell prompt running on the target

root@analog:~# TERM=vt100 jesd_status -s

resources/tools-software/linux-software/jesd_status.txt · Last modified: 25 Jul 2022 11:53 by Michael Hennerich