You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: documents/iot-ethernet-firmware-compile-and-program.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@ This document will show you where to find the latest _released_ version of the f
13
13
You will need the following Microchip development tools to program and develop with the Microchip IoT Ethernet.
14
14
15
15
- Download the latest project for IoT Ethernet from here: [IoT Ethernet Project](https://github.com/MicrochipTech/aws-iot-firmware-pic32mz/releases/latest)
16
-
- Download and install Microchip MPLAB<sup>®</sup> Harmony Integrated Software Framework v1.08.01 for your OS from here: [Harmony](http://www.microchip.com/mplab/mplab-harmony)
16
+
- Download and install Microchip MPLAB<sup>®</sup> Harmony Integrated Software Framework v1.09 for your OS from here: [Harmony](http://www.microchip.com/mplab/mplab-harmony)
17
17
- Download and install Microchip MPLAB<sup>®</sup> X IDE for your OS from here:
18
-
[Microchip MPLAB<sup>®</sup> X IDE](http://www.microchip.com/mplabx) (3.35 tested)
19
-
- Download and install the v1.42 XC32 compiler for your OS from here: [Microchip MPLAB<sup>®</sup> XC32 Compiler](http://www.microchip.com/xc32)
18
+
[Microchip MPLAB<sup>®</sup> X IDE](http://www.microchip.com/mplabx) (3.40 Required)
19
+
- Download and install the v1.42 XC32 compiler for your OS from here: [Microchip MPLAB<sup>®</sup> XC32 Compiler](http://www.microchip.com/xc32)
20
20
21
21
More information about Microchip tools can be found on [Microchip's developer help site](http://microchip.wikidot.com/swtools:start)
22
22
@@ -32,8 +32,10 @@ Example below is shown on MAC OS X, these instructions may vary slightly on diff
32
32
- Navigate to: ` <path-to-your-project>/aws-iot-firmware-pic32mz/software/aws-iot-ethernet/firmware`
33
33
- Select the project __aws-iot-ethernet.X__
34
34
- With your project opened, right click on the project __aws-iot-ethernet__ in the Projects tab and select __Set as Main Project__
35
+
- Select the configuration for the board you wish to program from the dropdown box at the top.
36
+

35
37
- Follow these directions to install the Microchip Harmony Configurator (MHC): [Steps to Install MHC](http://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB%20Harmony%20Configurator%20(MHC)%20and%20MPLAB%20Harmony%20Graphics%20Composer.pdf)
36
-
- Open the MHC by clicking __Tools -> Embedded -> MPLAB Harmony Configurator__
38
+
- Open the MHC by clicking __Tools -> Embedded -> MPLAB Harmony Configurator__
37
39
- The MHC will prompt asking to choose a Harmony framework to use, select "Yes" and select the location of your Harmony install and click "OK"
38
40
- The MHC will then ask if you want to open the configuration file __IoT-Ethernet.mhc__ for the __aws-iot-ethernet__ project, select "Open" to proceed.
39
41
- With the new Harmony framework selected for your project, you will need to regenerate code by clicking the generate code button. 
Copy file name to clipboardexpand all lines: documents/iot-ethernet-mplab-ipe.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ You will need the following Microchip development tools to program the Microchip
15
15
16
16
- Download the latest HEX file for IoT Ethernet from here: [IoT Ethernet Project](https://github.com/MicrochipTech/aws-iot-firmware-pic32mz/releases/latest)
17
17
- Download and install Microchip MPLAB<sup>®</sup> X IDE for your OS from here:
18
-
[Microchip MPLAB<sup>®</sup> X IDE](http://www.microchip.com/mplabx)(3.35 tested)
18
+
[Microchip MPLAB<sup>®</sup> X IDE](http://www.microchip.com/mplabx)
19
19
- PICKit<sup>™</sup> 3 In-Circuit Debugger/Programmer (or other programmer)
Copy file name to clipboardexpand all lines: documents/iot-ethernet-out-of-box-guide.md
+8-140
Original file line number
Diff line number
Diff line change
@@ -16,157 +16,25 @@ You will need the following Microchip development tools to run out of box demo
16
16
- Download and install [Insight on Things](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app) desktop application; [Download latest version](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app/releases/latest)
17
17
- To learn more about building the project from source or just upgrading the firmware, read [IoT Ethernet Firmware Compiling and Programing](iot-ethernet-firmware-compile-and-program.md) in our documents folder
18
18
19
-
#### AWS Tools and Applications
20
-
- You will need an AWS account to use AWS IoT.
21
-
- For more information how to setup an AWS Account please go to [AWS](http://aws.amazon.com) main page
22
-
- Please check with your IT or IS department on your company's policies on using cloud computing, or to see if you have a corporate AWS account that should be used.
23
-
24
-
- To use the AWS IoT services you will need to make use of _AWS Command Line Interface_ (awscli) tool. For more information on how to install, configure, and use the awscli tool please go to [AWS Command Line Interface User Guide](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html).
25
-
26
-
> NOTE: If you are a **Microchip Employee** we have a corporate AWS account that must be used. To setup your AWS IoT device please go to https://setup.iot.microchip.com for more information
27
-
28
19
---
29
-
### Setting Up the AWS IoT Service
30
-
31
-
To setup your AWS IoT service to work with the _IoT Ethernet Kit_ you will need to work with the awscli that you installed in the previous section.
32
-
33
-
1. Using the awscli you will need to find the endpoint that will be used for your AWS IoT account. To do this run the following command in your terminal/command window.
34
-
35
-
```
36
-
aws iot describe-endpoint
37
-
```
38
-
You will receive the following back that you will need to add to the firmware in the next section. The output will look like: `<random-string>.iot.us-east-1.amazonaws.com`
39
-
- Create certificates that will be used in the application firmware by running the following command in your terminal/command prompt window:
40
-
41
-
```
42
-
aws iot create-keys-and-certificate --set-as-active --output text
43
-
```
44
-
> You will need to copy the output on the terminal/command window to text files for the certs and private key. Please also note the _certificate arn_ value that will be used later in this section; it is the first long string of text that you will seen on the screen.
45
-
>
46
-
> NOTE: this is the only time that you will be able to see this information and make sure there is no text or spaces at the beginning of each of the files you create. For example in the output below you will need to remove the `KEYPAIR` text and spaces so that the first line of the private key starts with the dashes:
- Create a thing shadow based on the MAC address of the board:
124
-
125
-
```
126
-
aws iot create-thing --thing-name '<MAC Address of the board>'
127
-
```
128
20
129
-
---
130
21
### Running the Demo
131
-
There are two parts to running the demo. First you have to commission the demo so it knows how to talk to your AWS Account that you setup in the [Setting Up the AWS IoT Service](Setting Up the AWS IoT Service) section of this out of box guide. Second is sending and receiving data from AWS IoT.
22
+
There are two parts to running the demo. First you have to commission the demo so it knows how to talk to your AWS Account. Second is sending and receiving data from AWS IoT.
132
23
133
24
#### Commissioning
134
25
To setup and run the demo follow these instructions:
135
26
136
-
1. Plug the IoT Ethernet Kit into a router or switch using an ethernet cable
137
-
- Power the IoT Ethernet Kit by connecting the supplied Micro-USB cable to a power source and setting the power switch on the board to USB
138
-
- Connect your computer to the same network that the IoT Ethernet Kit is connected
139
-
- Your board will register a Multicast DNS (mDNS) name with the local network that will allow you to access a configuration webpage.
140
-
- Use a bonjour or multicast DNS service to find your board's IP address and enter the IP address into a web browser. The kit will have a service name such as `xxxxxx_IoT-E` where `xxxxxx` is the last six characters of the kit's MAC address.
141
-
- Alternatively you can try entering `xxxxxx_iot-e.local` into a web browser to navigate to the webpage where `xxxxxx` is the last six characters of the MAC address on the board
142
-
- Once the web browser finds and displays the IoT Ethernet Kit configuration webpage
143
-
- Enter your AWS IoT Endpoint Address that you received from the previous AWS IoT Service Setup section. The endpoint will have the form `<random-string>.iot.us-east-1.amazonaws.com`
144
-
- Copy and paste your AWS Certificate into the box labeled AWS Certificate.
145
-
- The cert should look like
146
-
147
-
```
148
-
-----BEGIN CERTIFICATE-----
149
-
<cert data>
150
-
-----END CERTIFICATE-----
151
-
```
152
-
- Copy and paste your AWS Certificate Private Key into the box labeled AWS Certificate Private Key.
153
-
- The key should look like
154
-
155
-
```
156
-
-----BEGIN RSA PRIVATE KEY----
157
-
<key data>
158
-
-----END RSA PRIVATE KEY-----
159
-
```
160
-
- Click the __Join__ button and a _Connecting to server_ page will appear showing the endpoint that the IoT Ethernet board will connect to along with the AWS Thing Name (MAC Address).
161
-
> NOTE: The information you enter above will be sent in the clear and is not secured as if you where using https; this is an option that you can add to your code later
27
+
1. Power the IoT Ethernet Kit by connecting the supplied Micro-USB cable to a computer that will be running the Insight on Things application in the next step and set the power switch on the board to USB.
28
+
- Download and install the [Insight on Things](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app) application v2.0.0 or greater.
29
+
- Follow the instructions for running the Insight on Things application.
162
30
- You will see a LEDs D1-D6 light up while the board gets initial data from the server.
163
-
- If not, please see the [Status and Error Code Table](Status and Error Code Table) table below for more information
31
+
- If not, please see the [Status and Error Code Table](Status and Error Code Table) table below for more information.
164
32
- The board is now connect and running; there are two blue LED status indicator on the board.
165
-
- LED D6 will flash briefly when transmitting data
166
-
- LED D5 will flash briefly when receiving data
33
+
- LED D6 will flash briefly when transmitting data.
34
+
- LED D5 will flash briefly when receiving data.
167
35
168
36
#### Sending and Receiving Data with AWS IoT
169
-
This demo is controlled though the AWS IoT shadow registors by the [Insight on Things](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app) desktop application that we provide you. [Click here download the latest version](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app/releases/latest). You will need to follow the README.md guide on the github page to setup this application.
37
+
This demo is controlled though the AWS IoT shadow registers by the [Insight on Things](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app) desktop application that we provide you. [Click here download the latest version](https://github.com/MicrochipTech/aws-iot-insight-on-things-desktop-app/releases/latest). You will need to follow the README.md guide on the github page to setup this application.
0 commit comments