Power bench and verify targets from the Otii instead of the ez-FET - #73
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In
swborcontinuous-power runs,ckpt bench/verifypower the target fromthe ez-FET's 3V3 rail. A few seconds after
mspdebugreleases the target, theez-FET issues a reset over SBW; in
swborthe program is still running, so thereset lands mid-region and is flagged as an energy violation. The same build
fails ~60% of the time (see issue #72 for the full investigation).
Change
With an Otii switchboard in the loop,
benchandverifynow flash the targetthrough the relays, then isolate it from the ez-FET and power it from the Otii
main output at a constant 3.3 V for the run, reconnecting the debugger only for
the NVM readback. Without an Otii both commands fall back to the previous
ez-FET path unchanged.
device/otii.py:debugger_connection()yields theOtiiSession; addpower_target().device/saleae.py:saleae_run()takes the session and either releases thetarget under the ez-FET or isolates-and-powers it from the Otii, always
reconnecting the debugger afterward.
Testing
dijkstraat 10uF over the Otii path: 2/2 completed (95 boundaries, noviolation), where the ez-FET path failed ~60%.
Wiring note: for these runs the Otii main output is wired directly to the board
rail without the intermittent rig's 5.6 kΩ resistor and schottky diode
(
docs/intermittent.md).