I am new to ATMEGA1284P. I have decided to do one project with this microcontroller, but when I am uploading my program to it with USBtiny using eclipse software it is giving below message.
I think 1e 97 06 is device signature for ATmega1284, not ATmega1284P. Are you sure your microcontroller is ATmega1284P, not ATmega1284?
That seemed sort of strange. I was speculating that your AVRDUDE config file to might have the wrong signature set but the data sheet for the ATmega1284p clearly states that the signature bytes should be 0x1E 0x97 0x05.
So, I had a look in the config file to see if there was any signature 0x1e 0x97 0x06, and it's the ATmega1284 (with no "p"!). Double-checking against the ATmega1284 (again, no "p") confirms this.
Did you select the correct part number in your project?
EDIT: Beaten to it by Marek while double-checking the data shets and AVRDUDE configs...
As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.
No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.
"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]
Thanks for reply my device has the part number printed on it:-- ATMEGA 1284 PU 1708.
Also I am not able to get ATMEGA1284 (Not "P") in my avr dude hardware choose list.
The "PU" in "ATMEGA 1284 PU" is not to be confused with the "P" in "Atmega1284p". What you have is an ATmega1284, without the 'p'.
(The "PU" on your chip is about the actual packaging it is in.)
Any recent AVRDUDE should recognize "ATmega1284" (without the "p"). If your Eclipse plugin does not show it in a pick-list then the problem is likely with that plugin (i.e. not with AVRDUDE per se).
Can you provide a web-link to the Eclipse plugin?
I have install WinAVR-20100110 with my eclipse. Sorry I don't have the link.
I found this think on internet. Is it helpful?? How I can use it please guide me.
Post a picture of the chip so that we know what you have.
Ampertronics Pty. Ltd.
* Electronic Design * Custom Products * Contract Assembly
Here is the picture. (Edited image to a smaller size - JS)
So this is Atmega1284, not Atmega1284P. The correct signature is 1e 97 06.
I am not able to get atmega1284 in winavr (avr dude) hardware list in eclipse. So what I can do for this issue?
Install Arduino - it will deliver a much more up to date copy of avrdude. The one in WinAVR is 8 years old!
I have already written my code in C, and it is working fine in simulation. So, for me it is not possible to write hole code again.
Who suggested writing it all again?
I said "install Arduino" because in the 5,000+ files it puts on your hard drive that includes copies of fairly recent Windows builds of avrdud.exe, avrdude.conf etc.
Lift the 2 or 3 files that make the up to date copy of avrdude and store them somewhere safe then delete the other 4,998 files you don't actually need.
I know it's a bit of a sledgehammer to crack a nut approach but it will deliver to you a known working avrdude that is also being used by literally millions of other people.
What we are told: ATmega1284 does not show up in "the Eclipse plugin".
What we don't know: Is this a deficiency in "the Eclipse plugin" or does the OPs AVRDUDE miss ATmega1284? The latter seems strange since the ATmega1284p is supported (and the "p"s are the newer devices, right?)
I'd still like to know what "the Eclipse plugin" is. Link please.
As of January 15, 2018, Site