Go To Last Post
2 posts / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1)Hello all , I have a project that uses  a TQFP ATMEGA1280V on a PCB. I have tried to program the chip using icsp  and several other ways with no luck. The first way was using the uno as a programmer:

Arduino Uno(Reset) pin 10 <----->Pcb Icsp (pin 5)(Reset)

Arduino Uno(Mosi) pins 11<----->Pcb Icsp(pin 4)(Mosi)

Arduino Uno(Miso) pins 12<----->Pcb Icsp(pin 1)(Miso)

Arduino Uno(Sck) pins 13<----->Pcb Icsp(pin 3)(Sck)

Arduino Uno(Gnd) <----->Pcb Icsp(Gnd)

Arduino Uno(Vcc) <----->Pcb Icsp(Vcc) and 10uf cap between gnd and res on the arduino

I select the port and the board type. I then downloaded the example arduinoisp sketch to the Uno first. I then switch the board type to atmega1280, the tried to "burn bootloader".They pcb is externally powered 5v  and Uno via usb. The error message I get is" error while burning bootloader" invalid device signature.


2)The second way was using the stk500 usb avrisp programmer w/avr studio 4.1

programming mode and target setting was pp/hvsp mode, isp frequency 115.2 KHz. When I tried to read the signature , I get "signature does not match selected device!", If I program without placing the check mark in the box labeled "verify device after programming  this is the result

Reading FLASH input file.. OK
Entering programming mode.. OK!
Erasing device.. OK!
Programming FLASH ..      OK!
Leaving programming mode.. OK!

if I check the same box I get  this "parallel hvsp mode error"

I attemted to load my sketch but this is the result"avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00" problem uploading to the board



3) the third way I tried was to use the TQFP STAND ALONE ATMEGA1280 place in a 100 pin adapter and using the uno as an icsp programmer

I used pin atmega pb1 /pin20 (Sck)---Arduino  pin 13(Sck)

                atmega pb2 /pin21 (Mosi)--- Arduino pin 12(Sck)

                atmega pb3 /pin22 (Miso)---Arduino pin 11(Miso)

                atmega vcc pin 10---Arduino (vcc)

                 atmega gnd pin 11---Arduino (gnd)

                 atmega respin 30---Arduino (reset)


same error while burning bootloader

can anyone help !!!!!!!!!!!!!!!!!!!!!

Thanks in advance

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This has sunk down to the 3rd page and is probably in need of a bump...

Maybe it is because of the "i need help". That is redundant because that is what (almost) all forum posts are about.


1). In your first attempt you get the error message "invalid device signature". This is because the "signarure bytes" in the target (to program) processor do not match with what your programmer thinks it is programming.

You should compare datasheets for ATMEGA1280 and ATMEGA1280V for differences in these signature bytes (search the pdf).


2). See 1). Apparently you can program the target processor, but if you program it with code for a different processor it will not run properly. Where does the "invalid device signature" come from? What are the signatures that your programmer is comparing? For what processors are (both!) those signatures?


What is that "same box" you mention? "hvsp" probably means "high voltage serial programming" and if so, would need an external (12V? voltage (on the reset pin?)).


Make a list of all the hints you have. Think about the actual meaning of those error messages. Copy them into a search engine on the 'net and look at what others have found.

If you still can not figure it out, then copy and paste the literal messages that your programmer gives you.

"arduino" usually tries to hide these from the user, which makes trouble shooting more difficult. You might try to start the programmer from a CLI (command line interface). It could also help to make the output more "verbose", for example by adding the option "-v" or "-vv" or even "-vvv". Read the manual of your programming tool of how to get more information out of it.

Doing magic with a USD 7 Logic Analyser: https://www.avrfreaks.net/comment/2421756#comment-2421756

Bunch of old projects with AVR's: http://www.hoevendesign.com