2023-08-15 01:43 AM
"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.
2023-08-15 03:43 AM
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?