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.

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

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.

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

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

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

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

Last updated