logo hardware to software Hardware To Software

Donate with Paypal

Theory, hardware, software and code

Archive for the ‘burning’ tag

Burn Arduino bootloader into ATMega (USBtinyISP)

The beauty of micro controllers is that some operations can be achieved in more than a single way.


When you buy them you generally get them free of any software or – better – firmware, totally virgin and ready only to be inserted onto your board.
Sometimes they are bootloaded, that’s necessary to communicate with some other specific hardware: ATMega is a good example.
Thanks to Arduino board’s popularity is easy to find ATMega microcontrollers directly set to work with it. Read the rest of this entry »

Written by riccardo

September 14th, 2011 at 8:38 am

Burn Arduino bootloader into ATMega328 (BitBang)

In this article we will present one possible method to put a bootloader into a virgin Arduino‘s ATMega 328P.
We’ll utilize :


  • Arduino 2009 board with power supply (via USB from PC or external);
  • A virgin ATMega 328P micro controller;
  • 4 wires.
bitbang-wires1

Wire close up 1

bitbang-wires2

Wire close up 2

bitbang-wires3

Wire close up 3

Read the rest of this entry »

Written by admin

July 6th, 2011 at 5:57 pm

Configuring your new ATMega328 for Arduino

test-without-bootloaderYou have an Arduino board and you bought a new ATMega328 microcontroller for new projects; after mounted it onto the board you discovered it doesn’t work.
Why this?

In picture beside we can see something interesting: “avrdude” and specially “not in sync“; simply it’s impossible to communicate or send datas to ATMega: it’s not ready!

Ready? what does it mean“!?
Think you have a baby: he’s not ready to take care of himself, but you are, both for him and for you!

 

 

 

 

 

 

Same with microcontroller: control it by external hardware (adult to baby), or give it (baby) the way to become indipendent.

 

We’re covering this second aspect, that needs a little piece of code.

Written by admin

July 6th, 2011 at 3:45 pm

Posted in Arduino

Tagged with ,