|
| 1 | + |
| 2 | +# How to detect a shell timeout has occured |
| 3 | + |
| 4 | +* Shell-CL interface timeouts can be detected by checking for non-zero timeout counters. These metrics can be read using this command: |
| 5 | +``` |
| 6 | +$sudo fpga-describe-local-image -S 0 -M |
| 7 | +AFI 0 agfi-0f0e045f919413242 loaded 0 ok 0 0x04151701 |
| 8 | +AFIDEVICE 0 0x1d0f 0xf000 0000:00:1d.0 |
| 9 | +sdacl-slave-timeout=0 |
| 10 | +virtual-jtag-slave-timeout=0 |
| 11 | +ocl-slave-timeout=0 |
| 12 | +bar1-slave-timeout=0 |
| 13 | +dma-pcis-timeout=0 |
| 14 | +pcim-range-error=0 |
| 15 | +pcim-axi-protocol-error=0 |
| 16 | +pcim-axi-protocol-4K-cross-error=0 |
| 17 | +pcim-axi-protocol-bus-master-enable-error=0 |
| 18 | +pcim-axi-protocol-request-size-error=0 |
| 19 | +pcim-axi-protocol-write-incomplete-error=0 |
| 20 | +pcim-axi-protocol-first-byte-enable-error=0 |
| 21 | +pcim-axi-protocol-last-byte-enable-error=0 |
| 22 | +pcim-axi-protocol-bready-error=0 |
| 23 | +pcim-axi-protocol-rready-error=0 |
| 24 | +pcim-axi-protocol-wchannel-error=0 |
| 25 | +sdacl-slave-timeout-addr=0x0 |
| 26 | +sdacl-slave-timeout-count=0 |
| 27 | +virtual-jtag-slave-timeout-addr=0x0 |
| 28 | +virtual-jtag-slave-timeout-count=0 |
| 29 | +ocl-slave-timeout-addr=0x8001 |
| 30 | +ocl-slave-timeout-count=0 |
| 31 | +bar1-slave-timeout-addr=0x2001 |
| 32 | +bar1-slave-timeout-count=0 |
| 33 | +dma-pcis-timeout-addr=0x0 |
| 34 | +dma-pcis-timeout-count=0 |
| 35 | +pcim-range-error-addr=0x0 |
| 36 | +pcim-range-error-count=0 |
| 37 | +pcim-axi-protocol-error-addr=0x0 |
| 38 | +pcim-axi-protocol-error-count=0 |
| 39 | +pcim-write-count=0 |
| 40 | +pcim-read-count=0 |
| 41 | +DDR0 |
| 42 | + write-count=0 |
| 43 | + read-count=0 |
| 44 | +DDR1 |
| 45 | + write-count=0 |
| 46 | + read-count=0 |
| 47 | +DDR2 |
| 48 | + write-count=29797854199 |
| 49 | + read-count=4 |
| 50 | +DDR3 |
| 51 | + write-count=0 |
| 52 | + read-count=0 |
| 53 | +``` |
| 54 | +* For detailed infomation on metrics, see [Amazon FPGA Image Management Tools README](../../sdk//userspace/fpga_mgmt_tools/README.md) |
0 commit comments