Microchip MPLAB-X - Integration on Windows

From ERIKA WIKI
Revision as of 16:11, 23 May 2018 by G.serano (talk | contribs) (MPLAB-X IDE User Makefile Project)
Jump to: navigation, search

Synopsys

This guide illustrates how to integrate ERIKA Enterprise v3 in Microchip MPLAB-X IDE.

Preconditions

MPLAB-X IDE User Makefile Project

  • Click on File->New Project... menu entry as shown in the following figure:
Figure 1: MPLAB-X IDE New Project.
  • The MPLAB-X IDE Project Wizard will open as shown in the following figure:
Figure 2: MPLAB-X IDE Project Wizard.
  • Select Microchip Embedded" folder into Categories" Panel.
  • Select User Makefile Project project into Projects Panel.
  • Click on Next > button.
  • The wizard will show the window to select the Device as shown in the following figure:
Figure 3: MPLAB-X IDE Device Selection.
  • Select the correct device: 16-bit DSCs (dsPIC33) and dsPIC33EV256GM106.
  • Click on Next > button to let the Wizard to show the available debugging tools as shown in the following figure:
Figure 4: MPLAB-X IDE Tool Selection.
  • Select the correct tool: PICKit 3 Starter Kit....
  • Click on Next > button to let the Wizard to show the project name and folder as shown in the following figure:
Figure 5: MPLAB-X IDE Project Name and Folder Selection.
  • Fill the Project Name field (e.g erika3app).
  • Browse the Project Loaction (e.g. C:\Evidence\MPLABXProjects)
  • Click on Next > button to create User Makefile as shown in the following figure:
Figure 6: MPLAB-X IDE User Makefile Creation.
  • Fill Working Directory field with . (dot).
  • Fill Build command and Debug build command fields with ee3_app.bat.
  • Fill Clean command" field with ee3_clean.bat.
  • Fill Image name and Debug image name fields with out/erika3app.elf.
  • Finally, click on the Finish button to instantiate the MPLAB-X IDE Project from with chosen options as shown in the following figure:
Figure 7: MPLAB-X IDE Project.
  • Click on Files tab-sheet of the upper-left panel to show the Project Files as shown in the following figure:
Figure 8: MPLAB-X IDE Project Files.
  • Copy the following script files from C:\Evidence\erika3\mplabx folder into project folder as shown in the following figure:
    • ee3_app.bat
    • ee3_cfg.bat
    • ee3_clean.bat
Figure 9: MPLAB-X IDE Script Files.
  • Copy example source files from any C:\Evidence\erika3\examples sub-folder into project folder as shown in the following figure:
Figure 10: MPLAB-X IDE Example Source Files.

Additional Notes

T.B.D.