1.
So you just finished soldering up your Sanguinololu 1.3A board and are ready to test it to see if everything is working properly, but before you can upload any firm ware to the board you need to burn a Bootloader to the ATmega 644P. In this tutorial I will cover using an Arduino or Arduino clone as your ISP programmer. … Class starts after the jump.
Before we get started with the tutorial make sure you have the following tools and discrete components on hand and ready to use.
In short a Bootloader is a small piece of code that is stored in the microcontroller’s program memory and allows the user to program and reprogram the microcontroller without using an In System Programmer (ISP). We won’t get into the full details of what a Bootloader does in this tutorial, but if you would like to know more check out this article on Emcelettronica.com
ISP is short for “In System Programmer”, a device that allows you to program a microcontroller without using a Bootloader. It can be used to burn Bootloaders, and program microcontrollers where a USB interface is not present. In our case we will be using an Arduino with an ATmega 328 to burn the Sanguino Bootloader to our ATmega 644p.
Before we can burn the Sanguino Bootloader we need to program to Arduino to act as an ISP. Follow the steps below and we can move on to breadboarding the ATmega 644P.
Click Images for High Resolution Versions.
Click for high resolution version.
* Resonator is not polarized so either outside leg can be used.
Now that you have the circuit Breadboarded with your Arduino and ATmega 644p double check every connection. We have done this many times and still manage to misplace a jumper wire every time.
Fig. 5 |
Fig. 6 |
Fig. 7 |
Click Images for High Resolution Versions.
To test if you were successful at burning the Sanguino Booloader to the ATmega 644P you need to place the ATmega 644P into the socket on your Sanguino or Sanguinololu and upload one of the compatible RepRap firmware’s. If the firmware compiles and uploads with out error the you were successful. If you get an error, place the ATmega 644P back in the breadboard and check every connection again and try to burn the bootloader again.
The Sanguino development board is an extension of the popular Arduino board designed and developed by Zach Hoeken et.al. for the RepRap Research Foundation
Sanguinololu is a low-cost all-in-one electronics solution for Reprap and other CNC devices. It features an onboard Sanguino clone using the ATMEGA644P though a ATMEGA1284 is easily dropped in. Its four axes are powered by Pololu pin compatible stepper drivers. Sanguinololu was developed by Joe "Mosfet" Malone for the RepRap project.
Arduino as ISP for ATmega 644P was developed by Nils Vogels of XYZ Printers.
This tutorial was written by Charles Gantt of TheMakersWorkbench.com