Flashing Smoothie firmware

Here is how to flash a new firmware to your Smoothieboard.

Smoothieboards come pre-flashed

You should not need to flash your Smoothieboard when you get it. You only need to do so to update it to a newer version of the firmware if you wish or if the pre-flashed firmware is not functioning properly.

It is a good idea to flash your board to the latest stable version anyway when you first receive it.

When you upgrade to a newer version, make sure you also upgrade your configuration file, to make sure the firmware can understand it. We try very hard to maintain backwards compatibility, however in the years since the start of the project, there have been a few very rare changes, so having a very old configuration with a very recent firmware can rarely cause problems.

When upgrading from such a very old firmware, make sure you read the upgrade notes.

This is also presuming your Smoothieboard is already flashed with the DFU bootloader ( it is already if you bought the board, it probably isn't if you built it yourself ).

Download

The latest bin is available at https://github.com/Smoothieware/Smoothieware/tree/edge/FirmwareBin

For detailed instructions see Getting Smoothie

Copy

Copy the file firmware.bin and config.txt to a micro sdcard, then safely remove the sdcard from your computer

Filename

Make sure the file is named Firmware.bin, and not anything else.

Also make sure you downloaded the file itself, and not the HTML page containing it, as this would cause chaos. A good method is to check the MD5 sum for the file you downloaded ( or opening it in a web browser ).

Make sure you eject the SD card from your computer properly ( “eject” in your file explorer's menus ).

Power:

Plug the sdcard into the SmoothieBoard sdcard slot, then plug a mini USB cable into the board. (pictures ???)

Observe

Smoothie will boot and you should see the leds count up for a few seconds, then they will start flashing, at this point smoothie has flashed the latest version of Smoothie and is running.

SD card problems

If there is a problem with the SD card, LED4 will be off.

If this happens, you need to format the SD card to fat32, and if that fails, use another SD card.

If the LEDs do not perform the count up sequence your firmware flashing did not complete.

If this happens, you need to verify your formatting and naming of your files which should be:

  firmware.bin
  config.txt

You can make sure the new firmware was flashed by looking at the content of the SD card.

If the firmware was flashed successfully, the filename should have changed from firmware.bin to FIRMWARE.CUR The config.txt will always remain config.txt

Connect

You can now connect to smoothie with Pronterface ( or any other host program, see Software ) at any baud rate, look for a serial USB device on your computer.

If running windows you may need to install the Windows Drivers

Mac OS/X and Linux have the drivers built in.

You can ignore any messages about missing DFU drivers.

Terminal

You can also connect to Smoothie with any serial console program, which should be set to local echo and Linefeed line endings.

Typing Help will show a list of console commands available.

Some useful commands are:-

  • Version - which shows the current smoothie version
  • Ls /sd - which lists the files on the sdcard
  • Play /sd/file - which will print the file from the sdcard

More commands can be found on the Console commands list and useful G-codes are in the Supported G-codes list

2017/01/25 14:19 · arthur