Reset/Halt
Before performing a flash operation on your DUT you often want to put the DUT into a halted reset state.
from lager import lager
dut = lager.DUT()
# Halt your device
dut.reset(halt=True)
~ lager debug reset --halt --dut 1
You can also perform a reset and start operation by setting the halt
flag to False
.
# Reset and start
dut.reset()
~ lager debug reset --dut 1