I am new to Power Analysis, so I don’t know if these readings make sense. However, what I see is that they are very different, compared to the samples included in the no-hardware versions of the course, which look like this when I graph them:
I am using the code included in the notebooks.
My questions:
Are the two first traces looking normal? Am I capturing power signals correctly?
What should the “IDLE” time of the CPU that the notebook mention look like? (See figure one, where the notebook says: “You shouldn’t see much happening here before the target starts idling”)
Why are my traces not visibly similar to the example ones?
I am using a ChipWhisperer-Lite Classic 8-bit ATXMEGA128D4 target (which according to the box is the cw1173). This one is directly connected to the target board and can program it (i.e.: I don’t have any SMA, my target is NOT the CW308, it’s the board that is on the same board as the CW itself, separated by a section that can be broken up to separate the two boards).
I’ve tested with the multimeter and the measure / glitch lines from the target board to the main board seem to be connected correctly.
I don’t believe that it’s necessary to connect any additional hardware, connector or cable, to measure the power consumption of the target, is that right?
However, if I flash the simpleserial-base-lab2 firmware for the target again, and re-instantiate the scope, then I’m back at getting traces like the ones I show on the first post. What is going on? Could this be a hardware failure on my CW?
Yeah, your setup should be fine. Would you mind uploading a top-down picture of your Lite, so that I can do a visual inspection of the board? It could be that something got damaged during shipping.
Thanks for uploading the photos. I don’t see anything jumping out at me, but I could be missing something. Out of curiosity, can you run the following and report the output:
import chipwhisperer as cw
import time
scope = cw.scope()
scope.default_setup()
time.sleep(1)
print(scope)
I just want to make sure it’s not a simple fix. Otherwise, we’re happy to either swap with a new unit, or take it back and repair it.