-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[capture] CW310 / Husky power measurements, level toggles during capture #186
Comments
If you're using an externally generated sampling clock (i.e. from CW310; not a Husky-generated clock), you could be running into this problem (which we've since fixed): newaetech/chipwhisperer#448 |
Thanks, the description says "Once the clocks are set, their relative phase stays constant, but any changes to scope.clock can affect the phase.", however, we seem to see toggles between traces in a long set where scope.clock.clkgen_src = 'extclk' is only done once at beginning. Does it still apply? |
No, it wouldn't - I had a closer look at your |
Found out that when changing the binary running on OT, this issue can go away, but there is no reasonable explanation. In this commit I have added a function that is not called in the test, but leads to the issue going away (both freshly compiled for comparison under the same environment). The entire issue is reproducible on different setups using the same bitstreams and binaries. Will not investigate further since not expected to be issue on post silicon. |
When capturing traces on a CW310 / Husky setup we get traces on two different levels seemingly at random. Tested using:
./capture.py --cfg-file capture_aes_cw310.yaml capture aes-random --num-traces 100 --plot-traces 100
. Traces distributions are on those two levels:cc @vogelpi @vrozic @nasahlpa
The text was updated successfully, but these errors were encountered: