apollo-lhc / cm_mcu

Microcontroller source code for the APOLLO blade for the CMS tracker HL-LHC upgrade.
MIT License
3 stars 2 forks source link

add CLI command to program FPGA from flash #187

Closed pwittich closed 1 year ago

pwittich commented 1 year ago

Simple command to program F1 or F2 from flash. Assume flash was previously programmed.

  1. Set GPIO pin FPGA_CFG_FROM_FLASH to 1
  2. Toggle F1_FPGA_PROGRAM (or F2_) for a few ms (low - high - low)
  3. done