Uživatelské nástroje

Nástroje pro tento web


cs:usb232r

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revizePředchozí verze
Následující verze
Předchozí verze
cs:usb232r [2020/05/29 08:56] – [Jak změnit VID a PID, pokud převodník má nastavenu jinou hodnotu než výchozí] kaklikcs:usb232r [2022/01/28 17:17] (aktuální) – [Linux] kaklik
Řádek 32: Řádek 32:
 Pro změnu konfigurace modulu v systému linux lze využít utilitu [[https://github.com/hi-pauls/ft232r_prog|ft232r_prog]] Pro změnu konfigurace modulu v systému linux lze využít utilitu [[https://github.com/hi-pauls/ft232r_prog|ft232r_prog]]
  
 +  git clone git@github.com:hi-pauls/ft232r_prog.git
 +  cd ft232r_prog/
 +  make
 +
 +Následně lze program spustit. 
 +
 +  kaklik@popelnice:~/programy/ft232r_prog$ ./ft232r_prog 
 +  
 +  ft232r_prog: version 1.25, by Mark Lord.
 +  
 +  Usage:  ft232r_prog [<arg> <val>]..
 +  
 +  where <arg> must be any of:
 +    --help     # (show this help text)
 +    --dump     # (dump eeprom settings to stdout))
 +    --verbose  # (show debug info and raw eeprom contents)
 +    --save     # (save original eeprom contents to file)
 +    --restore  # (restore initial eeprom contents from file)
 +    --cbus0  [TxDEN|PwrEn|RxLED|TxLED|TxRxLED|Sleep|Clk48|Clk24|Clk12|Clk6|IO|WR|RD|RxF]
 +    --cbus1  [TxDEN|PwrEn|RxLED|TxLED|TxRxLED|Sleep|Clk48|Clk24|Clk12|Clk6|IO|WR|RD|RxF]
 +    --cbus2  [TxDEN|PwrEn|RxLED|TxLED|TxRxLED|Sleep|Clk48|Clk24|Clk12|Clk6|IO|WR|RD|RxF]
 +    --cbus3  [TxDEN|PwrEn|RxLED|TxLED|TxRxLED|Sleep|Clk48|Clk24|Clk12|Clk6|IO|WR|RD|RxF]
 +    --cbus4  [TxDEN|PwrEn|RxLED|TxLED|TxRxLED|Sleep|Clk48|Clk24|Clk12|Clk6|IO|WR|RD|RxF]
 +    --manufacturer       <string>  # (new USB manufacturer string)
 +    --product            <string>  # (new USB product name string)
 +    --old-serial-number  <string>  # (current serial number of device to be reprogrammed)
 +    --new-serial-number  <string>  # (new USB serial number string)
 +    --self-powered       [on|off]  # (self powered)
 +    --max-bus-power      <number>  # (max bus current in milli-amperes)
 +    --high-current-io    [on|off]  # (enable high [6mA @ 5V] drive current on CBUS pins)
 +    --suspend-pull-down  [on|off]  # (force I/O pins into logic low state on suspend)
 +    --old-vid    <number>  # (current vendor id of device to be reprogrammed, eg. 0x0403)
 +    --old-pid    <number>  # (current product id of device to be reprogrammed, eg. 0x6001)
 +    --new-vid    <number>  # (new/custom vendor id to be programmed)
 +    --new-pid    <number>  # (new/custom product id be programmed)
 +    --invert_txd   Inverts the current value of TXD
 +    --invert_rxd   Inverts the current value of RXD
 +    --invert_rts   Inverts the current value of RTS
 +    --invert_cts   Inverts the current value of CTS
 +    --invert_dtr   Inverts the current value of DTR
 +    --invert_dsr   Inverts the current value of DSR
 +    --invert_dcd   Inverts the current value of DCD
 +    --invert_ri    Inverts the current value of RI
 +  
 +  kaklik@popelnice:~/programy/ft232r_prog$
 +  
 +Program tak lze využít například k obnovení funkce zařízení [[https://www.m0yom.co.uk/ftdi-serial-killer-quite/|bricknutého FTDI driverem]]. 
 +  
 +  sudo ./ft232r_prog --old-pid 0x000 --new-pid 0x6001
 +  
 ===== Využití ===== ===== Využití =====
  
cs/usb232r.1590742588.txt.gz · Poslední úprava: 2020/05/29 08:56 autor: kaklik