Pages: [1]   Go Down
Author Topic: unable to burn bootloader to ATMEGA 328  (Read 1129 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to burn a bootloader onto a ATMEGA238 using a duemilanove board. I followed the instructions on the arduino site but keep getting this error message"


avrdude: usbdev_open(): did not find any USB device "usb"

I would really appreciate any suggestions.

Many thanks

Deon
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8706
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What ISP device are you using?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

I am using the "Arduino Duemilanove w/ ATMEGA328" as the board and "Arduino as ISP" as programmer. I have the crystal and 2 of 22pF caps with the 10k resistor on the reset.
The rest is wired as per the guide. Interesting, I am now getting the following message:


avrdude: stk500_getsync(): not in sync: resp=0x00     which is similar to another topic on today's forum.

No solution there either.
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
avrdude: stk500_getsync(): not in sync: resp=0x00     which is similar to another topic on today's forum.

That is the most generic error, it means you are not communicating with the target chip.  Try:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=11635

Same setup except a jumper from pin9 on the Arduino as ISP to XTAL1 of the target Atmega.  Also you run it from the serial monitor.  More than likely, the target Atmega lfuse setting is for 1 MHz (factory setup).

If that works, just hit johnwasser's Karma button smiley-wink
Logged


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

Thanks for the suggestions. Wish I could have done the karma button. I'm afraid I am a recent ex Picaxe user and I'm afraid much is still going over my head    smiley-eek.

Do I leave the crystal in when connecting the jumper to X1?

Could you please explain what (and how)  I must run from serial monitor.

I have downloaded the link you posted and clicked on the "board programmer .ino" file. It opened the arduino window and I uploaded the code. A string of serial data should be displayed but only a single letter comes  up?
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The baud is 115200 (default IDE is 9600).  You will have to a habit of checking the sketches for the baud rates smiley-wink

Code:
  Serial.begin(115200);

Try it without the crystal and pin9 hooked up to XTAL1.
Logged


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

Problem solved, many thanks
Logged

Pages: [1]   Go Up
Jump to: