Skip to main content
Visitor II
August 15, 2023
Question

NUCLEO-H503RB board and program through Linux command line

  • August 15, 2023
  • 1 reply
  • 1115 views

"I am attempting to connect the NUCLEO-H503RB board and program it through the command line on Ubuntu. I have installed the latest STLink driver from GitHub and built it. However, I am encountering an issue where, upon trying to program the flash memory, an 'unknown device' error is displayed. I have verified my chip ID as 474 using stm32cProgrammer. My goal is to achieve successful programming using the STLink terminal command line.

    This topic has been closed for replies.

    1 reply

    Super User
    August 15, 2023

    st-info and st-flash are not ST tools. Perhaps ask the repo authors. They are probably failing due to it being a new chip.

    It says it cannot connect to the target. Are you able to connect and program using the STM32CubeProgrammer GUI? How about with STM32CubeProgrammer_CLI?