mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-17 07:10:03 +01:00
acmecape: Add note on how to reboot ACME
The ACME firmware sometimes benefits from turning-it-off-and-on-again.
This commit is contained in:
parent
dbe568f51b
commit
7dd7811355
@ -91,6 +91,9 @@ class AcmeCapeInstrument(Instrument):
|
|||||||
raise HostError(msg.format(output))
|
raise HostError(msg.format(output))
|
||||||
if self.process.returncode != 15: # iio-capture exits with 15 when killed
|
if self.process.returncode != 15: # iio-capture exits with 15 when killed
|
||||||
output += self.process.stdout.read()
|
output += self.process.stdout.read()
|
||||||
|
self.logger.info('ACME instrument encountered an error, '
|
||||||
|
'you may want to try rebooting the ACME device:\n'
|
||||||
|
' ssh root@{} reboot'.format(self.host))
|
||||||
raise HostError('iio-capture exited with an error ({}), output:\n{}'
|
raise HostError('iio-capture exited with an error ({}), output:\n{}'
|
||||||
.format(self.process.returncode, output))
|
.format(self.process.returncode, output))
|
||||||
if not os.path.isfile(self.raw_data_file):
|
if not os.path.isfile(self.raw_data_file):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user