Skip to main content
Visitor II
August 24, 2021
Question

NUCLEO-F091RC: Zephyr Hello World

  • August 24, 2021
  • 1 reply
  • 1518 views

Hi, I am trying to get a working demo up for the Zephyr OS on your Nucleo-F091RC

but having trouble. See attached for description, I get this error -

"Error: open failed

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

Seems simple to fix but I am stuck, how do I get this blinky demo to run on my Nucleo? :thinking_face:

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 25, 2021

    Hi Justin,

    I just had a try and I can flash Nucleo-F091RC as expected on my side.

    I'd suggest trying to flash with STM32CubeProgrammer (using GUI).

    Also, updating ST-Link FW version also help sometimes (could also be done using STM32CubeProgrammer)

    BR

    Erwan