STM32 PLECS coder does not compile or flash

Dear Sir,

I have installed PLECS 4.9.4 and enabled the STM32 support package.
No additional SW is installed.

I am trying to compile and flash the simple_demo_model but get the following error

Any ideas what could be the problem? PLECS is running on Windows 11.
The board is a F303RE from ST. I have not installed any specific drivers for this board.

Error in build step #6 (Make): Make process exited with code 2:
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
del /F /Q “.\output_STM32F303RE*.d”
“C:/Users/JFORSSE1/OneDrive - Volvo Cars/Documents/Plexim/PLECS 4.9 (64 bit)/tsp_stm32/bin/c2p-gdb/c2p-gdb” load --server-cmd “"C:/Users/JFORSSE1/OneDrive - Volvo Cars/Documents/Plexim/PLECS 4.9 (64 bit)/tsp_stm32/bin/openocd/bin/openocd" -s "C:/Users/JFORSSE1/OneDrive - Volvo Cars/Documents/Plexim/PLECS 4.9 (64 bit)/tsp_stm32/bin/openocd/share/openocd/scripts" -f board/st_nucleo_f3.cfg” --server-start-delay 1000 --port 3333 --nvic 0x8000000 ./output_STM32F303RE/F303RE.elf
Error: Unable to connect: The operation completed successfully [system:0]
Unable to connect.
Healthy exit.
F303RE.mk:232: recipe for target ‘download’ failed

Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Could Not Find C:\Users\JFORSSE1\OneDrive - Volvo Cars\Documents\Plexim\PLECS 4.9 (64 bit)\tsp_stm32\demos\simple_demo_model\simple_demo_model_codegen\output_STM32F303RE*.d
Open On-Chip Debugger 0.11.0 (2021-12-23-14:02)
Licensed under GNU GPL v2
For bug reports, read

Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
srst_only separate srst_nogate srst_open_drain connect_deassert_srst

Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: open failed

make: *** [download] Error 1

Update.
I installed the STM32Cube IDE.
Now it seems to work. Despite the fact that I have not used the IDE for anyting.
Perhaps a driver of some kind was required from that package.

Thanks for the update Jonas. We are looking into this as other users have reported this requirement as well, although the behavior seems to be environment specific.