RIght, but which firmware are you running on the xmega? Are you running one of our Jupyter notebooks?
Also, can you provide the output of print(scope).
Hi,
Yes im running on the Jupyter notebooks > Connecting to hardware Chipwhisperer Lite
And the output snaps of print(scope) I have attached with this messade
Did you program the target? In the “Building and Uploading Firmware” section, you need to uncomment the appropriate cw.program_target() line (and replace path/to/firmware.hex with the actual .hex file).
If you did, were there any warnings or errors in that step?
thank you jpthibault
I am a beginner and I bought a chipwhisker lite 2-part. I want to use chipWhisper for composite domain against DPA, and I want to change the implementation of sbox by changing the aes. c file in chipwhisperer\hardware\victims\firmware\crypto\tiny-AES128-C, and then proceed with CPA. Is it feasible?
Absolutely! We provide example firmware to help people get started, but we definitely want our users to use ChipWhisperer with their own implementations!
I am learning and kind of new to this type of interface, so kindly excuse me,
And It would be really helpful if there would be a youtube playlist made available for setting up using recent architecture and GUI rather than 8 years old one.
Thanks
Ah sorry I assumed your platform was CW308_STM32F3, since you set the programmer to cw.programmers.STM32Programmer.
Whatever you set PLATFORM to in the make command becomes part of the output file name. So if you did make PLATFORM=CWLITEXMEGA (...), then you should find: ../hardware/victims/firmware/simpleserial-base/simpleserial-base-CWLITEXMEGA.hex.
If you used CWLITEARM, then use that.
We did youtube videos for the old GUI because with a GUI, some things are easier to show in a video. Now that we have the Jupyter-based approach, all the information is contained in the notebooks.
Hi Thanks was able to load the firmware
But while running serial communication part in Jupyter notebook came across this and last code block was not printing anything even after running for many times.
thank you jpthibault . I would like to ask how to open this software. I think someone online is using this software. Can you explain the specific usage steps, please
The main difficulty is that currently there is no way to download and open the software
The GUI went away after version 4. I really don’t recommend that you use the old GUI versions. We don’t support it, and we won’t be making any updates or fixes to it. Learning Jupyter is well worth the effort.
Hi ,
Thanks
But my question was regarding target.write(‘p’+‘0x01’+‘\n’)
Even after clicking on print(recv_msg) multiple times there is not any output seen.
What must be the expected output.
The message you are sending is too short, that is why the target is not responding to it.
Simpleserial commands have a fixed payload length; in the case of the “p” and “k” commands in this firmware, it’s 16 bytes (if you want to understand how this works under the hood, you can see this here).
So, if you were to send: target.write('p' + "ff"*16 + "\n")