Closed
Description
For tegra boards (and also Samsung) I need to a reset sequence like this:
- assert reset
- assert recovery
- de-assert reset
- de-assert recovery
For some boards I have reset and recovery on the same HIDrelay. How do I tell labgrid which is which?
My exports are:
HIDRelay:
## reset
## usbrelay 0 2
##serial: 6QMBS
index: 2
usbrelay: True
match:
'@ID_PATH': 'pci-0000:00:14.0-usb-0:10.1.2'
HIDRelay:
## recovery
## usbrelay 0 3
##serial: 6QMBS
index: 3
usbrelay: True
match:
'@ID_PATH': 'pci-0000:00:14.0-usb-0:10.1.2'
and I'm not sure what to put in the env:
tk1:
resources:
RemotePlace:
name: tk1
drivers:
AlwaysPowerDriver: {}
SerialDriver: {}
DigitalOutputResetDriver: {}
DigitalOutputRecoveryDriver: {} -- added by me, a 'RecoveryProtocol' driver
HIDRelayDriver: {}
It seems that labgrid assumes that DigitalOutputResetDriver refers to the only digital output available. But what if there are two? I don't see how to make this connection in the various configuration files.
Metadata
Metadata
Assignees
Labels
No labels