Hi.
I downloaded chipwhisperer-5.7.0 and am trying to create a .hex file in jupyter notebook.
I entered the following into the cell:
%%sh
cd ../hardware/victims/firmware/simpleserial-base/
make PLATFORM=CWLITEXMEGA CRYPTO_TARGET=NONE
Based on previous questions in the forum, I modified ‘bash’ to ‘sh’ because my environment is Windows 10.
The error output is as follows:
SS_VER set to SS_VER_1_1
SS_VER set to SS_VER_1_1
SS_VER set to SS_VER_1_1
SS_VER set to SS_VER_1_1
process_begin: CreateProcess(C:\Users\JongHyeok, C:/Users/JongHyeok Lee/ChipWhisperer5_64/cw/usr/bin/sh.exe -c "rm -f -- objdir-CWLITEXMEGA/*.o", ...) failed.
make (e=193): Error 193
make[1]: *** [.././Makefile.inc:536: clean_objs] Error 193
make: *** [.././Makefile.inc:337: all] Error 2
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
Cell In[4], line 1
----> 1 get_ipython().run_cell_magic('sh', '', 'cd ../hardware/victims/firmware/simpleserial-base/\nmake PLATFORM=CWLITEXMEGA CRYPTO_TARGET=NONE\n')
File C:\Users\JONGHY~1\CHIPWH~1\cw\home\portable\WPy64-31080\python-3.10.8.amd64\lib\site-packages\IPython\core\interactiveshell.py:2422, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
2420 with self.builtin_trap:
2421 args = (magic_arg_s, cell)
-> 2422 result = fn(*args, **kwargs)
2423 return result
File C:\Users\JONGHY~1\CHIPWH~1\cw\home\portable\WPy64-31080\python-3.10.8.amd64\lib\site-packages\IPython\core\magics\script.py:153, in ScriptMagics._make_script_magic.<locals>.named_script_magic(line, cell)
151 else:
152 line = script
--> 153 return self.shebang(line, cell)
File C:\Users\JONGHY~1\CHIPWH~1\cw\home\portable\WPy64-31080\python-3.10.8.amd64\lib\site-packages\IPython\core\magics\script.py:305, in ScriptMagics.shebang(self, line, cell)
300 if args.raise_error and p.returncode != 0:
301 # If we get here and p.returncode is still None, we must have
302 # killed it but not yet seen its return code. We don't wait for it,
303 # in case it's stuck in uninterruptible sleep. -9 = SIGKILL
304 rc = p.returncode or -9
--> 305 raise CalledProcessError(rc, cell)
CalledProcessError: Command 'b'cd ../hardware/victims/firmware/simpleserial-base/\nmake PLATFORM=CWLITEXMEGA CRYPTO_TARGET=NONE\n'' returned non-zero exit status 2.
I used ‘1 - Connecting to Hardware.ipynb’.
How do I create a .hex file successfully?