cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-H503RB board and program through Linux command line

faisalsaleem20
Associate

"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.

1 REPLY 1
TDK
Guru

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?

If you feel a post has answered your question, please click "Accept as Solution".