background image

  

user guide 

27 of 38 

002-25230 Rev. *F  

 

 

2022-03-17 

CYPRESS™ Programmer

 

GUI user guide 

Programming Operations 

5.9

 

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 th

Load Programming File

 section. 

3.

 

Connect to the device (see 

Connect Device

). 

4.

 

Expand 

Verify Regions

 option in 

Program Settings

 to see the list of flash regions available for verification. 

By default, only supported by target device regions are displayed: 

 

application 

 

AUXflash 

 

Sflash 

 

eFuse 

 

QSPI 

 

5.

 

Right-click on 

Verify Regions,

 or any region entry, to open the context menu. 

 

6.

 

To add a custom flash region, select 

Add Region

. Select the added list entry, and enter the correct values 

for start and end addresses of the region. 

 

Summary of Contents for CYPRESS

Page 1: ...ctories 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...

Page 2: ...crocontroller integrated circuits These chips include a CPU core and mixed signal arrays of configurable integrated analog and digital peripherals Region Logical areas within the target device the pro...

Page 3: ...rogramming Operations 15 5 1 Erase Device 15 5 2 Program Device 16 5 3 Program Device and Reset Chip 17 5 4 Program Binary File with Offset 18 5 5 Program External Memory 19 5 6 Program PSoC 6 MCU in...

Page 4: ...valuation boards IoT Wi Fi Bluetooth platforms CYW4390x CYW4343W CYW208xx and others including corresponding starter kits and evaluation boards Connectivity devices via support of development boards W...

Page 5: ...free disk space Minimum 1280x1024 screen resolution CYP is supported on the following platforms Windows 7 x64 Windows 10 x64 macOS 10 14 10 15 11 Ubuntu 18 04 LTS x64 2 3 Installing on Windows 1 Run t...

Page 6: ...e directory to cyp_install_dir b Run idc_registration bash 2 5 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: ...tting Started 3 Getting Started 3 1 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 n...

Page 8: ...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 2 Click Open On t...

Page 9: ...3 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 di...

Page 10: ...4 Program Device Click Program CYP downloads the program file onto the device and displays messages in the Log 3 5 Save Log File Right click in the Log section and select Save As Note You can also sel...

Page 11: ...lowing commands Open Ctrl O Opens the programming file Connect Disconnect Alt Q Connects and disconnects the selected device Program Alt G Programs the selected device with the selected file Erase Alt...

Page 12: ...d and no prompt displays OpenOCD Telnet Port This option specifies the port number of the OpenOCD telnet connection 4 1 3 2 Upgrade Firmware Alt U When this command is enabled select it to upgrade the...

Page 13: ...ming file to perform actions on or with Offset This is an optional offset parameter it can be an integer or hexadecimal value The relocation offset is added to the base address for each section in the...

Page 14: ...e device Interface To select the hardware debug interface for communication with the target device The possible values include SWD and JTAG if supported by the device JTAG Chain To select the interest...

Page 15: ...apter covers the various programming operations you can perform using CYP tool 5 1 Erase Device 1 Connect to the device see Connect Device 2 Click the Erase button CYP erases the device and displays v...

Page 16: ...r 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 4 Click the Program button CYP program...

Page 17: ...Select the programming file as described in the Load Programming File section 3 Connect to the device see Connect Device 4 Select the Reset Chip check box under Program Settings 5 Click the Program b...

Page 18: ...rop down 2 Select the binary programming file as described in the Load Programming File section 3 Connect to the device see Connect Device 4 Enter the desired address in the Offset field under Program...

Page 19: ...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 The programming file should contain ext...

Page 20: ...03 17 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 programme...

Page 21: ...e 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 6 MCU targets...

Page 22: ...he chain contains target names for supported devices and ID codes for those which are not supported 5 Select the desired target device in the list by clicking the radio button next to the target name...

Page 23: ...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...

Page 24: ...t 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 4 Click the Verify button CYP performs the Ve...

Page 25: ...l 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: ...03 17 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...

Page 27: ...g File section 3 Connect to the device see Connect Device 4 Expand Verify Regions option in Program Settings to see the list of flash regions available for verification By default only supported by ta...

Page 28: ...ification by clicking the Verify button on the toolbar You can also select Verify on the context menu CYP verifies only for the regions specified in the Verify Regions list Then a message in the Statu...

Page 29: ...as described in the Load Programming File section 3 Connect to the device see Connect Device 4 Click the Read button 5 On the Read Device to File dialog navigate to the location of the HEX or SREC fi...

Page 30: ...7 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 wa...

Page 31: ...file should contain valid eFuse data region at address 0x90700000 3 Select the Program Security Data check box under Program Settings 4 Connect to the device see Connect Device 5 Click the Program bu...

Page 32: ...s 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 t...

Page 33: ...HEX file with a special protection region at address 0x90600000 If you try to connect CYP to a chip protected PSoC 4 PMG1 WLC1 device a warning message indicates that device is in protected mode The o...

Page 34: ...ls 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 To recover from thi...

Page 35: ...FI BT hardware 1 Run the CYP application 2 Go to Options Programmer Options and select the Show Pop Up value for the Upgrade Firmware option 3 Click OK to apply the changes 4 Connect the device with t...

Page 36: ...og3 Kits 6 2 Upgrade KitProg3 on Kit or MiniProg4 Firmware Follow this process to upgrade KitProg3 on a kit or MiniProg4 firmware 1 Run the CYP application 2 As needed go to Options Programmer Options...

Page 37: ...in whole document Updated section Features Updated section Limitations Updated section Settings Added section How to Recover IoT BT Devices on Failure 5 4 20 D List of changes Updated to version 3 0...

Page 38: ...ct of Infineon Technologies in customer s applications The data contained in this document is exclusively intended for technically trained staff It is the responsibility of customer s technical depart...

Reviews: