aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager
Commit message (Collapse)AuthorAgeFilesLines
* mpm: n310: Allow Ethernet connections to both SFPsMartin Braun2017-12-221-16/+30
| | | | Reviewed-By: Trung Tran <trung.tran@ettus.com>
* mpm/mpmd: Move to request_xport()/commit_xport() architectureMartin Braun2017-12-222-130/+351
| | | | | This commit combines code from various branches to finally enable both UDP and Liberio transports.
* mpm: Lower logging level for PeriphManagerBase.deinit()Martin Braun2017-12-221-2/+2
|
* mpm: n310: Load Liberio dispatcherMartin Braun2017-12-221-9/+39
| | | | | Note: The dispatcher is not yet used at this point. However, it will check the existence of certain devices.
* mpm: Cache connection type in PeriphManagerBaseMartin Braun2017-12-221-0/+13
| | | | | | Now, when claiming a device, the connection type will be stored as a string in PeriphManagerBase. This way we can read out the current connection type even when not currently inside an RPC call.
* mpm: Remove leading _ from _get_device_info()Martin Braun2017-12-221-1/+2
| | | | Use @norpc instead. This fixes some linting issues.
* mpm: Make list_updateable_components return somethingMartin Braun2017-12-221-2/+1
|
* fpga load: add N310 update FPGA functionBrent Stapleton2017-12-221-0/+14
| | | | | -update_fpga loads the FPGA image from the base class's update_component function -checks if FPGA image is a bit or bin file, and converts to Zynq-compatible binfile if necessary
* fpga load: add update_component function to MPMBrent Stapleton2017-12-222-0/+95
| | | | | | | | -update_component takes a byte array containing the data to be written, and a dictionary containing the metadata of the component to be updated -The metadata must contain 'id' and 'filename' -The metadata may contain an md5 hash ('md5')
* mpm: Minor refactoring of PeriphManagerBase attributesMartin Braun2017-12-222-8/+3
|
* mpm: n310: Enable read/write of user EEPROM dataMartin Braun2017-12-221-0/+67
| | | | | | This exposes two new API calls to read and write arbitrary data to the device's EEPROM. Please keep in mind that EEPROMs have limited write cycles!
* n3xx: enable 1G clock with gpio settings.Ryan Marlow2017-12-221-0/+17
|
* mpm: n3xx: Add GPS locked sensorTrung N Tran2017-12-221-0/+13
|
* mpm: Provide default dboard EEPROM getter/settersMartin Braun2017-12-221-0/+28
| | | | | The setter will throw an exception though. It is supposed to be overriden by device-specific classes.
* mpm: n310: Add mboard EEPROM supportMartin Braun2017-12-221-0/+15
| | | | | This is a specific override for the N310. It returns all the default device info as a dict.
* mpm: Add mboard EEPROM supportMartin Braun2017-12-221-1/+25
| | | | | | MPMD binds a property for the mboard EEPROM to the appropriate RPC calls. PeriphManager now provides default implementations for an mboard EEPROM.
* mpm/n310: Moved the mboard ref_locked sensor into MPMMartin Braun2017-12-221-0/+28
| | | | | | | | An N310 device will query all its dboards for ref lock status and return a Boolean combination as a motherboard sensors (note: the N310 does not actually have a ref_locked sensor on the motherboard, this is mostly for backwards-compat with UHD applications that expect a motherboard ref lock sensor).
* mpm: Added sensor APIMartin Braun2017-12-221-0/+38
| | | | | | | | - Motherboard sensors are automatically populated into the property tree, they can be automatically enumerated and queried - Daughterboard sensors have an API for querying and enumerating sensors, but this commit does not automatically add them to the property tree
* mpm: add n310 motherboard revD supportTrung N Tran2017-12-221-37/+78
| | | | | | | | | | This will enable both RevC and RevD from an MPM perspective. The revision read back from the EEPROM is used to enable the code for either rev. The impact on the code is limited to the port expander GPIOs. Port expander objects are instantiated in both the N310 MPM module as well as the n3xx_bist executable.
* mpm: Added max rev check overridableMartin Braun2017-12-222-5/+30
| | | | | | When reading revision numbers from EEPROM, we now have an easy way of checking of our version MPM is sufficient to run on the current device. N310 implicitly makes use of this starting with this commit.
* mpm: n3xx: Don't set time and clock source without dboardsMartin Braun2017-12-221-6/+14
| | | | | | | | When there are no daughterboards present, clock and time source are meaningless. It's also possible that corresponding FPGA images are not loaded, in which case trying to set those could crash the system. Unless daughterboards are actually present, these settings won't get applied any more.
* mpm: Overlay handling functions use dtoverlay moduleMartin Braun2017-12-221-10/+8
|
* mpm: n3xx: Fix TCA GPIO read functionMartin Braun2017-12-221-1/+1
| | | | Used to always return None, now returns the actual pin value.
* mpm: n3xx: Change default state for TCA GPIOsMartin Braun2017-12-221-1/+3
| | | | | | This makes the GPS reset go high by default (i.e., takes it out of reset by default) and the init survey pin go high (i.e., take it out of survey mode).
* n310: enable CLK-MGT156MHz at init n310 callTrung N Tran2017-12-221-1/+1
|
* n310/eiscat: Removed 20 MHz as a valid ref clock frequencyMartin Braun2017-12-221-0/+5
|
* n3xx mpm: Refactored peripheral init codeMartin Braun2017-12-221-15/+24
|
* n3xx mpm: Enable more subcomponents through API callsMartin Braun2017-12-221-5/+44
|
* n3xx mpm: Set call for TCA6424 pins gets value argMartin Braun2017-12-221-4/+3
|
* n310: gpio bistTrung N Tran2017-12-221-1/+69
|
* n3xx: enable all pins on tca6424Trung N Tran2017-12-221-1/+2
|
* mpm/n310: Moved eth dispatcher setup into __init__Martin Braun2017-12-222-15/+13
|
* n3xx: added args for ethernet crossover pathsugandhagupta2017-12-221-0/+5
|
* mpm: Added eth table preloading capabilityMartin Braun2017-12-221-0/+51
|
* n310: Allow --override-db-pids to skip dbsMartin Braun2017-12-221-0/+5
|
* mpm/mpmd: Dboard info is now stored in mboard info; refactored initializationMartin Braun2017-12-221-6/+4
|
* mpmd/mpm/n310: Added clock and time source APIsMartin Braun2017-12-222-26/+57
|
* mpm/mpmd: Call init() during UHD session init, not on hwd spawnMartin Braun2017-12-222-3/+9
|
* mpm/mpmd: Allow SID increment; more fixes for multi-usrp operationMartin Braun2017-12-221-2/+4
|
* mpm: Addition Py3k fixes, all related to string/UTF-8/ascii differencesMartin Braun2017-12-221-1/+8
| | | | - Also fixed some error handling in various cases
* mpm/mpmd: Further improvements on multi-device operationsMartin Braun2017-12-222-5/+23
| | | | | | | - Crossbar local addr is now written during initialization of UHD session - Support for multiple crossbars per device (at least on UHD side) - Crossbars are now sequentially given a unique address
* mpm: Removed gratuitous encode(), safer udev lookupsMartin Braun2017-12-221-6/+11
| | | | | - Udev lookups now just return empty lists when they can't find anything - Made SPI dev interface factory Py2/3 safe
* mpm: Made code Python3-compatibleMartin Braun2017-12-223-4/+10
|
* mpm: udev now sorts EEPROM paths properly (9-0050 before 10-0050)Martin Braun2017-12-221-3/+9
|
* eiscat/mpm: Moved EISCAT full init sequence to UHDMartin Braun2017-12-221-14/+0
|
* mpm/eiscat: Updated bringup procedure for dual-synched dboardsDaniel Jepson2017-12-221-3/+18
|
* mpm/mpmd: Crossbar info is now polled instead of hardcodedMartin Braun2017-12-221-0/+32
| | | | - Extended base periph manager to provide crossbar info
* mpm/EISCAT: Renamed UIO udev labels, enabled spidevs on both dboardsMartin Braun2017-12-221-1/+3
| | | | The UIO labels will require an update to the device tree overlay file.
* mpm: Factored out eeprom code into its own moduleMartin Braun2017-12-221-127/+8
|
* mpm: motherboards can now also request overlays, dboard overlay code ↵Martin Braun2017-12-221-10/+41
| | | | slightly refactored