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

cross mob

Exporting EZ-PD™ PMG1 applications to IAR Embedded Workbench for Arm® (IAR EWARM) – KBA236734

Exporting EZ-PD™ PMG1 applications to IAR Embedded Workbench for Arm® (IAR EWARM) – KBA236734

50 replies posted 25 likes received 25 replies posted

Community Translation: EZ-PD PMG1 アプリケーションを IAR Embedded Workbench for ArmR (IAR EWARM) にエクスポートする KBA236734

Version: **

PMG1 applications can be developed using different third-party IDEs such as Keil uVision, and IAR Embedded Workbench for Arm®. This article describes the process of exporting EZ-PD PMG1 applications to IAR EWARM.


  • Project Creator (Included with ModusToolbox software)
  • IAR Embedded Workbench for Arm® ver.9.30.1 or later
  • PMG1 Development kit

Creating example program
1.Install IAR Embedded Workbench for Arm® ver.9.30.1 or later
2.Create a ModusToolbox application using the Project Creator tool
3. Open Project Creator tool. Click on PMG1 BSPs and PMG1-CY7110 BSP as shown in Figure 1


Figure 1  Select BSPs in Project Creator

4. Choose “IAR Embedded Workbench” from the Target IDE pull-down menu as shown in Figure 2 and click on Create option.


Figure 2   Choose IAR Embedded Workbench

5. Select Project > Create New Project > Empty project on the main menu and click OK as shown in Figure 3 and Figure 4


Figure  3 Create New Project


Figure 4 Create Empty Project

6. Browse to the ModusToolbox™ application directory, enter the desired application name, and click Save as shown in Figure 5


Figure 5  Select destination to save workspace file

7. Select File > Save Workspace after the application is created as shown in Figure 6. Then enter the desired workspace name


Figure 6 Save Workspace

8.  Select Project > Add Project Connection and click OK


 Figure 7  Add Project Connection

9. Select the .ipcf file on the Select IAR Project Connection File dialog and click Open as shown in Figure 8



Figure 8  Select IAR Project Connection File

10. Select Project > Make on the main menu.

Upon successful Build, the following message will be displayed in the log:


Figure 9 Build succeeded message in the log 

To use KitProg3/Miniprog4:

  1. Select Project > Options > Debugger and select CMSIS-DAP in the Driver List; click OK


Figure 10  Select CMSIS DAP in Driver list

  1. Select Project > Download and Debug.

The debug window appears in IAR Embedded Workbench IDE as shown in Figure 11



Figure 11  Debug window in IAR Embedded Workbench IDE