Skip to content

Software Installation

benpoon-microchip edited this page Aug 29, 2018 · 2 revisions

You need to install below software/ tools before perform any configuration:

Atmel Studio 7

Atmel Studio 7 is need to be installed to compile the firmware project files in folder mcu-firmware/ The installation file can be downloaded from below: http://www.microchip.com/mplab/avr-support/atmel-studio-7

SAM-BA V2.18

This is a GUI tool to program the firmware to the board through USB port. PC need to install SAM-BA V2.18 (boot-loader GUI tool) to program firmware with boot-loader. The installation file can be download from below URL: https://www.microchip.com/developmenttools/ProductDetails/atmel%20sam-ba%20in-system%20programmer

After install SAM-BA V2.18, you need to configure the GUI by below steps to make it work with the WINC1500 Secure Wi-Fi Board:

  1. Cope the folder saml21_wsenbrd\ to C:\Program Files (x86)\Atmel\sam-ba_2.18\tcl_lib

  2. rename the boards.tcl to boards_old.tcl in C:\Program Files (x86)\Atmel\sam-ba_2.18\tcl_lib

  3. copy boards.tcl in folder sam-ba to C:\Program Files (x86)\Atmel\sam-ba_2.18\tcl_lib

Java

Java SE Runtime Environment (JRE) 8 need to be installed to run the Java PC application. Go to following URL to find installer:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

Java SE Development Kit (JDK) 8 need to be installed to compile the Java PC application. Go to following URL to find installer:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Python 3.6.x

User need to use python scripts to provision the Secure Wi-Fi Board to the network and provision the board to the user account. User can view the Python scripts to see the detailed steps involved. Go to following URL to find installer: https://www.python.org/downloads/release/python-366/
(NOTE: Python 3.7.x is not yet supported)

When installing Python, check 'Add Python 3.6 to PATH'.

Choose 'Customize Installation' and make sure everything is selected.

 Click Next, then select 'Install for all users' and 'Precompile standard library'.
Click Install

After install success, user needs to ensure the PC is using the correct Python version. This can be check by typing “python” Window command prompt

For Window PC, if the Python version is not correct, user can check only if only Python 3.6 is added the Environment Variable Path. Remove other python tools which are added to the Environment Variable Path.
To check the Environment Variable, click the Window logo key -> type “System” and enter to it -> Advanced system settings -> select Advance Tab -> click Environment Variables -> check the Path User variables and Path System variables

Python Packages

You will be using the Python package manager (pip) to install the required packages used in this guide. Locate requirements.txt in the directory ProvisionScripts. Open the start menu (bottom left window) and search for 'cmd' Right-click on 'Command Prompt (CMD)' and select 'Run as Administrator'

In command prompt, navigate to the directory and run the following command:
pip install –r requirements.txt