Sections
You are here: Home Documentation Tutorials Getting Started with Linux Compile firmware

Compile firmware

How to compile firmware (not necessary if you're using the pre-built binaries).
How to set up to play with your Make Controller from a Linux desktop.
Page 2 of 3.
1. Get the firwmare

(check the Downloads section for the latest version)

    % cd
% wget http://downloads.sourceforge.net/makingthings/firmware-v1.2.0.zip
% unzip firmware-v1.2.0.zip
2. Build tiny
    % cd ~/firmware-v1.2.0/tiny
% make clean; make

3. Enter SAM-BA mode
Enter SAM-BA mode by shorting the ERASE jumper and cycling the power.

4. Load tiny and reset the board to run from Flash - tiny, in this case.
    % cd output
% sudo sam7
sam7> flash tiny.bin
sam7> boot_from_flash
sam7>
5. Run tiny
Power cycle your MAKE Controller Kit and observe the green LED on the processor board flashing.

6. Build heavy
    % cd ~/firmware-v1.2.0/heavy
% make clean; make

7. Enter SAM-BA mode
Enter SAM-BA mode by shorting the ERASE jumper and cycling power

8. Load heavy and reset the board to run from Flash - tiny, in this case.
Note that flashing heavy.bin takes over 1 minute during which no progress is indicated.
    % cd output
% sudo sam7
sam7> flash heavy.bin
sam7> boot_from_flash
sam7>

9. Run heavy
Power cycle your MAKE Controller Kit and observe the green LED on the processor board flashing at about once per second.

Connect your MAKE Controller Kit to a wired Ethernet network, and browse to http://192.168.0.200/. You should see a list of tasks that are running on the MAKE Controller Kit and the state of the inputs. If you have the Trimpot Jumper installed turn the trimpot and observe the changing values on input number 7. This page automatically refreshes every second.
 
Document Actions
Log in


Forgot your password?
New user?