Sections
You are here: Home Documentation Tutorials Using mchelper Uploading New Firmware

Uploading New Firmware

Load a new program onto your Make Controller, either to update it or to run a program of your own creation.

New firmware (which must take the form of a .bin file) is uploaded onto the Make Controller Kit via USB. These can be downloaded from the MakingThings site, or you may create them yourself.

The first step is to get the board into upload mode, so it's ready to accept a new app - this process depends on whether you're running an OSC-enabled application (like Heavy) or something else.

OSC Erase

If you're running at least Heavy 1.6.0 and your Controller Board is version 1.1 or later, you can erase the board simply by right clicking on the board in the Boards list and selecting 'erase board'.  Once you've done this, the your board should drop off the Boards list and come back momentarily as an Unprogrammed Board.  At this point, double-click on the board, or select Uploader from the Board menu to bring up the Uploader dialog. 

Manual Erase

If your board is not running an OSC-enabled app or it's earlier than version 1.1, you need to erase it manually.  This is also the way to erase a board that is not responding to the above method.  

There are just a few steps:

  • You'll need to make contact between the two pins labeled ERASE on the Application or Interface Board - these are located near the top left corner of the Controller Board, and the labels might be pretty small!.  Connect these pins with any piece of metal (screwdriver, paper clip, etc) to erase it.  If you're doing this often, it might be convenient to connect a pushbutton between these two pads so you can use it to erase your board.
  • Unplug and replug the board to reset it.  When you plug it back in, the board should pop up in the list on the left as an Unprogrammed Board.  Double click on it, or select Uploader from the Board menu to bring up the Uploader dialog.

Upload Dialog

Once the Upload dialog is up, select the .bin file you want to upload by clicking the Browse button, and then click the Upload button.  The status bar will show the progress of the upload - make sure not to unplug your board while this is uploading. When it's complete, you're running your new firmware.  If your Controller Board is version 1.0, you'll need to disconnect/reconnect the board to have it reconnect over USB - if you're just using it over Ethernet there's no need.  That's it!

mchelper uploader
The mchelper Uploader dialog

Platform Specific Notes

Windows

On Windows, you need to install USB drivers twice:

  • the first time the board is plugged in while it's running heavy.
  • the first time the board plugged in when it's in upload mode.
For each of these cases, the device manager will pop up alerting you that new hardware has been detected.  Tell it to install automatically and it should be able to find the appropriate drivers. It will also warn you that the driver is not certified - this just means that nobody has paid Microsoft the fee they require to prevent that dialog from coming up!  Press "continue anyway" and all is well.

As of 06/2009 we don't have support for uploading new firmware on Vista 64-bit.  Other Windows platforms are supported, but Atmel (the chip manufacturer) has not yet released support for this yet.  We're currently working with them to try and get this together!

OS X

As of 10.5 (Leopard), changes were made to the USB system that require an extra setup step.  In the mchelper download, install the OS X Uploader package which will allow you to upload new firmware successfully to your board.  It's best to do this before plugging your board in.

Next Steps

Once you've uploaded new firmware, the Uploader dialog will close.  If the board does not appear momentarily in the Boards list, try disconnecting and then reconnecting your board.

Once it shows up in the list of boards, you may want to give the board a quick test to confirm it's working.  A good way to do this is to send an OSC message from the "Dialog" view.  When the board pops up in the list on the left, try typing

/appled/0/state 1
and then hitting return, or pressing the Send button.

You should see one of the LEDs on the Application Board light up. Then, if you send
/appled/0/state 0
you should see it turn off.  If you're using an Interface Board you don't have any appleds, so you can send a message like
/led/state 1
instead.  You should see the green LED on the Controller Board light up for a moment before resuming its normal blink pattern.
 

No uploading support for Leopard

Posted by Joe Wood at Apr 21, 2008 11:07 PM
One thing to note: uploading is _not_ supported on Leopard as of 4/21/2008, so be sure you have an older version of OS X or a different platform available _before_ you erase the firmware.

No uploading support for Leopard

Posted by Liam Staskawicz at Jun 08, 2009 08:37 PM
Uploading is supported on Leopard, as of mchelper 2.5.0

Couple of Hints

Posted by B. at Sep 07, 2008 07:50 PM
Leave the USB cable plugged into the controller when you perform the erase step.

For OS X 10.5 users, wait to run the AppleScript until <i>after</i> you unplug the USB cable, plug it back in and you select "Samba Board" on the left. Once the script completes successfully you can select the "Upload" button.

As soon as upload is complete run the AppleScript again to restore OS X 10.5 USB settings. Then your final step is to unplug the USB cable again & plug it back in.

What AppleScript?

Posted by JP Kelly at Sep 26, 2008 12:46 AM
What AppleScript are you referring to?

Two Scripts from D/L

Posted by B. at Sep 27, 2008 02:37 PM
When you d/l the script there will be one to change default settings and one to restore default settings.

my question was regarding where to find the script

Posted by JP Kelly at Sep 27, 2008 03:07 PM
which i found here
http://www.makingthings.com/news-items/os-x-10-5-upload-helper?searchterm=applescript

Erasing the Device

Posted by Mallawa Perera at Dec 29, 2009 02:50 AM
I have the make controller v2.0. When I plugged it it recognize by the mchelper. I followed the instruction and erase the device and waited about 4 mins and reconnected. Mchelper recognise it again but did not allow me ( upload New firmware shaded )to upload firmware. So I erased it manually shorting 2 pins 3v3 labeled erase. Now windows recognize it as a GPS camera but not the mchelper at all. I can see red smd led is on all the time. How can I get back to mchelper to recognize the board and erase it again and upload the firmware?

Erasing the Device

Posted by Andrew Burrows at Dec 29, 2009 06:09 PM
I have the make controller v2.0 I can erase it from mchelper at which point it disappears and is recognised as a "gps camera detect" device. Using device manager I have reassigned the driver to make controller and now it shows up in mchelper again. It shows up with no name or any other details but I still can't upload my new file - the only options are reset and erase. Any ideas?

Erasing the Device

Posted by Andrew Burrows at Dec 29, 2009 07:18 PM
I have managed to get the upload to work now. First time around when I reassigned the driver from "gps camera detect" to the make controller drivers I just picked the driver from the list - that did not work. This time I actually pointed device manager at the drivers I'd originally downloaded from the web and that worked perfectly - mchelper spotted that it was an unprogrammed board and let me upload new firmware.

Erasing the Device

Posted by Fran McLoughlin at Jan 29, 2010 02:13 AM
I can confirm "burrowsa". Once the board is hard erased it becomes recognized as a "GPS device". Update the driver by pointing at the "atm6124.inf" file and let it install. Under Device Manager the board will show up under Universal Bus Controllers as "atm6124.sys ATMEL AT91xxxxx Test Board". Now mchelper will report the board as "Unprogrammed Board".
Almost there... Highlight the entry and then you can select Board>Upload New Firmware. Point to the "heavy20-1.6.2.bin" and let it upload. Now the board will be relocated and show up in the Device Manager - Ports (COM & LPT) section as "Make Controller Kit (COM4)" or COM whatever...
Go back to your mchelper window and start entering some commands like "/appled/1/state 1" (turn on the second surface mount green led).
Enjoy...
I spent a TON of time on this sucker trying to get it to work when I first got it but now - thanks to forum members here I am finally up and running.

Fran - Windows 7 34bit

Erasing the Device

Posted by john wierzchowski at Apr 12, 2010 11:44 PM
wowza thanks you saved me a ton of time i almost soiled myself when the green light wouldn't come back on and the board disappeared. I didn't realize it showed up as the gps camera (i recently installed webcam and went wow that thing had gps?!?!?) anyway i was trying to see if i can see it on the network now and well it doesn't show up with an IP like it does on the screen shots, even though i see it acquired an IP through inspector and can ping it...
Log in


Forgot your password?
New user?