Application Note
22 of 45
001-84858 Rev. *N
2021-03-23
PSoC 4 Programming Using an External Microcontroller (HSSP)
Testing the Example Projects
The project requires the changes listed in
to work on CY8CKIT-040, CY8CKIT-042, CY8CKIT-044,
CY8CKIT-042-BLE. Note that corresponding changes should be done in the
RegisterDefines.h
file in the project.
Table 10
Pin Assignments for Different Kits
Host Pin
CY8CKIT-040 CY8CKIT-042 CY8CKIT-043 CY8CKIT-044 CY8CKIT-046 CY8CKIT-
042-BLE
Pin_SWDCK
P12[3]
P2[1]
P12[3]
P12[3]
P12[3]
P12[3]
Pin_SWDIO
P12[2]
P2[0]
P12[2]
P12[2]
P12[2]
P12[2]
Pin_XRES
P12[4]
P2[4]
P12[4]
P12[4]
P12[4]
P12[4]
To test this project, follow these steps:
1.
Prepare the B_Hssp_Pioneer project:
a)
Generate the files containing the programming data (HexImage.c, HexImage.h) for your target PSoC 4
device using the
b)
Replace the existing
HexImage.c
and
HexImage.h
files with the generated ones.
c)
Double-click the bootloadable Component in
TopDesign.cysch
.
d)
Select the
Dependencies
tab and click on the browse button associated with Bootloader HEX file as
shown in
e)
Navigate to the PSoC 5LP Bootloader Files > KitProg folder provided with the application note and select
KitProg_Bootloader.hex
.
The Bootloader ELF file is automatically generated when you select the
Bootloader HEX
file.
Figure 5
Bootloadable Dependencies for KitProg
f)
Build the B_Hssp_Pioneer project.