Go Down

Topic: This MCU is not supported by AVRDude using Eclipse (Read 4 times) previous topic - next topic

davewd45

Hi, just got an Arduino UNO SMD, and am able to write and upload sketches using arduino-0022 software. 
I have now installed Eclipse  (Helios Service Release 2), along with WinAVR 20100110 and the AVR Eclipse Plugin 2.3.4
I have referenced many of the tutorials on how to set this up, but I continue to encounter a problem when selecting my hardware from within my project.

From my Project Properties > AVR > Target Hardware, I try to select ATmega328, but I get the error "This MCU is not supported".  Do I need to update the AVRDude.conf file with the 328 configuration.   There is a entry for ATmega328P, but not for ATmega328.

Any help would be appreciated.

Dave

Coding Badly

Yar!  There be a P on yer board, matey!

The Uno actually has a 328P on it.

retrolefty


Yar!  There be a P on yer board, matey!

The Uno actually has a 328P on it.



And I'm pretty sure that 328 chips without the P are not even offered by ATMEL. Am I wrong?

Lefty


Coding Badly

I think Mouser still has DIPs...

http://www.mouser.com/ProductDetail/Atmel/ATMEGA328-PU/?qs=sGAEpiMZZMuHCAZ7U3Ea2vH90mYkP45F

I assume the one above is non-P and this below is with-P...

http://www.mouser.com/ProductDetail/Atmel/ATMEGA328P-PU/?qs=sGAEpiMZZMtVoztFdqDXO6rEZqxeooRg

If I remember correctly the dash PU at the end is picopower (P) + package (U).

retrolefty

I guess I was wrong. I just went ahead to the atmel site to see what is what about 328 p vs non p.

non p:

http://www.atmel.com/dyn/products/product_card.asp?part_id=4720&category_id=163&family_id=607&subfamily_id=760

p:

http://www.atmel.com/dyn/products/product_card.asp?part_id=4198&category_id=163&family_id=607&subfamily_id=760

Lefty

davewd45

Thanks everyone for your help.  The doc for the UNO on the arduino site doesn't mention the P, but I have someone with younger eyes read my chip, and it has the P.  So I'm trying it with the ATmega328p, and getting this error which seems common.   I'll search the other post and see if I can resolve it.

Launching C:\WinAVR-20100110\bin\avrdude -pm328p -carduino -PCOM6 -b57600 -Uflash:w:HelloBlinkcpp2.hex:a
Output:
avrdude: stk500_getsync(): not in sync: resp=0x00

Coding Badly


Launching C:\WinAVR-20100110\bin\avrdude -pm328p -carduino -PCOM6 -b115200 -Uflash:w:HelloBlinkcpp2.hex:a


davewd45

Thanks Coding Badly, and retrolefty, I appreciate the help getting started.  This is cool, now I can get working.

Dave

anomalous

Hi folks,

on a similar topic - can anyone think why, in the Eclipse project properties ->AVRDude setup, it would be refusing to allow me to select or add a new Programmer Config?

under target hardware I have ATMega328P, clock 160..., which it seems happy with.

the project is the basic blink, my AVR paths are all (seemingly) ok.  here as well, I cant add a programmer config.

Im running under win 7, 64 bit.  I'm new to eclipse, but a programmer by trade, so not a complete n00b.

any suggestions much appreciated...

cheers,

ben


Go Up