Environment Config
>i## 1. Installing JDK
### downloading
JDK is used for automatic signature of apps.
1. search and download the lastest release version for the Java SE Platform.[https://www.oracle.com/technetwork/java/javase/archive-139210.html](https://www.oracle.com/technetwork/java/javase/archive-139210.html)
2. Before start the download, need to Accept the License Agreement.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvshpwr)
3. Select the installation file for the corresponding platform.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvsk500)
### installing
* Start the JDK installer by double-clicking the installer’s icon or file name in the downloading location.
* Follow the instructions provided by the Installation wizard.The JDK includes the JavaFX SDK, a private JRE, and the Java Mission Control tools suite. The installer integrates the JavaFX SDK into the JDK installation directory.
* We recommend using the default folder.
>i## 2. Set Java Environment Variable
1. Right-click on computer icon, and select Properties from context menu. A System window will open.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvsv7si)
2. Go to navigation section, it is on left side of interface. Click Advanced system settings, a small System Properties window will open.
3. In “System Properties” window,click “Environment Variables”.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvsvvwr)
4. Under “System variables” click the “New…” button and enter JAVA_HOME as “Variable name” and the path to your Java JDK directory under “Variable value”.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvswpvt)
5. Update system path.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvsxmlx)
6. Click “OK” to make sure the configuration is valid.
>i## 3. Installing Python
### downloading
Development tools rely on Python for executing scripts. We recommend the version of 2.7, you can choose to install other versions of Python 2, but Python 3 is not supported!
1. In a Web browser, go to [https://www.python.org/download/](https://www.python.org/download/)
2. Scroll down to find the latest version of Python 2.7, and click the blue **Download** link, as shown at the bottom of the image below.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvxk0d6)
3. On the next page, click the appropriate Windows installer for your system, either 32-bit or 64-bit.
Double-click the downloaded file.
---
***Troubleshooting
If the installer file won't open, try these actions:
Right-click the file and click Properties. At the bottom of the Properties sheet, click Unblock.
Launch the installer from a Command Prompt, not from the GUI***
---
### installing
4. In the "Select whether to install Python 2.7.13 for all users of this computer" window, accept the default option to "Install for all users" and click Next".
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvxpcdo)
5. In the "Select destination directory" window, accept the default directory and click Next".
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvxq9rs)
6. In the "Customize Python 2.7.13" window, scroll to the bottom of the list, click the arrow next to "Add python.exe to Path", and click "Entire feature will be installed on local hard drive", as shown below.
Click Next".
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvxshu3)
7. In the "Complete the Python 2.7.13 Installer" window, click Finish".
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvxt37n)
### Testing the Python Installation
Open a Command Prompt window and execute this command.
python
You should see Python launch, as shown below, but it usually does not, because the Python installer doesn't work correctly. If that happens, follow the instructions in the Troubleshooting box below.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvy7avo)
---
***Troubleshooting
If python won't launch, you can fix it with an Administrator Command Prompt window.
Click Start (on Windows 8, press the Windows Logo key on your keyboard) and type this search term:***
cmd
***When Windows finds "Command Prompt", right-click it and click "Run as administrator".
If a "User Account Control" box appears, click Yes.
In the Administrator Command Prompt window, execute these commands, as shown below.***
cd c:\Windows
mklink /H python.exe c:\python27\python.exe
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jwvyb978)
Your machine is now ready to use.
>i## 4. Installing CYGWIN
* Cygwin provides the Linux feeling on Windows. With Cygwin, you can get a sizable Linux collection of GNU and Open Source tools including a terminal that supports POSIX interface on Windows.
### downloading
#### Step 1)
* Check whether your System type is 32 bit or 64 bit. If you have Windows 8 or 8.1, right click on This PC on your Desktop, then click on Properties. If you don’t have This PC on your Desktop, you can also use Windows’ search to look for "**This PC**", then right click the icon, and click on Properties.
* On the Properties of This PC, you can see the System Type underneath System category. For me, System type: **64-bit Operating System, x64-based processor.** I have a 64 bit operating system.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx469s64.png)
*Right Click on This PC, Click on Properties, and Look at your System type.*
#### Step 2)
* Go to [https://cygwin.com/install.html](https://cygwin.com/install.html) or [Google Driver](https://drive.google.com/file/d/15BRXIh9oUB0mwnMf_F1XL8qeCfWJK3BU/view?usp=sharing)
* Select the blue linked executable setup based on your system type of Step 1. Download will start automatically after clicking on one of the blue executable setup links.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx47umk4.png)
*Click on the executable setup based on your System type. Download starts automatically.*
### installing
#### Step 3)
* Open the executable Cygwin setup file. Run the set-up as normal. Click on Next on the Cygwin Setup screen.
* When choosing Installation Type, select **Install from Internet** (default). Click Next.
* When choosing the Installation Directory, you can leave the root directory by default, which will be **C:\cygwin64 (64 bit)**. Install for all users. Click Next.
* The Local Package Directory contains the setup installation files for packages that you wish Cygwin to have. Underneath Select Local Package Directory, the default is the directory where you have the setup executable.
* You can leave this by default.
* For Setup your Internet Connection, use **Direct Connection for your Internet Connection** if you’re using wi-fi or ethernet. Click next.
* Choose a Download Site. Select any of the download sites. Click Next.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx47yhmo.png)
*Cygwin Setup*
#### Step 4)
* You’ll now be at Cygwin Setup – Select Packages. From here, you can search for packages that you wish Cygwin to have. The ones that I recommend are:
```
gcc-core (C files) - inside Devel category
make (makefiles) - inside Devel category
openssh (to use ssh) - inside Net category
nano (text editor) - inside Editors category
```
* For each of these packages, they belong to categories. Search for a package. Click on the **+** next to a category to expand the contents of the search. Click on the **circle twirl with the arrows** to select the most up-to-date version of that package. Package names are on the right with a short description of that package.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx485xoh.png)
*Example of selecting the latest version of nano to install.*
#### Step 5)
* After selecting a version to install for all your packages, you can click the next button at the bottom right of the setup screen. At the Resolving Dependencies screen, make sure that the checkbox that says **Select required packages (RECOMMENDED)** is checked. Click Next. The download and installation of your desired packages will commence.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx486zu0.png)
*Resolving Dependencies.*
#### Step 6)
* After you finish the download and installation, you can check Create an icon on Desktop. Click Finish. You’ll find a program called Cygwin64 Terminal on your desktop. Open the program. Cygwin is installed.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx488sui.png)
*Installation of packages has finished. Finish.*
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx489fx1.png)
*When you open Cygwin for the first time, Cygwin initializes.*
#### Step 7)
* You can also add the Cygwin packages and POSIX interface for the Windows command prompt. In other words, you can make the command prompt act like the terminal in Linux.
* Right click on “**This PC**” and click Properties if it’s on the Desktop. Also, you can use Windows’ search for “**This PC**” and right click, then click on Properties.
* Click on Advanced System Settings in this Properties window.
* In the System Properties that pops up, click on **Environment Variables**, which will be within the Advanced tab. Inside **Environment Variables**, look underneath the **System variables** section. Scroll through and look for the Variable with the name **Path**. Click on that line. Click on the Edit button underneath. For 64 bit, add a “**;C:\cygwin64\bin;**” to the end of the Variable value line. This allows the command prompt to work with Cygwin’s directory path to the Cygwin’s bin folder and utilize Cygwin’s packages and POSIX interface. Click OK for each of the three windows to save this setting.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx48ae6i.png)
*Cygwin’s path variable to work with the command prompt.*
#### Step 8)
* Open a command prompt. You can use Windows’ search and search for command prompt or cmd. Click on command prompt, and a command prompt black box will open. You will have all the functionality of Cygwin within the command prompt. You can choose to use either Cygwin or a command prompt to use the linux tools or POSIX interface.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx48c4jx.png)
*Displaying SSH on a Windows command prompt.*
>i## 5. Config ARMCT
### downloading
* go to [Google Driver](https://drive.google.com/file/d/1U1u8XQdqaKjzxkhWLhZoqJO6LWY4mX9B/view?usp=sharing) get the ARMCT zip.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx4bwkdr.png)
### configuration
* Unzip "ARMCT5.01.zip" to "C:\". If packages were not unzipped to "C:\",configuration file in relevant project need to be modified.
**Recommend“C:\”as the unzip path.**
>i## 6. Installing USB Driver
### downloading
* go to [Google Driver](https://drive.google.com/file/d/1gyqT46gDhJ3CPWogu_7Rdyu6zz-vfjoz/view?usp=sharing) to get SC6531v2_USB_Driver zip.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx4cucws.png)
### installing
* Check whether your System type is 32 bit or 64 bit. If you have Windows 8 or 8.1, right click on This PC on your Desktop, then click on Properties. If you don’t have This PC on your Desktop, you can also use Windows’ search to look for "**This PC**", then right click the icon, and click on Properties.
* On the Properties of This PC, you can see the System Type underneath System category. For me, System type: **64-bit Operating System, x64-based processor.** I have a 64 bit operating system.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx4cxfjk.png)
* reading readme.md in the zip and finishing installation.
![图片.png](https://easydoc-1255322048.image.myqcloud.com/cover/jx4czf2e.png)