Pages: [1] 2   Go Down
Author Topic: bootloader problem with ATmega328P  (Read 1561 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey, I bought a new ATmega328P because i short circuited my old chip due to carelessness. And now, I'm facing problem with uploading the bootloader. I've searched it for quiet a while, but none of them worked. The error I'm always encountering is "avrdude: stk500_getsync() : not in sync: resp=0x00".
I'm using a Arduino Duemilanove. I'm sure I have put the microcontroller on the board correctly. Need some help.
Thank You.
Logged

0
Offline Offline
Edison Member
*
Karma: 8
Posts: 1411
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How are you trying to burn the bootloader? Are you using a programmer? Through ISP?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

using the breadboard technique on this link
http://arduino.cc/en/Tutorial/ArduinoISP
I don't exactly know what a programmer means, I'm new to this stuff.
Logged

UK
Offline Offline
Faraday Member
**
Karma: 100
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you:

1. Uploaded the ArduinoISP sketch to the Dualanimallove?
2. Selected the right target board in the IDE menu?
3. Selected the right bootloader in the IDE menu?
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Dave,
I suggest You try this way http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html It works very well for me with 328p
REgards,
JUan
« Last Edit: June 23, 2012, 04:38:54 pm by juan1920 » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 545
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I agree, that method works great on a Duemilanove. Takes a while to get the software all set up.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When I try to upload the sketch, i get this error: avrdude: stk500_getsync() : not in sync: resp=0x00
Ya I have selected the correct board.
I'm not sure which programmer should i be selecting.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank You. i ll try it that way and tell u if it works.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have pin headers near FT232R.. So i dont think i can proceed this way.. and other way?
I tried it this(shown in attachment) way and I'm getting that avrdude error.


* boot.bmp (698.72 KB, 440x542 - viewed 23 times.)
Logged

UK
Offline Offline
Faraday Member
**
Karma: 100
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You should be selecting "Arduino as ISP" from the "Programmer" sub-menu of "Tools".  For programming a '328P you should select "Arduino UNO" as the board.  The "Arduino ISP" sketch in the "Examples" menu should work perfectly - make sure that is loaded on to the Dualanimallove before you start.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

majenko,
Should i press upload after having that setup in my previous message? that is, the ATmega328P is not on the arduino board, but it is on the breadboard
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have pin headers near FT232R.. So i dont think i can proceed this way.. and other way?
I tried it this(shown in attachment) way and I'm getting that avrdude error.
Hi Dave,
I had to solder a pin header on solder pad, same as explained on the guide. I think it deserve the work.
Regards,
Juan
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Juan,
I don't have any experience in soldering, I would prefer an other way.
Thanks
Logged

UK
Offline Offline
Faraday Member
**
Karma: 100
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

majenko,
Should i press upload after having that setup in my previous message? that is, the ATmega328P is not on the arduino board, but it is on the breadboard

First set the IDE to the board you are doing the programming with (Duemilanove), then upload the sketch.

Then, set the IDE to the board you want to program (Uno), and use "Burn Bootloader"

You will need a 16MHz crystal and associated capacitors on the breadboard.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

majenko, i have only one board i.e. Duemilanove. I am not able to upload the sketch onto the duemilanove as i'm getting the avrdude error message stated above.
Logged

Pages: [1] 2   Go Up
Jump to: