> For the complete documentation index, see [llms.txt](https://bananapi.gitbook.io/bpi-open-debugger-burn-board/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bananapi.gitbook.io/bpi-open-debugger-burn-board/en/downloadswddebugusingtheiarewarm.md).

# Download SWD debug using the IAR EWARM

To illustrate, here will be used as an example STM32F103C8T6.

**SWD interface to download the program in IAR EWARM**

1.Open the IAR EWARM, and create a new project, Tool chain ARM can choose, click OK.

![](/files/-M2HX8GnQU2d8EBzjhbr)

Select the menu bar Project-> Options ..., option box will pop up, as shown below

![](/files/-M2HX8GpjoOxqof6yZRU)

2.Select General Options -> Target page, then select the Processor variant column in the Device, and then click the right button, and in turn find STM32F103C8 processor.

![](/files/-M2HX8Grc8JuH5hqN_Ve)

3.Then choose General Options -> Library Configuration page stdout / stderr section of Via SWO.

![](/files/-M2HX8GtYfgMS23O2sJG)

4.Then select Debugger -> Setup -> Driver -> J-Link / J-Trace.

![](/files/-M2HX8Gv6JW4EJzKfWpF)

5.Just find a way to drive, set as shown below, and click OK。

![](/files/-M2HX8GxyQjuUZ9Kr7QH)

You can now click on the columnCompile button，Such error can clickRun button to download the firmware.
