Incorrect encryption result

error when running PA_HW_CW305_1-Attacking_AES_on_an_FPGA.ipynb

I followed all the directions provided. I used the provided bitfile and verilog header, and I keep all the switches on the board in their default states. I used the correct TARGET_PLATFORM. But I got the error “AssertionError: Incorrect encryption result!“

I used fixed plaintext and key to make comparison: (I haven’t made any other changes besides this, and I checked out hdl with iverilog. I couldn’t find out the reason, very confused)

And another earlier problem as follows:”Your firmware (0.51.0) is outdated - latest is 0.53.0 See Updating Firmware — ChipWhisperer Documentation for more information

“scope.fw_version_str” printed the actual firmware version is 0.65, but still warned firmware is outdated.

I’m not sure if there is some relationship between these two errors.

If I use random plaintext and key input, the wrong output is still the same. Whatever the plaintext and key is, the textout doesn’t change

I restarted Chipwhisperer and Jupyter Notebook, and this demo works well.