Skip to main content

PSOC™ 64 secure single-core application

Follow instructions in Create/export application for Keil µVision. The project creation process also generates an ide_postbuild.bat file used to execute postbuild commands for the application. When complete, use these instructions to configure, build, and debug your application.

note

For a PSOC™ 64 secure MCU, you must also follow the instructions in the Secure Boot SDK user guide to generate keys and provision the device.

  1. Using the Keil µVision IDE, create an empty project.ini file in the project root folder.

  2. Type LOAD .\build\APP_[kit-name]\Debug\[project-name].hex in the project.ini file and save the file. Replace [kit-name] and [project-name] with the correct values.

  3. Then, select Project > Options for Target 'Target 1'… to open the Options dialog.

  4. Select the User tab and enable the Run #1 check box under After Build/Rebuild . Then, enter ide_postbuild.bat \"#L\" .

  5. Select the Utilities tab and select the project.ini file using the [ ] button.

  6. Then, click OK to close the options dialog.

  7. Select Project > Build Target to build the application and execute post-build commands.

After performing these steps, you should be able to run debug, erase, and program for PSOC™ 64 secure MCUs.