cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link Developer API

athamm
Associate II
Posted on December 09, 2015 at 06:45

Hello,

I am using an STM32 processor with the ST-Link/V2 as a JTAG programmer. I am looking to write desktop software that is able to read and write device memory and also upload programs in the form of a .hex. Currently these features are possible to do manually through the ST-Link Utility, but is there any way I can incorporate this into my own program? At the very least is the USB protocol for the ST-Link/V2 documented somewhere? I am willing to use any programming language but would appreciate some guidance. Sorry if I am missing something obvious.

Thanks,

Alex

#developer #api #st-link #stm32
2 REPLIES 2
athamm
Associate II
Posted on December 09, 2015 at 18:27

With some further research I discovered the STVP programming toolkit which is exactly what I was looking for, problem solved!

TarekB-ST
Associate III
Posted on December 10, 2015 at 10:40

you can also use ST-LINK UTILITY CLI to automate programming operations by developing your customized batch files

@see

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/CD00262073.pdf

section 4 (STM32 ST-LINK utility command line interface (CLI))

Regards,

tarekb