When the hardware shows up on the PC as objects in an IPython session, the solution is easy: itertools.
from itertools import permutations
def ps0: v430.vdd = 1.2
def ps0: v430.dvdd = 2.5
#...
for p in permutations([ps0, ps1, ps2, ps3]):
print 'order:', p
set_supplies_to_POR()
for s in p:
s()
sleep(1.0)
Then, turn to the oscilloscope, hit enter, and observe the behavior of the 24 permutations. Correlate the observations with the supply-setting order to continue with your day of debugging.Sometime, the FTDI FT4232H-based USB link to the hardware will be described and libraries posted. Until then...

No comments:
Post a Comment