Skip to main content
Visitor II
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

    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.

    Visitor II
    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?

    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.

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

    Graduate II
    July 1, 2023

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

     

    Visitor II
    July 2, 2023

    thanks!

    Super User
    July 2, 2023

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