2015-12-08 09:45 PM
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 #stm322015-12-09 09:27 AM
With some further research I discovered the STVP programming toolkit which is exactly what I was looking for, problem solved!
2015-12-10 01:40 AM
you can also use ST-LINK UTILITY CLI to automate programming operations by developing your customized batch files
@seehttp://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