I’m facing issues in the initialization of a CW-Lite embedding a XMEGA target.
After installing the required libraries on Windows (avr–gcc, MinGW, etc…) I tried to follow the “Connecting to Hardware” Jupyter tutorials. (One of the prerequiste is to go through the “ChipWhisperer Setup Test” which went fine).
Under the ‘Building and Uploading Firmaware’ section, first step is to build the firmware according to the used platform:
make PLATFORM= CRYPTO_TARGET=NONE
When I run this command without specifying the target, a list of platforms appears as mentioned in the tutorial. However, when I add the target (CW303 if I’m right) I get a strange output:
C:\ChipWhisperer5_64\chipwhisperer\hardware\victims\firmware\simpleserial-base>make PLATFORM=CW303 CRYPTO_TARGET=NONE
SS_VER set to SS_VER_1_1
rm -f – simpleserial-base-CW303.hex
process_begin: CreateProcess(NULL, rm -f – simpleserial-base-CW303.hex, …) failed.
make (e=2): Le fichier spécifié est introuvable. (The specified file cannot be found)
…/./Makefile.inc:493: recipe for target ‘clean_objs’ failed
make: *** [clean_objs] Error 2
I tried to dive inside related makefiles but I didn’t find how to fix that. I don’t really understand what is wrong and how I can fix it. If someone has an idea and can help me, it would be great.
In advance thanks.