'STM32L433 Nucleo-64, west flash error, Zephyr. FATAL ERROR: command exited with status 1:

I'm trying to flash blinky sample on STM32L433 Nucleo-64 but it shows failures.

Please refer to the following message.

(.venv) wilson777@wilson777-VirtualBox:~/zephyrproject/zephyr$ west flash
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner openocd
-- runners.openocd: Flashing file: /home/wilson777/zephyrproject/zephyr/build/zephyr/zephyr.hex
Open On-Chip Debugger 0.11.0+dev-00244-g7e3dbbbe2 (2022-04-11-19:33)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : DEPRECATED target event trace-config
srst_only separate srst_nogate srst_open_drain connect_deassert_srst

Info : clock speed 500 kHz
Error: open failed


FATAL ERROR: command exited with status 1: /home/wilson777/zephyr-sdk-0.14.1/sysroots/x86_64-pokysdk-linux/usr/bin/openocd -s /home/wilson777/zephyrproject/zephyr/boards/arm/nucleo_l433rc_p/support -s /home/wilson777/zephyr-sdk-0.14.1/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts -f /home/wilson777/zephyrproject/zephyr/boards/arm/nucleo_l433rc_p/support/openocd.cfg '-c init' '-c targets' -c 'reset halt' -c 'flash write_image erase /home/wilson777/zephyrproject/zephyr/build/zephyr/zephyr.hex' -c 'reset halt' -c 'verify_image /home/wilson777/zephyrproject/zephyr/build/zephyr/zephyr.hex' -c 'reset run' -c shutdown


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source