Here are the detailed steps that describes how to get CreatorKit up and running.
- Creator Kit
- Ubuntu 14.04 64-bit PC/Laptop
There are 2 ways to power your Ci40 board.
- Using a power supply
- Using a microUSB cable connected to the port next to the power supply port
There are also 2 ways to power Clicker boards
- 2 AAA Batteries
- MicroUSB
You can get pre-built releases or source code of the Creator Kit projects to work with. The Releases will allow you to set up a working system quickly without having to build any code. The source code will allow you to inspect/extend the projects and build the releases yourself.
See Creator-Kit Top level Build system for information on how to use the source code.
Initially you need to install dependencies required to build. Run the following in the terminal on your Ubuntu build machine
$ sudo apt-get -y install g++ gcc binutils bzip2 flex python perl make libncurses5-dev libncursesw5-dev libssl-dev grep unzip gawk subversion zlib1g-dev build-essential git mercurial cmake python-nose python-lxml
In order to build Contiki code for Clicker boards you will need the XC32 compiler from Microchip. For 64-bit Ubuntu, 32-bit runtime libraries must be installed before the XC32 compiler can be run:
$ sudo apt-get install libc6:i386
Follow the official Linux installation instructions here to install the latest version.
Connect to Ci40 using serial console by following steps here.
Different methods are available to boot Ci40 board
Ci40 supports Ethernet for network connectivity.
Before programming a Clicker board you need to apply power. You can use batteries, USB or (purely for programming purposes) a Pickit3 programmer.
The first step is to connect a Pickit3.
Make sure that the arrow indicating Pin1 on the back of the board is matched with the arrow on the Pickit3. Once this is done you need to run the MPLAB X IPE, available here, and choose PIC32MX470F512H as the target device.
The Tool field will populate when your Pickit3 has been detected.
Click on the Browse button next to the Source field and select the desired .hex file.
Click Connect next to the Tool field to connect your Pickit3 to your Clicker board. You Clicker board will need to be powered on for this to work. Use USB, Battery or the optional 'power by Pickit3' method described at the end of this section.
Once connected, you can click Program to flash the board. It should only take a few seconds to complete.
OPTIONAL: If you want to, you can use the Pickit3 to power your board while you program. To do this, you need to configure MPLAB X IPE to enable the feature. Click "Settings" > "Advanced Mode". Click on the "Power" category on the left and click the checkbox for "Power Target Circuit from Tool". You can then go back to the "Operate" section and proceed.