Skip to main content
Associate
Jul 1, 2023 8:51 AM UTC
Question

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

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.

7 replies

AScha.3
Super User
Jul 1, 2023 10:18 AM UTC

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 on " Best Answer ".
Associate
Jul 1, 2023 10:52 AM UTC

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
Jul 1, 2023 11:09 AM UTC

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 on " Best Answer ".
Associate
Jul 1, 2023 1:56 PM UTC

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
Jul 1, 2023 3:17 PM UTC

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

 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Associate
Jul 2, 2023 1:20 AM UTC

thanks!

Pavel A.
Jul 2, 2023 7:10 AM UTC

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