lnls-dig / halcs

Hardware Abstraction Layer for Control Systems
GNU General Public License v3.0
1 stars 4 forks source link

[CLOSED] [smio:fmc130m_4ch] Differentiate between active/passive version #42

Closed lerwys closed 8 years ago

lerwys commented 8 years ago

Issue by lerwys Friday Oct 24, 2014 at 01:12 GMT Originally opened as https://github.com/lnls-dig/bpm-sw/issues/42


Problem: We need to be able to differentiate between active/passive version of the FMC130M_4CH boards, so we can export the necessary functions. The standard way of doing this is by reading the FMC FRU EEPROM and loading the necessary driver/firmware. However, this might be cumbersome and time-consuming to implement right now.

Intermediate Solution: A different solution, in the meantime, could be to try to read from a component only available in the active version of the board, through SPI or I2C. If unsuccessfully, we know the board is passive.

The proposed solution would be:

  1. Treat all FMC ADC boards as active versions
  2. Try to read from an IC only available in the active version
  3. If unsuccessfully, fallback to the passive version. If not, continue to the active version