Skip to main content
Associate
July 1, 2023
Question

how can I get this st-link library and API usage?

  • July 1, 2023
  • 4 replies
  • 2812 views

I want to develop a host computer software based on the st-link library and use C++ to implement the flush function of reading and writing, how can I get this st-link library and API usage?

This topic has been closed for replies.

4 replies

AScha.3
Super User
July 1, 2023

what is this " st-link library" ? explain, what you expect to do.

and what "implement the flush function" for ? give example, how it should work.

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

I saw that Segger has the j-link SDK to develop host computer software for users to erase and write FLASH. My application environment is: the host computer is connected to the MCU through the st-link v2 emulator, and then use the software I developed to read and write the FLASH of the mcu, I see on the Internet that your company also has a similar j-link sdk, do I want to develop such a software is there a similar SDK?Or how can it be achieved?

AScha.3
Super User
July 1, 2023

a. its not MY company, i just use the cpu...and other.

b. so using st-linkv2 you want make a program like stm32CubeProgrammer ? that is possible, look for the app note about it.

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

Yes, I want to make a simple software like this  stm32CubeProgrammer, But only need to read or write the content of a specific address in MCU's FLASH."

Tesla DeLorean
Guru
July 1, 2023

Perhaps something like https://github.com/stlink-org/stlink

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Associate
July 2, 2023

thanks!

Pavel A.
Super User
July 2, 2023

The CubeProgrammer API docum and examples is installed with the CubeProgrammer. YMMV.