1 Creating Projects Using MPLAB Harmony v3
The dual-developer application approach involves two developers to develop the end application. The developers work separately and create two separate projects using the MPLAB® Harmony v3 software framework. These projects are generated using the MPLAB Code Configurator (MCC) to assign Secure and Non-Secure memory regions and peripherals. The project details are as follows:
Secure Project:
This project is developed by Developer A.
- Configure the Secure resources and generate the Secure project using the MCC.
- Develop the Secure application and SG
API declarations in generated
nonsecure_entry.h
. - Configure the Chip Erase keys for the Secure region and all memory regions in the Fuse settings.
- Generate the SG library by building the Secure project and programming the Secure memory region.
- Share the pre-programmed device along
with the SG library and
nonsecure_entry.h
file with a Non-Secure application developer.
Non-Secure Project:
This project is developed by Developer B.
- Add required peripherals and software components to the MCC project graph and then generate the code.
- Develop the Non-Secure application
using the SG library and the
nonsecure_entry.h
file. - Build and program only the Non-Secure memory region.