-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MPLAB IPE programming instructions; Reworked project to build w…
…ith Harmony 1.08; Changed app.c version number to 1.2.0
- Loading branch information
David Cowden
authored and
David Cowden
committed
Jun 29, 2016
1 parent
39568be
commit 19f83df
Showing
19 changed files
with
3,031 additions
and
895 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
### IoT Ethernet MPLAB<sup>®</sup> IPE | ||
|
||
--- | ||
|
||
### Introduction | ||
This document will show you where to find the latest _released_ version of the firmware HEX and how to program it into the IoT Ethernet Kit. The MPLAB<sup>®</sup> IPE allows you to directly program the HEX file of a program into the hardware. This eliminates having to recompile a program and is much quciker | ||
|
||
--- | ||
|
||
### Required Tools and Applications | ||
#### Microchip Required Tools and Applications | ||
You will need the following Microchip development tools to program the Microchip IoT Ethernet Kit. | ||
|
||
- Download the latest HEX file for IoT Ethernet from here: [IoT Ethernet Project](https://github.com/MicrochipTech/aws-iot-firmware-pic32mz/releases/latest) | ||
- Download and install Microchip MPLAB<sup>®</sup> X IDE for your OS from here: | ||
[Microchip MPLAB<sup>®</sup> X IDE](http://www.microchip.com/mplabx) (3.26, 3.30 tested) | ||
- PICKit<sup>™</sup> 3 In-Circuit Debugger/Programmer (or other programmer) | ||
|
||
--- | ||
|
||
### Programming the IoT Ethernet Board using MPLAB<sup>®</sup> IPE | ||
1. Connect your PICKIT<sup>™</sup> 3 to your computer via the USB cable. | ||
- Connect the PICKIT<sup>™</sup> 3 to the IoT Ethernet Kit ICSP header by aligning the triangles that indicate pin 1. | ||
- Power on the IoT Ethernet Kit. | ||
- Open MPLAB<sup>®</sup> IPE; this can be found in the same installation folders as MPLAB<sup>®</sup> X. | ||
- We need to select which microcontroller we are using. Begin by selecting the following | ||
- Select "All Families" for the "Family:" option. | ||
- Select "PIC32MZ2048EFM064" for the "Device:" option | ||
- Click the "Apply" button | ||
- Next we need to connect to our programmer. | ||
- Under "Tool:" select the PICKit<sup>™</sup> 3 or other programmer. | ||
- The tool should be enumerated with its serial number. | ||
- Click the "Connect" button | ||
![Settings](./images/ipe-device-tool.png) | ||
- The programmer will begin to connect to the IPE, it may update itself with new firmware. This is normal. When the programmer is fully connected you should see your target PIC32 device found as shown below. | ||
![Programmer connecting](./images/ipe-connecting-to-programmer.png) | ||
- Now we need to load the HEX file into the IPE. Click the "Browse" button next to the "Source" box. Browse to the HEX file you downloaded and select it. | ||
![Hex browseing](./images/ipe-hex-browse.png) | ||
- Once the HEX file is loaded you will get a dialog in the output window saying "Hex file loaded successfully". | ||
- Now we can program the board: Click the "Program" button. | ||
![Hex browseing](./images/ipe-program.png) | ||
- The PICKit<sup>™</sup> 3 will begin programming the HEX file into the board. Please wait until it is finished. This can take a couple minutes. | ||
![Hex browseing](./images/ipe-programming.png) | ||
- Upon completion you will see a "Programming complete" in the output window. | ||
![Hex browseing](./images/ipe-programming-complete.png) | ||
- You can now begin using the board. | ||
|
||
--- | ||
|
||
### Troubleshooting | ||
- Target Device was not found... | ||
- Check that power is being provided to the board via USB and that the board's power switch is set to "USB". The board must have power to be programmed. | ||
- Programming failed or didn't work... | ||
- Try loading the HEX file into the IPE again and reprogram the board. |
951 changes: 633 additions & 318 deletions
951
software/aws-iot-ethernet/firmware/aws-iot-ethernet.X/nbproject/configurations.xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.