HDMI2USB-numato-opsis-sample-code icon indicating copy to clipboard operation
HDMI2USB-numato-opsis-sample-code copied to clipboard

Create code for the FX2 to act as a USB-UART

Open mithro opened this issue 10 years ago • 3 comments

From @mithro on July 17, 2015 7:30

The FX2 should be loadable with firmware which makes it appear like a CDC-ACM serial port and is connected to the FPGA.

The FX2 has its two hardware UARTs connected to the FPGA;

  • Two hardware UARTs
    • Port 0
      • RX - Cypress (Pin 41) -> FPGA (Pin P18 / IO_L71N_1) -- Incorrectly labeled CY_RXD1
      • TX - FPGA (Pin T17 / IO_L72N_1) -> Cypress (Pin 40) -- Incorrectly labeled CY_TXD1
    • Port 1
      • RX - Cypress (Pin 43) -> FPGA (Pin P17 / IO_L71P_1) -- Incorrectly labeled CY_RXD0
      • TX - FPGA (Pin R17 / IO_L72P_1) -> Cypress (Pin 42) -- Incorrectly labeled CY_TXD0

Copied from original issue: mithro/numato-opsis-sample-code#1

mithro avatar Jul 19 '15 12:07 mithro

This issue was moved to timvideos/HDMI2USB-numato-opsis-hardware#1

mithro avatar Jul 19 '15 12:07 mithro

Working firmware has been created in my branch of fx2lib - you can find it at https://github.com/mithro/fx2lib/tree/adding-cdc-examples-working

mithro avatar Jul 19 '15 12:07 mithro

  1. Checkout the "adding cdc examples working" branch of fx2lib version at https://github.com/mithro/fx2lib/tree/adding-cdc-examples-working
  2. Go to fx2lib/examples/cdc/to-uart/ and compile the firmware.
  3. Use the following download script at https://github.com/mithro/fx2lib/wiki/Getting-Started (or any other way to would like to load the fx2 binary).

There are a whole heap of bugs on the USB-UART stuff at the moment see https://github.com/mithro/fx2lib/issues

mithro avatar Aug 11 '15 10:08 mithro