> 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/zh/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/-M2HWzWY4oNGom2TBK-1)

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

![](/files/-M2HWzW_dV6Nl_zKhu3X)

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/-M2HWzWbiwS_ZTd49Og7)

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

![](/files/-M2HWzWdSdpaqxleqvX3)

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

![](/files/-M2HWzWftW5X-DKBer6V)

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

![](/files/-M2HWzWhBVYWhomxWSJz)

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