cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing SWD programming protocol for flashing STM32 chips

DanielPi
Associate III

Hello.

I am developing a development board (to sell to customers eventually), for which I want to have my own flashing dongle. Now, I have posted in another thread asking about the software that is in the ST-Link devices, and the response I got is that it's not available for the public.

But so the SWD protocol is an open standard if I understand things correctly, developed by ARM. Is the "protocol" for flashing the STM32 chips open so that I can implement my own SWD flasher, given the SWD protocol, my binary file and the specifications on how STM32 chips are flashed with SWD?

Regards,

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Evangelist III

@DanielPi wrote:

the SWD protocol is an open standard if I understand things correctly, developed by ARM.


Correct:

https://developer.arm.com/documentation/ihi0031/a

 

I pointed you to several open-source implementations - including ARM's own CMSIS-DAP - in your previous thread:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/diy-st-link-v3/m-p/674707/highlight/true#M19051

 

There's also the Segger option - did you get anywhere with that?

https://community.st.com/t5/stm32-mcus-boards-and-hardware/diy-st-link-v3/m-p/674864/highlight/true#M19063

View solution in original post

2 REPLIES 2
Andrew Neil
Evangelist III

@DanielPi wrote:

the SWD protocol is an open standard if I understand things correctly, developed by ARM.


Correct:

https://developer.arm.com/documentation/ihi0031/a

 

I pointed you to several open-source implementations - including ARM's own CMSIS-DAP - in your previous thread:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/diy-st-link-v3/m-p/674707/highlight/true#M19051

 

There's also the Segger option - did you get anywhere with that?

https://community.st.com/t5/stm32-mcus-boards-and-hardware/diy-st-link-v3/m-p/674864/highlight/true#M19063

Guess I should have done some more homework ;) Thanks again Andrew!