User manual

42 CY8CKIT-049-4xxx PSoCĀ® 4 Prototyping Kit Guide, Doc. #: 001-90711 Rev. *G
Code Examples
9. Click the Dependencies tab to select the HEX and ELF files from the UART Bootloader project
included with the kit.
You must always point your bootloadable project to a base bootloader project. The bootloader
project can be in the same workspace as your bootloadable project, but this is not necessary.
This code example uses the default application shipped with CY8CKIT-049-4xxx.
10.Click Apply and then click OK.
Figure 5-6. Specifying the References
11. After the project builds without errors, follow the steps shown in Programming a CY8CKIT-049-
4xxx Project Using the Bootloader on page 19 to bootload the new code into the target using the
Bootloader Host application.
This example does not have any source code, but is a base code example. Follow the steps in the
next examples to add functionality to this base project.
5.4 Converting a Non-bootloadable Project to a Bootloadable Project
As part of PSoC Creator application notes and kits available at www.cypress.com, Cypress provides
many code examples that you can work with. Most of these code examples do not include a boot-
loader in the project and are not directly usable with the CY8CKIT-049 kit. However, with a very
small modification to the project, they can be easily made to work with the CY8CKIT-049 kit. The fol-
lowing section describes how to port a code example that is not bootloadable into a bootloadable
example. We will take a simple PSoC Creator code example, PWMExample, for this purpose. You
can follow the same steps to port any non-bootloadable project to a bootloadable project.