106Views10Replies

Author Options:

How to burn arduino bootloader to atmega328p using arduino Pro mini? Answered

For past 3-4 hours I've been trying to burn arduino bootloader to atmega328p using a pro mini. But i can't figure it out. I've reffered to many tutorials and THIS one seems to be using a pro mini..

I've built a standalone arduino circuit according to arduino.cc's guide connected to the pro mini and when i hit "burn bootloader" it show the following error.


avrdude: Expected signature for ATmega328P is 1E 95 0F
         Double check chip, or use -F to override this check.
Wrong microcontroller found.  Did you select the right board from the Tools > Board menu?

But I'm using atmega328p. why does it say "wrong microcontroller found" ??

can anyone point me to the right direction?

Discussions

The forums are retiring in 2021 and are now closed for new topics and comments.
0
steveastrouk
steveastrouk

4 years ago

Can you find a known good "328P" to test, and read back the signature bytes ?

0
Suraj Bhawal
Suraj Bhawal

Answer 4 years ago

Unfortunately no. I only have a pro mini and 2 atmega328p. Both are without bootloader... I've always worked with PIC so I don't even have an AVR programmer to begin with. I've searched online and here are many people who are having problems burning the bootloader.

0
steveastrouk
steveastrouk

Answer 4 years ago

I too struggled to get a valid bootloader into my own Arduino project. Can you erase your chips, or is the process failing before you can get there ?

In the end I bought a very cheap proper AVR programmer, but I used an Arduino based eraser to put them into a base condition.

AVR programming is only a kind of SPI banging.

0
Suraj Bhawal
Suraj Bhawal

Answer 4 years ago

it don't even recognise the chip... Any ways I've borrowed an avr programmer from my friend. I'll report back on how it goes.

0
steveastrouk
steveastrouk

Answer 4 years ago

Can you see the chip start its clock properly ?

0
Suraj Bhawal
Suraj Bhawal

Answer 4 years ago

Thanks.. but I managed to burn the bootloader using the USBasp programmer I borrowed from a friend.... But I still can't figure out why it didn't work using arduino pro mini as ISP.

0
steveastrouk
steveastrouk

Answer 4 years ago

Probably either timing or something about the line driving the pins. If you had a scope, I'd suggest you watched the lines, and checked rise and fall times.

0
iceng
iceng

Answer 4 years ago

I do a lot of PIC, by using a basic stamp to very easily work out software sequence action. Then compile the basic into native PIC code to be placed into a low cost PIC IC and adjust the code for about a 1/ 50X timing speed increase.

0
Suraj Bhawal
Suraj Bhawal

Answer 4 years ago

thanks! But I don't see how your comment helps my case.

0
iceng
iceng

4 years ago

Sounds like you are missing some bit definition of software.