greatscottgadgets / apollo

microcontroller-based FPGA / JTAG programmer
BSD 3-Clause "New" or "Revised" License
54 stars 28 forks source link

flash bridge uses incorrect port #94

Closed mossmann closed 2 weeks ago

mossmann commented 2 weeks ago

Since https://github.com/greatscottgadgets/cynthion/pull/100 the flash bridge (invoked by apollo flash --fast) tries to use the AUX port on Cynthion instead of the CONTROL port.

Workaround: Connect a cable from the control host to AUX in addition to the connection to CONTROL.

Workaround: Don't use the --fast option.

Proposed solution: Add apollo_gateware_phy to LUNAApolloPlatform which looks for apollo_port_sharing and otherwise uses default PHY. Have flash bridge use apollo_gateware_phy.