1
\$\begingroup\$

I was supplied with an arduino board in a workshop(which is a very old version board) similar to :

enter image description here

the board comes with atmega8 as a micro controller .. I wanted to increase the performance and memory of my micro controller, so I purchased an atmega328 IC from ebay

Atmega328 IC Arduino Duemilanove bootloader

After replacing the IC with atmega328, I changed the settings in my arduino IDE to atmega32 duemilanove board ..

When I supplied power to my arduino board, I noticed that the LED on pin13 is keeps on blinking continuosly(Though I pressed reset button many times)

Here's a little video I made after replacing the IC

After replacing with new atmega chip, I'm not able to upload the code

enter image description here

can anyone help me with this

Thanks !

ps : I'm pretty new to arduino & electronics world :(

\$\endgroup\$
2
\$\begingroup\$

I want to share my experience. You can use lots of different bootloaders with serial single sided board but you have to take care of two things:

  1. You have to change serial port setting for its speed like if you are using decimila or NG bootloader it should be 19200 bits per sec.
  2. Select the correct board type in the Arduino IDE, which will depend on your boot loader. You can find this information in the board.txt file, like speed of port, board name and fuse bit settings if you are loading the bootloader in a new, blank chip.

Hope this will solve your problems.

\$\endgroup\$
0
\$\begingroup\$

I'm not sure about your board, but I think it shouldn't be a problem. You need to burn the arduino bootloader, before the AVR can be used as an arduino. There's an instructable at http://www.instructables.com/id/Turn-Your-Arduino-Into-an-ISP/step4/Using-Your-Arduino-ISP-Burning-Bootloaders/ how to burn the bootloader through an arduino to an AVR on the breadboard.

An other option would be to use an external programmer - I've got one from pollin for about 15€. You didn't need a bootloader then and could just upload the compiled .hex via AVRDude.

\$\endgroup\$
  • \$\begingroup\$ Sorry, i missed that. Maybe your board isn't compatible with the duemilanove? \$\endgroup\$ – SetKent Mar 9 '12 at 18:21
  • \$\begingroup\$ If you have an 16MHZ oscillator (maybe you'll find one on some electronic waste) and 2 22pF capacitors, you could program the 328 with the method above. If you dont need much or precise timing, you could even use the internal 8MHZ oscillator. at code.google.com/p/arduino-tiny/source/browse/trunk/hardware/… you find a boards.txt that you can use to compile arduino code for a variety of AVR's with or without external oscillator. \$\endgroup\$ – SetKent Mar 9 '12 at 20:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy