On 25 January 2018 at 20:17, Andrei Narkevitch <Andrei.Narkevitch@cypress.com> wrote:

Hi, our boards are powered via PDU and before flashing with pyocd, they need to be powered up first. I defined power_on_command in the device dictionary, but it is ignored.


You should use the hard_reset_command

Support was added in version 2017.11 - https://review.linaro.org/#/c/22132/
 

It looks like an only limited set of methods add ResetDevice action to the pipeline and pyocd is not among them. Contrarily, if defined, power_off command always gets invoked because it is added by FinalizeAction to every test.

I’m wondering if there is any way to issue the power-on command without modifying the dispatcher pipeline source code.

 

Thanks,

Andrei Narkevitch, Cypress Semiconductor


This message and any attachments may contain confidential information from Cypress or its subsidiaries. If it has been received in error, please advise the sender and immediately delete this message.


_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users




--