Infineon PSoC 4 Quick Start Quide page 12

Table of Contents

Advertisement

PSoC 4 Programming Using an External Microcontroller (HSSP)
Porting the HSSP Application to a Host Programmer
HexImage.c, HexImage.h: These files contain the data to be programmed into the target device, defined as
an array of constants. For the PSoC 5LP host programmer, the data to be programmed is stored in the flash
memory of the host PSoC 5LP.
Some host programmers may lack the capacity to store the programming data in their on-chip memory.
Instead, they can use a communication interface, such as USB, SPI, or UART, to get the programming data. In
such a case, remove these files.
DataFetch.c: The definitions for the functions should be modified based on the method used to get the
programming data.
See
Interface for Receiving HSSP Programming Data
according to the method used to get the programming data.
main.c: The APIs for the character LCD and Pin_Start pin in the main.c file are specific to a PSoC 5LP host
programmer. Therefore, you should either remove them or modify them while porting to any other host
programmer.
In the above specified files, the following comments precede the code that needs to be modified based on the
host programmer. This helps you identify the code to be modified.
/******USER ATTENTION REQUIRED******/
/******HOST PROCESSOR SPECIFIC******/
Application Note
for information on modifying the HSSP source code
12 of 45
001-84858 Rev. *N
2021-03-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

An84858

Table of Contents