Adding The Generated Files To Psoc Creator Example Project - Infineon PSoC 4 Quick Start Quide

Table of Contents

Advertisement

PSoC 4 Programming Using an External Microcontroller (HSSP)
Appendix A: Hex File Parser Application
Figure 15
Hex File Parser Application
Select the hex file that needs to be programmed by clicking Open Source P4 Hex File and navigating to the
1.
location of the file.
Select the destination folder location in which the parsed .c and .h files (HexImage.h, HexImage.c) should be
2.
created. Click Select Target File Folder to select the folder location.
Note:
Make sure that there are no files with the names HexImage.h or HexImage.c already in the target
folder location. Delete any such files or select a new folder location. A message is displayed to
notify you if the same file names are already present in the target folder location.
After selecting the hex file and the target folder location, click Parse Hex File to generate the .c and .h files.
3.
After parsing is complete, a message is displayed.
14.2

Adding the Generated Files to PSoC Creator Example Project

To add the generated HexImage.c and HexImage.h files to the PSoC Creator example project provided with this
application note, follow the steps in this section. They are required if you need to program a hex file into a
target device using PSoC 5LP as a host programmer. These steps apply to the project A_Hssp_Programmer and
B_Hssp_Pioneer for PSoC 4 HSSP.
Select the Target File Folder location in the GUI, as shown in
1.
file of the project is located.
2. After the HexImage.c and HexImage.h files have been generated in the previous location, add those files to
the project workspace in PSoC Creator by clicking Add Existing Item in Workspace Explorer, as
shows.
Application Note
Figure
15. This is the folder in which the main.c
34 of 45
Figure 16
001-84858 Rev. *N
2021-03-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

An84858

Table of Contents