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:
Treat all FMC ADC boards as active versions
Try to read from an IC only available in the active version
If unsuccessfully, fallback to the passive version. If not, continue to the active version
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: