- 26th April 2017 at 3:36 pm #64410
Hi, just a quick note before we get started: This topic is closed to replies. If you have questions or problems downloading any of the tools covered here please search the existing topics or start a new topic with your question.
This topic covers how to install everything you need to write, compile, and debug programs using the Codescape Tools on Windows. We recommend that you install the tools in the order covered in this guide and into the default locations (Typically C:Program FilesImagination Technologies…).
Scripting support on Windows requires Python 2.7. Download the appropriate installer from python.org and run it. Verify that it is installed by opening a command windows and typing ‘python –version’:
>python –version Python 2.7.7
Install: Codescape SDK Essentials
Run the installer. You have a few choices to make during the installation process. The first choice you have is whether or not to accept the license agreement. Assuming you make the correct choice here, you can move on to the (technically) important questions:
Installer Page: Development Type
This page lets you decide which toolchains types to install. We strongly recommend the “Bare Metal Application” toolchain. If you intend to develop Linux userland applications of kernel distributions then you can also install the “GNU Linux Application” toolchain. Keep in mind that, unless you need it, the “GNU Linux Application” toolchain installation takes much longer and uses significantly more disk space.
Installer Page: Development Core
Check one or more of the core classes that you plan on working with.
Complete the installation
Click [Next] to start (and finish) the installation. The installer will download only the components that you have chosen to install. Time to install will vary with the number of toolchains and the internet connection speed.
When the installation is complete the chosen toolchains will be installed to the following (default) path:
C:Program FilesImagination TechnologiesToolchains
The toolchain binaries directory will be added to the environment path.
Verify that all is good by opening a command prompt and checking the version of the compiler:
Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:Usersfrodo.baggins >mips-mti-elf-gcc –version mips-mti-elf-gcc (Codescape GNU Tools 2016.05-03 for MIPS MTI Bare Metal) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. C:Usersfrodo.baggins >
Depending on your answers to the installer questions one or more of the following compilers will be installed:
Install: Codescape Debugger
Run the installer, accept the license agreement, choose an installation directory (we highly recommend the default), and let the installer run. At the end of the installation process you will be asked if you would like to install the Python scripting packages. These packages are required so we highly recommend checking the check box and getting them installed. When you finish the Codescape Debugger installer a new installer will start to install the Python scripting package.
The Python Scripting Support will first attempt to locate a Python installation on the computer. If one is not found, and you know one is installed, you can point to the installer to it. If you have not yet installed Python, then you must exit this installer, install Python, then run Codescape Debugger, go to the Tools menu and select “Install Scripting Support” to restart the Python Scripting Support installer.
[But you didn’t do that did you. You followed the instructions and already have Python installed. Good.]
Once the installer knows about your Python installation (and shows the correct path to it in the dialog box), click the [Install Packages] button to complete the installation of the Python Scripting Support libraries. This will also install Codescape Console.
Install: Codescape for Eclipse
Run the installer, accept the license agreement, choose an installation directory (we highly recommend the default), and let the installer run.
If you installed Codescape Debugger in the previous step and installed the Python scripting support as part of that install process then Codescape for Eclipse is ready to go. If you did not install Codescape Debugger and Python scripting support then you can install Python scripting support from the Help Menu within Codescape for Eclipse.
Install: MIPS Core Hardware Support Packages
This is very straight-forward. Simply run the installer, accept the license agreement, and you are done.
Install: FTDI Bus Blaster Driver
The FTDI Bus Blaster USB driver files package is provided by both the Codescape Debugger and Codescape for Eclipse installers so make sure you have installed one of those first. Installation of the driver on Windows is not as simple as running an installer. Detailed instructions are provided in a separate topic (Installing the Bus Blaster FTDI Driver on Windows).
You must be logged in to reply to this topic.