Advertisement

Quick Links

CYPRESS™ Programmer
GUI user guide
Version
4.0.1
About this document
Scope and purpose
CYPRESS™ Programmer (CYP) is a stand-alone, cross-platform, flash programmer tool. It replaces several
existing flash programmers for various MCU and connectivity devices. CYP provides a graphical user interface to
Program, Erase, Verify, and Read the flash of the target device. CYP supports HEX, SREC, ELF, and BIN
programming file formats.
Intended audience
This document helps you learn how to use the CYP GUI to perform various operations on devices.
Document conventions
Convention
Explanation
Bold
Emphasizes heading levels, column headings, menus and sub-menus
Italics
Denotes file names and paths.
Denotes APIs, functions, interrupt handlers, events, data types, error handlers, file/folder names,
Courier New
directories, command line inputs, code snippets
File > New
Indicates that a cascading sub-menu opens when you select a menu item
Abbreviations and definitions
The following define the abbreviations and terms used in this document:
Term
Description
CMSIS
Arm® Cortex® Microcontroller Software Interface Standard.
CMSIS-DAP
CMSIS Debug Access Port.
CYP
CYPRESS™ Programmer.
The Open On-Chip Debugger is the debugger tool that provides on-chip programming support.
OpenOCD
This tool acts as a backend of the CYP application.
Data File
The data file for programming in the hex or binary format
The Debug Port register of the Arm Cortex CPU. Used for programming and debugging, along
DP
with the corresponding SWD-address bit selections.
The firmware file loaded into the MCU's RAM. Sometimes referred to as RAM program, Flash
Flash kernel/loader
kernel, Flash loader.
GDB
GNU Project Debugger – GNU.org.
Joint Test Action Group. Specifies the use of a dedicated debug port while implementing a serial
JTAG
communication interface for low-overhead access without requiring direct external access to
the system address and data buses.
MCU
Microcontroller Unit.
user guide
www.infineon.com
Please read the Important Notice and Warnings at the end of this document
page 1 of 38
002-25230 Rev. *F
2022-03-17

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CYPRESS and is the answer not in the manual?

Questions and answers

Summary of Contents for Infineon CYPRESS

  • Page 1 About this document Scope and purpose CYPRESS™ Programmer (CYP) is a stand-alone, cross-platform, flash programmer tool. It replaces several existing flash programmers for various MCU and connectivity devices. CYP provides a graphical user interface to Program, Erase, Verify, and Read the flash of the target device. CYP supports HEX, SREC, ELF, and BIN programming file formats.
  • Page 2 CYPRESS™ Programmer GUI user guide About this document Term Description A family of microcontroller integrated circuits. These chips include a CPU core and mixed-signal PSoC™ arrays of configurable integrated analog and digital peripherals. Region Logical areas within the target device the programmer operates on.
  • Page 3: Table Of Contents

    CYPRESS™ Programmer GUI user guide Table of contents Table of contents Overview ..........................4 Installing CYP ......................... 5 Package Contents............................ 5 System Prerequisites ..........................5 Installing on Windows ..........................5 Installing on Ubuntu ..........................5 Installing on macOS ..........................6 Getting Started ........................
  • Page 4: Overview

    GUI user guide Overview Overview CYP supports the following features: • Programming Infineon MCUs' internal and external memories • PSoC™ 6 MCUs, including corresponding starter kits and evaluation boards • PSoC™ 4 MCUs, including corresponding starter kits and evaluation boards •...
  • Page 5: Installing Cyp

    CYPRESS™ Programmer GUI user guide Installing CYP Installing CYP Package Contents The CYP package contains: • CypGui executable – The application to program flash of various devices • Drivers and firmware for the MiniProg4, KitProg2, KitProg3 hardware programmers • OpenOCD debugger tool that provides on-chip programming support •...
  • Page 6: Installing On Macos

    CYPRESS™ Programmer GUI user guide Installing CYP 4. Register CYP in the Infineon Developer Center. a. Change directory to <cyp_install_dir> b. Run: ./idc_registration.bash Installing on macOS 1. Run the pkg installer for the CYP - CyProgrammer_4.0.1.<build>.pkg. 2. Follow the instructions on the installation wizard.
  • Page 7: Getting Started

    CYPRESS™ Programmer GUI user guide Getting Started Getting Started Run CYP To run the CYP application, navigate to the install location and run the executable. See Installing CYP. The GUI opens and looks similar to this: In this case, no kit or device is connected, and a message displays asking you to connect a device.
  • Page 8: Load Programming File

    CYPRESS™ Programmer GUI user guide Getting Started Load Programming File 1. Connect the device to the host computer. Select the device name in the Probe/Kit drop-down, and CYP will display information under Probe Settings (if the Settings section is viewable).
  • Page 9: Connect Device

    CYPRESS™ Programmer GUI user guide Getting Started Connect Device 1. If the device is not powered, the status message "Not Powered" is displayed in the Status Bar. Click Power to power up the device. 2. Click Connect. CYP communicates with the device and displays various messages in the Log. Then, a message in the Status Bar indicates that it is connected.
  • Page 10: Program Device

    CYPRESS™ Programmer GUI user guide Getting Started Program Device Click Program. CYP downloads the program file onto the device and displays messages in the Log. Save Log File Right-click in the Log section and select Save As. Note: You can also select the Select All command to select the text, then copy and paste the text to the file you selected.
  • Page 11: Gui Description

    CYPRESS™ Programmer GUI user guide GUI Description GUI Description CYP contains menus and toolbar commands to perform actions. This chapter describes the various GUI elements. Menus 4.1.1 File The File menu contains the following commands: • Open (Ctrl+O) – Opens the programming file.
  • Page 12 Verify – Initiates the Verify device operation. 4.1.5 Help The Help menu contains the following commands: • View Help (F1) – Provides access to this document. • About Cypress Programmer – Opens the About box. user guide 12 of 38 002-25230 Rev. *F 2022-03-17...
  • Page 13: Toolbar

    CYPRESS™ Programmer GUI user guide GUI Description Toolbar The toolbar contains the Open, Connect, Erase, Program, Read, and Verify commands, which are also located on the File menu. This area also contains the following: 4.2.1 Probe/Kit and Platforms If you have more than one device connected to your computer, use these pull-down menus to select the specific probe and target platform to use.
  • Page 14 CYPRESS™ Programmer GUI user guide GUI Description • Program Security Data – Allows programming security regions if the target device supports this capability. For example, for PSoC™ 61 PSoC™ 62, and PSoC™ 63 MCUs, this option enables programming the eFuse region.
  • Page 15: Programming Operations

    CYPRESS™ Programmer GUI user guide Programming Operations Programming Operations This chapter covers the various programming operations you can perform using CYP tool. Erase Device 1. Connect to the device (see Connect Device). 2. Click the Erase button. CYP erases the device and displays various messages in the Log. Then, a message in the Status Bar indicates that the device was erased successfully or that an error occurred.
  • Page 16: Program Device

    CYPRESS™ Programmer GUI user guide Programming Operations Program Device 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in Load Programming File section. 3. Connect to the device (see Connect Device).
  • Page 17: Program Device And Reset Chip

    CYPRESS™ Programmer GUI user guide Programming Operations Program Device and Reset Chip 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in the Load Programming File section.
  • Page 18: Program Binary File With Offset

    CYPRESS™ Programmer GUI user guide Programming Operations Program Binary File with Offset 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the binary programming file as described in the Load Programming File section.
  • Page 19: Program External Memory

    CYPRESS™ Programmer GUI user guide Programming Operations Program External Memory 1. Attach and select a device that supports external memory (for example, CY8CKIT-062-WiFi-BT with QSPI support). 2. Select the External Memory option under Program Settings. 3. Select the programming file as described in the Load Programming File section.
  • Page 20 CYPRESS™ Programmer GUI user guide Programming Operations CYP programs the device and displays various messages in the Log. Then, a message in the Status Bar indicates that the device was programmed successfully or that an error occurred. user guide 20 of 38 002-25230 Rev.
  • Page 21: Program Psoc™ 6 Mcu In Jtag Chain

    CYPRESS™ Programmer GUI user guide Programming Operations Program PSoC™ 6 MCU in JTAG Chain 1. Connect the host computer to a MiniProg4 or J-Link probe attached to several MCU targets in the JTAG chain. The following hardware configuration is used in this example: The sample JTAG chain configuration contains six serially connected PSoC™...
  • Page 22 CYPRESS™ Programmer GUI user guide Programming Operations 4. CYP queries the JTAG chain and displays detected devices under the JTAG Chain option in Probe Settings. The list of devices in the chain contains target names for supported devices and ID codes for those which are not supported.
  • Page 23 CYPRESS™ Programmer GUI user guide Programming Operations 8. Click the Program button. CYP programs the device and displays various messages in the Log. Then, a message in the Status Bar indicates that the device was programmed successfully or that an error occurred.
  • Page 24: Verify Device

    CYPRESS™ Programmer GUI user guide Programming Operations Verify Device 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in the Load Programming File section. 3. Connect to the device (see Connect Device).
  • Page 25: Verify Device With External Memory

    CYPRESS™ Programmer GUI user guide Programming Operations Verify Device with External Memory 1. Connect the device that supports external memory (for example, CY8CKIT-062-WiFi-BT with QSPI support) to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in the Load Programming File section.
  • Page 26 CYPRESS™ Programmer GUI user guide Programming Operations CYP verifies the device and displays various messages in the Log. Then, a message in the Status Bar indicates that the device was verified successfully or that an error occurred. user guide 26 of 38 002-25230 Rev.
  • Page 27: Verify Custom Flash Regions Of Psoc™ 6 Mcu

    CYPRESS™ Programmer GUI user guide Programming Operations Verify Custom Flash Regions of PSoC™ 6 MCU 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in the Load Programming File section.
  • Page 28 CYPRESS™ Programmer GUI user guide Programming Operations 7. To remove any region in the list, right-click the desired region entry and select Remove Region. 8. To revert any previous change, select Undo. 9. When finished with the list of regions, start device verification by clicking the Verify button on the toolbar.
  • Page 29: Read Device

    CYPRESS™ Programmer GUI user guide Programming Operations 5.10 Read Device 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in the Load Programming File section. 3. Connect to the device (see Connect Device).
  • Page 30 CYPRESS™ Programmer GUI user guide Programming Operations CYP performs the Read device operation and displays various messages in the Log. Then, a message in the Status Bar indicates that the device was read successfully or that an error occurred. user guide 30 of 38 002-25230 Rev.
  • Page 31: Program Efuse Region Of Psoc™ 6 Mcu

    CYPRESS™ Programmer GUI user guide Programming Operations 5.11 Program eFuse Region of PSoC™ 6 MCU 1. Connect the device to the host computer and select it in the Probe/Kit drop-down. 2. Select the programming file as described in the Load Programming File section.
  • Page 32: Program Psoc™ 4 Mcu With Protected Flash

    CYPRESS™ Programmer GUI user guide Programming Operations 5.12 Program PSoC™ 4 MCU With Protected Flash Flash protection allows you to protect any PSoC™ 4 flash rows from being written. Applying protection to the user data with CYP is nothing more than programming a data file containing appropriate flash protection region (at the address 0x90400000).
  • Page 33: Program Chip-Protected Psoc™ 4 Mcu

    CYPRESS™ Programmer GUI user guide Programming Operations 5.13 Program Chip-Protected PSoC™ 4 MCU The chip-level protection mechanism restricts access of the programmer application to silicon resources. In this mode, access to flash, SRAM, and most of the registers in the PSoC™ 4 are disabled. Chip protection can be activated by programming a HEX file with a special protection region at address 0x90600000.
  • Page 34: How To Recover Iot Bt Devices On Failure

    CYPRESS™ Programmer GUI user guide Programming Operations 5.15 How to Recover IoT BT Devices on Failure If the program operation for an IoT Bluetooth® device fails, it is possible the memory on the board has been corrupted by a previously loaded application, or the application used a custom baud rate that the download process does not detect.
  • Page 35: Upgrading Firmware

    CYPRESS™ Programmer GUI user guide Upgrading Firmware Upgrading Firmware The CYP application allows you to upgrade KitProg2, KitProg3, and MiniProg4 device firmware. Upgrade KitProg2 Firmware The following upgrade process is based on the CY8CKIT-062-WIFI-BT hardware. 1. Run the CYP application.
  • Page 36: Upgrade Kitprog3 On Kit Or Miniprog4 Firmware

    CYPRESS™ Programmer GUI user guide Upgrading Firmware 6. Click the Upgrade Firmware button to start the upgrade process. After the upgrade process completes, the message "Firmware of 'KitProg2-xx' upgraded successfully" displays in the Log view. The KitProg2-xx device disappears from the Probe/Kit drop-down. The Probe/Kit drop-down is populated with the names of the supported KitProg3 Kits.
  • Page 37 CYPRESS™ Programmer GUI user guide Revision history Revision history Date Version Description 9/28/18 New document. Updates for Production milestone: • Various screen captures 10/30/18 • Description of the Platforms pull-down menu • Description of the Clock option in Probe Settings Updated to version 2.1.
  • Page 38 With respect to any examples, hints or any typical WARNINGS values stated herein and/or any information 81726 Munich, Germany regarding the application of the product, Infineon Due to technical requirements products may contain Technologies hereby disclaims any and all dangerous substances. For information on the types...

Table of Contents

Save PDF