[wishlist] support SWD flashing in SDK

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi All,

More and more platforms are capable of SWD flashing. (ex. STM32) it's more compact and faster.

But current SDK requires some patch for openocd driver and configuration for that.

Would you please add such SWD flashing support patch on further SDK ?

Regards,

Sam

0 Likes
5 Replies
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

After SDK 3.4x , The openocd already support SWD of st-link! (confirmed)

And SWD mode of FTDI (not tested)

0 Likes
Anonymous
Not applicable

1. Many *.cfg need to be changed to fit SWD.

(ex. in stm32f4x.cfg many jtag_xx commands are not valid under SWD mdoe)

2. Any BCM9WCD1EVAL1.cfg for SWD ?

0 Likes
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

I got my OpenOCD work for st-link via research OpenOCD forum and search in the tcl directory under OpenOCD source!

And it work for Discovery board, Nucleo board and STM3220G EVAL!

Cause I did NOT have any device only connect SWD of FTDI (but JTAG), So I did not try SWD via FTDI!

If you have device connect to SWD via FTDI, maybe you could try!

0 Likes
Anonymous
Not applicable

I tried SWD via FTDI and it doesn't work. That's why this wishlist post exists because WICED EVB ships with FTDI adapter.

0 Likes
Anonymous
Not applicable

Is there any update on this?

0 Likes