openvizsla edited this page Mar 14, 2014 · 2 revisions

Running ovctl

Usage info:

~/ov_ftdi/software/host $ ./ovctl.py -h
usage: ovctl.py [-h] [--pkg PKG] [-l] [--verbose] [--config-only]
                
                {uwrite,uread,report,sdramtest,sniff,debug-stream,ioread,iowrite,led-test,eep-erase,eep-program,lb-test}
                ...

positional arguments:
  {uwrite,uread,report,sdramtest,sniff,debug-stream,ioread,iowrite,led-test,eep-erase,eep-program,lb-test}

optional arguments:
  -h, --help            show this help message and exit
  --pkg PKG, -p PKG
  -l, --load
  --verbose, -v
  --config-only, -C

Command usage:

  • sniff {ls,fs,hs}

    This command will stream out a textual representation of USB traffic to stdout, based on the speed parameter (low-speed, full-speed, high-speed)

Board testing:

  • report

    Runs a self-test on the ULPI phy and SDRAM. Use this to make sure your board was correctly assembled.

  • led-test

    This command expects an integer parameter 0..7, which will specify the state of the 3 status LEDs.

  • sdramtest

    Deprecated; do not use

Firmware development:

  • uwrite
  • uread
  • debug-stream
  • ioread
  • iowrite
  • lb-test

Provisioning (DANGEROUS):

  • eep-erase

    Reset the FT2232H EEPROM to unprogrammed status; this will reset the VID/PID to 0403/6010 and may cause problems unless you unload the FTDI kernel driver.

  • eep-program <serialno>

    Programs the correct OV3 USB descriptor into EEPROM, including the serial number and FPGA type.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.