Welcome! Log In Create A New Profile

Advanced

avrdude: AVR Part "atmega1284p" not found. error

Posted by kartkid13 
avrdude: AVR Part "atmega1284p" not found. error
November 24, 2012 05:23AM
Hi all,

Im new to the electronics side of the rep rap world, I am currently attempting to load Marlin firmware onto a Sanguino1.3a with Atmega1284P, I'm using Arduino 0023.

I can compile the sketch ok and get the binary size message, but when uploading to the board I get the following error:



Binary sketch size: 46688 bytes (of a 129024 byte maximum)
avrdude: AVR Part "atmega1284p" not found.

Valid parts are:
m6450 = ATMEGA6450 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:11538]
m3250 = ATMEGA3250 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:11349]
m645 = ATMEGA645 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:11160]
m325 = ATMEGA325 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:10971]
usb1287 = AT90USB1287 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:10783]
usb1286 = AT90USB1286 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:10594]
usb647 = AT90USB647 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:10405]
usb646 = AT90USB646 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:10215]
t84 = ATtiny84 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:10032]
t44 = ATtiny44 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:9850]
t24 = ATtiny24 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:9668]
m2561 = ATMEGA2561 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:9475]
m2560 = ATMEGA2560 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:9282]
m1281 = ATMEGA1281 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:9094]
m1280 = ATMEGA1280 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:8905]
m640 = ATMEGA640 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:8717]
t85 = ATtiny85 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:8536]
t45 = ATtiny45 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:8357]
t25 = ATtiny25 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:8177]
pwm3b = AT90PWM3B [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:7996]
pwm2b = AT90PWM2B [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:7813]
pwm3 = AT90PWM3 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:7630]
pwm2 = AT90PWM2 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:7446]
t2313 = ATtiny2313 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:7259]
m328p = ATMEGA328P [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:7071]
m168 = ATMEGA168 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:6883]
m88 = ATMEGA88 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:6697]
m48 = ATMEGA48 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:6510]
t861 = ATTINY861 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:6322]
t461 = ATTINY461 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:6133]
t261 = ATTINY261 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:5944]
t26 = ATTINY26 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:5787]
m8535 = ATMEGA8535 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:5629]
m8515 = ATMEGA8515 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:5471]
m8 = ATMEGA8 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:5311]
m161 = ATMEGA161 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:5171]
m32 = ATMEGA32 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:4996]
m6490 = ATMEGA6490 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:4803]
m649 = ATMEGA649 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:4618]
m3290 = ATMEGA3290 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:4435]
m329 = ATMEGA329 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:4250]
m169 = ATMEGA169 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:4070]
m163 = ATMEGA163 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:3927]
m162 = ATMEGA162 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:3731]
m644p = ATMEGA644P [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:3540]
m644 = ATMEGA644 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:3349]
m324p = ATMEGA324P [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:3157]
m164p = ATMEGA164P [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:2965]
m16 = ATMEGA16 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:2787]
c128 = AT90CAN128 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:2596]
m128 = ATMEGA128 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:2418]
m64 = ATMEGA64 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:2237]
m103 = ATMEGA103 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:2097]
8535 = AT90S8535 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1976]
8515 = AT90S8515 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1862]
4434 = AT90S4434 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1779]
4433 = AT90S4433 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1655]
2343 = AT90S2343 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1531]
2333 = AT90S2333 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1446]
2313 = AT90S2313 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1333]
4414 = AT90S4414 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1220]
1200 = AT90S1200 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:1105]
t15 = ATtiny15 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:972]
t13 = ATtiny13 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:799]
t12 = ATtiny12 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:666]
t11 = ATtiny11 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:602]





I have checked the avrdude.conf and the section for the Atmega1284p is there but still not recognized? What would be wrong? Location?

Any help would be greatly appreciated!
Cameron
Hi Cameron,

Did you sort the problem out because it looks like i have the same problem. A reprappro Mendel with Huxley firmware.

Manys Thanks Tony
Re: avrdude: AVR Part "atmega1284p" not found. error
December 28, 2012 10:07AM
Hi Cameron & Tony,

Got exactly the same problem here.

Using Arduino 0023, sanguino1284p tools downloaded from github.

I have tried a few different versions of arduino, including 1.03 and a custom 0017 that was supposed to have been configured to avoid the above problem (which will not compile the drivers.)

As a bit of background, I think have bricked my Melzi after my ATS power supply blew up on my. I now get Python errors when connecting, and it looks like these have been caused by corrupted data being sent from the board. I'm trying to re-load Merlin onto to the board, as the board itself seems to be working OK, apart from it sends junk to Pronterface.

I'll post back if I have any luck this afternoon.

Cheers,
Lars

Edited 1 time(s). Last edit at 12/28/2012 10:07AM by LarsIslander.
Re: avrdude: AVR Part "atmega1284p" not found. error
December 28, 2012 10:32AM
Well that was quick.

Unfortunately, this does not address the problem in this thread, but I managed to get my Melzi board talking again using Arduino 1.03, with these sanguino drivers HERE.

Additionally, this would not compile (as mentioned above.) This was due to some duplicate declarations in the Arduino.h and pins_ardiono.h files in the above drivers. I commented these out, compiled, uploaded and can now connect and read data from the temp sensors using Pronterface.

In Arduino.h I commented out the following lines:
#define word(...) makeWord(__VA_ARGS__)


// COMMENTED OUT THESE TWO DECLARATIONS AS THEY ARE DECLARED ELSEWHERE IN THIS FILE
//unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
//void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
void noTone(uint8_t _pin);

// WMath prototypes
long random(long);
long random(long, long);
void randomSeed(unsigned int);
long map(long, long, long, long, long);

and I also commented out this section (already defined in pins_arduino.h):
/*

LARS: YOU COMMENTED THIS OUT BECAUSE IT CONFLICTS WITH THE SAME DECLARATION IN THE 
PINS_ARDUINO.H FILE.

// On the ATmega1280, the addresses of some of the port registers are
// greater than 255, so we can't store them in uint8_t's.
extern const uint16_t PROGMEM port_to_mode_PGM[];
extern const uint16_t PROGMEM port_to_input_PGM[];
extern const uint16_t PROGMEM port_to_output_PGM[];

extern const uint8_t PROGMEM digital_pin_to_port_PGM[];
// extern const uint8_t PROGMEM digital_pin_to_bit_PGM[];
extern const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[];
extern const uint8_t PROGMEM digital_pin_to_timer_PGM[];

*/


Sorry that this is a work around, rather than a solution to the original problem.
Give it a go, hopefully it will work.

Merry Christmas y'all,
- Lars
Hola,

I have the same issue with my reprappro mendel. I can compile but fails on the upload. the only thing I can think of is that when I connect to the Melzi board from pronterface I have to use 250000 rate. In the Arduino 0023 (what I am using) the Serial Monitor can only go up to 115200. When I use the Serial Monitor at any rate that it can do I get garbage on the screen. Does anyone knows of a way to change the baud rate?

--Gracias!
Re: avrdude: AVR Part "atmega1284p" not found. error
January 09, 2013 05:42AM
I had this problem. There are multiple places in the audurino 0023 folder that the new avrdude file must be placed. When I get home I'll have a look.
I had that problem, too. Just search for another location of avrdude.conf in the arduino folder and replace it, too.
Re: avrdude: AVR Part "atmega1284p" not found. error
February 11, 2013 06:53PM
Hi Guys,

I am having the same issue and can not seem to sove it. I tried looking (using windows search function) for where else the avrdude.conf file is saved within the Arduino 0.23 folder but could not find any mention of it!

Can you guys please let me know where you copied the folders to?

Thanks for the time,

Aitor
Re: avrdude: AVR Part "atmega1284p" not found. error
February 12, 2013 10:26AM
arduino-1.0.1\hardware\tools\avr\etc\avrdude.conf


Place folder to C:
Re: avrdude: AVR Part "atmega1284p" not found. error
February 12, 2013 11:42PM
Hi Alfadex,

Thanks for the quick reply but that did not work for me! I still get errors when I try and upload to the board.

I get one of 3 errors each time I try

1) The COM port is in use by another program but I dont have anything using it.

2) avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

3) Binary sketch size: 1190 bytes (of a 129024 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_recv(): read error: The I/O operation has been aborted because of either a thread exit or an application request.

Also I tried to do the step 3. Burn bootloader to 1284p with Arduino as ISP and still get this error

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Am I doing this part right?

Any ideas as to what could be going on and how to fix it would be welcome!

Cheers,

Aitor
Re: avrdude: AVR Part "atmega1284p" not found. error
February 17, 2013 04:20PM
Can someone address this problem. Were still having problems. Does it have anything to do with the bootloader?

Thanks
Matthew

Edited 1 time(s). Last edit at 02/17/2013 04:48PM by msandersmay10.
Re: avrdude: AVR Part "atmega1284p" not found. error
February 17, 2013 08:04PM
Megator Wrote:
-------------------------------------------------------
> Hi Alfadex,
>
> Thanks for the quick reply but that did not work
> for me! I still get errors when I try and upload
> to the board.
>
> I get one of 3 errors each time I try
>
> 1) The COM port is in use by another program but I
> dont have anything using it.
> this problem is because when you have load sketch file,you are trying to upload the firmware. You should reset the atmega and you maube need to uplug the usb after that trying to upload again the firmware.
Which programmer do you use?


> 2) avrdude: stk500_getsync(): not in sync:
> resp=0x00
> avrdude: stk500_disable(): protocol error,
> expect=0x14, resp=0x51
>
> 3) Binary sketch size: 1190 bytes (of a 129024
> byte maximum)
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_getsync(): timeout communicating
> with programmer
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: stk500v2_getsync(): timeout communicating
> with programmer
> avrdude: stk500v2_ReceiveMessage(): timeout
> avrdude: ser_recv(): read error: The I/O operation
> has been aborted because of either a thread exit
> or an application request.
>
> Also I tried to do the step 3. Burn bootloader to
> 1284p with Arduino as ISP and still get this
> error
>
> avrdude: stk500_getsync(): not in sync: resp=0x00
> avrdude: stk500_disable(): protocol error,
> expect=0x14, resp=0x51
>
> Am I doing this part right?
>
> Any ideas as to what could be going on and how to
> fix it would be welcome!
>
> Cheers,
>
> Aitor
Re: avrdude: AVR Part "atmega1284p" not found. error
February 26, 2013 06:21PM
Just wondering, has anybody figured out this issue/ error? I'm using 0.23 trying to upload Marlin onto my Sanguinololu 1284P
Re: avrdude: AVR Part "atmega1284p" not found. error
March 01, 2013 06:31AM
Megator Wrote:
-
>
> 2) avrdude: stk500_getsync(): not in sync:
> resp=0x00
> avrdude: stk500_disable(): protocol error,
> expect=0x14, resp=0x51
>
>

I did get this problem once. I don't remember exactly what I did, but I mostly followed the instruction here:
[reprap.org]
and it did help me. I'm loading Teacup on my board though. Also, please make sure the board on the Arduino settings is 1284p and not 644p.. These might be too obvious and you probably have tried. I apology in advance if that is the case. I'm using Arudino 1.01 and not 23.
I had this problem with RepRapPro Melzi and Arduino 23. It turned out to be two versions of the AvrDude.conf file, one in the place I thought it would be and one in \hardware\tools\avr\etc.

I copied in the latest file over the one in \etc and it worked fine.
Did anyone fix this problem yet?
Re: avrdude: AVR Part "atmega1284p" not found. error
June 12, 2013 01:35PM
Here's how to fix it....

1. Go to arduino.cc download the arduino 0023 version
2. Go to [github.com]. Hit the zip button to download a zip file
3. Paste the sanguino file from github into the arduino-0023>hardware file
4. In the arduino-0023 file go to arduino-0023>hardware>tools>avr>etc.
5. Delete the avrdude.conf file and paste in the avrdude file from the github: sanguino1284p-master>tools
6. Open arduino 0023 and make sure sanguino 1284 16 mhz is selected
7. Open firmware file (you'll have to find it online) and upload
8. You might have to also hold down the reset button and release when the "Binary sketch size: 50264 bytes (of a 131072 byte maximum)" displays

Edited 1 time(s). Last edit at 06/13/2013 11:39AM by msandersmay10.
Yo,

In fact the fix of msandersmay10 works but what you have to do it's just press the reset button until :
"Binary sketch size: 78,682 bytes (of a 129,024 byte maximum)" is display and then for me i got Done Uploading without download any files.

I hope that could helps winking smiley
Sorry, only registered users may post in this forum.

Click here to login