Hi, I just got a CW Husky and I’m having trouble with Lab 2_1B Power Analysis for Password Bypass:
It looks like I’m getting trace data but when looping over the different starting characters there seem to be more than one outlier trace.
a diff = 200.973876953125
b diff = 8.554931640625
c diff = 201.120361328125
d diff = 200.453369140625
e diff = 200.125732421875
f diff = 200.62158203125
g diff = 200.98779296875
h diff = 57.1396484375
i diff = 201.669677734375
j diff = 201.0048828125
k diff = 200.736083984375
l diff = 8.414306640625
m diff = 8.871337890625
n diff = 8.3193359375
o diff = 8.453369140625
p diff = 8.229248046875
q diff = 8.54052734375
r diff = 199.622314453125
s diff = 8.826904296875
t diff = 200.06494140625
u diff = 200.155517578125
v diff = 199.726318359375
w diff = 199.7509765625
x diff = 8.260498046875
y diff = 8.615234375
z diff = 200.3095703125
0 diff = 199.6533203125
1 diff = 8.590087890625
2 diff = 7.882568359375
3 diff = 8.38134765625
4 diff = 200.297607421875
5 diff = 8.28515625
6 diff = 201.39501953125
7 diff = 8.7666015625
8 diff = 8.34716796875
9 diff = 8.536865234375
Which character’s trace has an outlier seems to vary with each run. The H trace difference is usually around 50 something or 220 so it is different from the others which are ~8 or ~200 but it looks like I’m getting some random noise on most of the traces.
Setup is (I also tried CW308_SAM4S with no difference):
Im on Ubuntu Linux and followed the Quick installation instructions Linux Installation — ChipWhisperer 5.7.0 documentation, except that I switched to the master branch since the default branch doesn’t seem to have the udev rules file in hardware/50-newae.rules as described there.
Not sure what I’m doing wrong, sorry if I’m overlooking something obvious, I’m new to this.
Note that I had to add “SS_VER = ‘SS_VER_2_1’” in the setup options of the solution otherwise I’d always get Timeout in OpenADC capture(), no trigger seen! Trigger forced, data is invalid..
The final cell also doesn’t work and just seems to give a random result:
Hmm, not sure what the issue could be then. The solution works for me.
It shouldn’t be necessary to set SS_VER, but either the default or SS_VER_2_1 are fine…
If you run the following, do you get “Access granted”?
Looks like it randomly switches between the two for some reason.
I’ll try to do the whole setup on a Windows machine next to rule out any setup related issues.