I’m using CWLite with STM32F Target Board for Chipwhisperer CW308 UFO Board, and I came across some problems while running the jupyter notebook of “1 - Connecting to Hardware” program.
I downloaded the Chipwhisperer by Windows Bundled Installer according to this website: Windows Installation — ChipWhisperer 5.7.0 documentation. My computer is Windows 11.
However, I got an error message “OSError: Unable to communicate with found ChipWhisperer. Check that another process isn’t connected to it and that you have permission to communicate with it.” at scope = cw.scope(). The entire error message is showed in the following picture.
I currently have no idea what is the reason causing this error. Does anyone have any suggestion about finding the root cause or dealing with this problem? Thanks!
Thank a lot for your help and suggestions! I finally figured out what is going on with the CWLite and the OSError from code scope = cw.scope().
I think the error arose from running the code scope = cw.scope() twice. Since each time I execute the line scope = cw.scope(), I get either
(ChipWhisperer NAEUSB WARNING|File naeusb.py:713) Your firmware (0.62) is outdated - latest is 0.64 See https://chipwhisperer.readthedocs.io/en/latest/firmware.html for more information
or
OSError: Unable to communicate with found ChipWhisperer. Check that another process isn’t connected to it and that you have permission to communicate with it.
I observed that when running scope = cw.scope() the first time, I got the red warning. If executing scope = cw.scope() more than once, I will keep getting the OSError. And it seems like getting the warning is fine for executing the rest of the codes in the notebook, and the CWLite is in the right state working normally as well. I will later update the firmware to solve the warning.
Thanks again for trying to help me solve the problem!