2.12 Build and Program
The demo project will be compiled for the PIC32CXMTG-EK board.
-
Build the application by clicking on the Build Main Project or Clean and Build Main Project command in the Production menu.
Figure 2-63. Build Project - Verify the build is SUCCESSFUL in Output window.
Figure 2-64. Successful Build
To program the application, you need to connect a micro-USB cable from computer to the USB port on the PIC32CXMTG-EK board and use the Make and Program Device Main Project menu command. However, a PRIME Service Node needs not only the modem application but also the bootloader and the bin applications. Refer to the smartenergy_prime_apps documentation.
When all required applications are programmed, we have a PRIME Service Node running on the PIC32CXMTG-EK board. It can be tested against the PRIME Base Node examples available in smartenergy_prime_apps repository.