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

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

Infineon_Team
Moderator
Moderator
Moderator
5 replies posted First solution authored First comment on KBA

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

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

Version: **

EZ-PD
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.

Prerequisites

  • 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

Infineon_Team_0-1672808388644.png

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.

Infineon_Team_1-1672811308846.png

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

Infineon_Team_2-1672811660496.png

Figure  3 Create New Project

Infineon_Team_3-1672811738787.png

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

Infineon_Team_4-1672811840600.png

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

Infineon_Team_5-1672812055521.png

Figure 6 Save Workspace

8.  Select Project > Add Project Connection and click OK

Infineon_Team_6-1672812222754.png

 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

Infineon_Team_8-1672812473973.png

 

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:

Infineon_Team_7-1672812394779.png

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
Infineon_Team_10-1672812664384.png

 

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

Infineon_Team_9-1672812557007.png

 

Figure 11  Debug window in IAR Embedded Workbench IDE
0 Likes
91 Views