AN84858 shows you how to implement PSoC® 4 device programming with an external microcontroller by using modular C code. In this process, called Host Sourced Serial Programming (HSSP), the host microcontroller programs PSoC 4 through the serial wire debug (SWD) interface. The C code is written so that it can be ported to any microcontroller with minimal changes, speeding up HSSP applications development for PSoC 4.
Introduction
PSoC 4 device programming refers specifically to the programming of the nonvolatile memory in PSoC 4 by using an external host programmer. The host can be the programmer supplied by Cypress (CY8CKIT-002 MiniProg3), a third-party programmer, or a custom programmer (e.g., an on-board microcontroller). This application note explains how to implement a host programmer to program a PSoC 4 device.
Project |
Device
|
PSoC Creator
Version |
Development Kit
CY8CKIT-xxx |
Compiler
|
||||||
Architecture
|
Silicon
Revision |
V3.0 SP1 or higher |
V2.2
or Lower |
042
DVK |
001
DVK |
Keil
|
GCC
|
MDK
|
RVDS
|
|
AN84858.zip
|
PSoC 5LP
|
Prod
|
YES
|
NO
|
YES
|
YES
|
NO
|
YES
|
YES
|
YES
|