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

cross mob

Programming with KitProg2/MiniProg3 Using LabVIEW™

lock attach
Attachments are accessible only for community members.

Programming with KitProg2/MiniProg3 Using LabVIEW™

Anonymous
Not applicable

How to program a Infineon device with KitProg2/MiniProg3 by using the LabVIEW software from National Instruments?

 

LabVIEW supports the ActiveX method to access the Component Object Model (COM) API. See the ActiveX and LabVIEW white paper for details. PSoC® Programmer’s driver supports the COM Interface for customized programming host design. See the PSoC Programmer COM User Guide for descriptions (definition, method, parameters) of all PSoC Programmer COM APIs.

You can use the Python, C#, and Perl examples in the installation folder of PSoC Programmer (…\Infineon\Programmer\Examples \Programming) as a reference code for the LabVIEW project.

The following sections show how to program target Infineon devices by using LabVIEW and Kitprog2/Miniprog3. The target device can be PSoC 4, PSoC 3, or PSoC 5LP.

The programming operation requires a hardware connection as shown as below:

pastedImage_5.png

To start the software development of the LabVIEW project, the PSoC Programmer COM Object should be first hooked by LabVIEW correctly. Use the ‘Automation Open’ option in LabVIEW to select the ActiveX Class Object of PSoC Programmer COM Object. The method is shown below.

pastedImage_14.png

A simple programming flowchart for the software approach is as shown below. This uses PSoC 4 as an example; it can be easily ported to PSoC 3 and PSoC 5 LP. Note that the flowchart below doesn’t consider flash protection. Refer to the Python, C#, or Perl examples in your PSoC Programmer installation for details. Each “pp.[Function]()” mentioned in the flowchart below can be accessed by using the ‘Invoke Methods’ option directly in the LabVIEW project after PSoC Programmer COM Object is successfully hooked to complete the development of the LabVIEW project.

pastedImage_23.png

Use the LabVIEW project attached with this article as an example. Contact Infineon Sales or Technical Support for more information.

 

Author: RuzheZ_36          Version: *B

Translation - Japanese: LabVIEWを使用したKitProg2 / MiniProg3でのプログラミング - KBA218796 - Community Translated (JA)

Attachments
4392 Views