Hi all. I set all pins to “high_z” state, but I get only 0, 0, 0, 0 . Pins short to VCC (3.3V). What problem?
io =
tio1 = high_z
tio2 = high_z
tio3 = high_z
tio4 = high_z
pdid = high_z
pdic = high_z
nrst = high_z
glitch_hp = False
glitch_lp = False
extclk_src = hs1
hs2 = None
target_pwr = True
tio_states = (0, 0, 0, 0)
Hi,
Yup that’s the correct way to read the TIO pins. I’ve confirmed the issue; we’re currently looking into a fix and will get that pushed out ASAP.
Alex
I think this was just a mismatch between the latest FPGA firmware and the file where that firmware is loaded from (cw1200.py). This should be fixed by the latest commit.
Alex
1 Like
Great! Update firmware and now work fine. Thanks!
1 Like
haakonp
September 8, 2020, 8:02am
5
This needs to be documented
https://chipwhisperer.readthedocs.io/en/latest/api.html#firmware-update
Perhaps the python script should include a hardware_type=‘cwpro’ ?
Sorry about that! We added a hardware_type='cw1200'
option when we rebuilt the cw1200 fw, but completely forgot to update the docstring as well!
I’ll get that pushed out asap.
Alex