2022-05-03 05:31 AM
Hello,
I'd like to erase and load an hex file on a STM32 without use the STM32CubeProgrammer as interface. Is it possible integrate the ST-LINK v2 (SWD interface) functionality in a python/C# script to automatize the erase/flashing and integrate it with the rest of the EOL test.
If ST-LINK is not suitable can you suggest a different way to implement my goal ?
Regards,
Riccardo
Solved! Go to Solution.
2022-05-03 05:33 AM
check out OpenOcd, in my experience, trying to bitbang SWD with my raspberry was a bad idea. (use at least a raspi3)
https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-p
https://community.st.com/s/question/0D53W000019eQebSAE/openocd-not-halting-my-chip-srst-not-working
2022-05-03 05:33 AM
check out OpenOcd, in my experience, trying to bitbang SWD with my raspberry was a bad idea. (use at least a raspi3)
https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-p
https://community.st.com/s/question/0D53W000019eQebSAE/openocd-not-halting-my-chip-srst-not-working
2022-05-03 05:58 AM
Thanks a lot !