elhep / MicroTCA-chassis

Micro TCA chassis for single AMC + RTM
2 stars 2 forks source link

USB / JTAG subsystem #6

Closed kaolpr closed 2 years ago

kaolpr commented 2 years ago

To make product more versatile, I'd like to suggest the following USB / JTAG subsystem:

mtca_chassis_jtag

Approximate costs:

Total: 21.64 USD (FT2232) or 66.40 USD (SMT2-NC) + logistics + manufacturing

gkasprow commented 2 years ago

can't we just use JTAG over SPI?

gkasprow commented 2 years ago

can't single FT2232 be used as both UART and JTAG ?

gkasprow commented 2 years ago

what about using a switch that connects FT2232 either to SBC to external micro USB (device). We could have two use cases:

  1. UART + JTAG operated locally (USB plugged)
  2. JTAG operated remotely (USB unplugged) I don't know if we need more scenarios
gkasprow commented 2 years ago

actually, we can run Xilinx VCS over GPIO. https://github.com/kholia/xvcpi

gkasprow commented 2 years ago

btw, FT2232 is unobtanium these days..

gkasprow commented 2 years ago

I would keep it simple:

In this way, we have all scenarios as primarily mentioned at a fraction of cost.

gkasprow commented 2 years ago

not all AMCs implement JTAG over AMC connectors. in this way we would connect the programmer between the SBC host and native JTAG connector

kaolpr commented 2 years ago

mtca_chassis_jtag

I appreciate simplicity. However, I'd opt for a minor additions:

gkasprow commented 2 years ago

Actually, we don't necessarily need a USB hub, we can use a switch instead. It's hard to buy any switch these days

gkasprow commented 2 years ago

That's not that bad, some hubs are still available, i.e. USB2503-HZH, USB2504A-JT

kaolpr commented 2 years ago

Actually, there is even some choice: LINK

gkasprow commented 2 years ago

yep, a few months ago it was much worse :)

gkasprow commented 2 years ago

wow, even some UART bridges are again available ;D

gkasprow commented 2 years ago

I used Atmega32U4 as a USB to master/slave I2C bridge due to FTDI issues