Pages: [1]   Go Down
Author Topic: This MCU is not supported by AVRDude using Eclipse  (Read 4181 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 207
Posts: 12928
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

The Uno actually has a 328P on it.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 207
Posts: 12928
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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).
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 207
Posts: 12928
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Dave
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Pages: [1]   Go Up
Jump to: