1.7.3 Build and Program
The PRIME 1.4 Service Modem application is built with MPLAB X IDE. Open the project, select the build configuration and build it.
The application runs together with the external memory bootloader: the bootloader occupies the protected boot region and the application starts at the offset defined by the linker. When programming with the on-board debugger, the application is programmed together with the bootloader; both are loaded into the SAMD20 internal Flash. For the joint programming of the bootloader and the application, and for provisioning the PL460 binary into the external serial Flash, refer to the Build and Program in the PRIME Bootloader (External Memory).
Erase All Before Programming in
the programmer options and set the programming range to
0x000000–0x3FEFF. A full chip erase wipes the
emulated EEPROM.Once running, the PRIME 1.4 Service Node can be tested against the PRIME Base Node examples available in the smartenergy_prime_apps repository.
