[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] [bug #37222] Cant program ATMEGA328 chip correctly
From: |
Bill O'Neill |
Subject: |
Re: [avrdude-dev] [bug #37222] Cant program ATMEGA328 chip correctly |
Date: |
Wed, 29 Aug 2012 17:03:49 -0400 |
Here is what I just did.
Copied and pasted the section for teh 328P and made the following changes.
Put the name ATmega328 in the header comment
Changed id to "m328"
Changed desc to "ATMEGA328"
Changed signature to 0x1E 0x95 0x14.
See below. The rest of the section remains identcal to the 328P section.
#------------------------------------------------------------
# ATmega328
#------------------------------------------------------------
part
id = "m328";
desc = "ATMEGA328";
has_debugwire = yes;
flash_instr = 0xB6, 0x01, 0x11;
eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00,
0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF,
0x99, 0xF9, 0xBB, 0xAF;
stk500_devcode = 0x86;
# avr910_devcode = 0x;
signature = 0x1E 0x95 0x14;
I tried it an it works using the -p m328 option.
Bill O'Neill
Aztec MCU Prototyping
www.aztecmcu.com
----- Original Message -----
From: "Joe C" <address@hidden>
To: "Joe C" <address@hidden>; <address@hidden>
Sent: Wednesday, August 29, 2012 4:38 PM
Subject: [avrdude-dev] [bug #37222] Cant program ATMEGA328 chip correctly
URL:
<http://savannah.nongnu.org/bugs/?37222>
Summary: Cant program ATMEGA328 chip correctly
Project: AVR Downloader/UploaDEr
Submitted by: jchiarelli
Submitted on: Wed 29 Aug 2012 08:38:40 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: jchiarelli
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi I am programming a ATMEGA328 NON-p chip with a USBtinyISP. I have had
to
change the signature so it will program the non-p version of the
ATMEGA328P
chip.
I dont see a part number in avrdude for the nonP chip.
I use both ATMEGA328 and ATMEGA328P chips and this is a config change when
I
switch everytime.
Is there a way to add support for the NON-P chip? arvdude -p m328 perhaps?
so to have something like this:
m328p = ATMEGA328P [/opt/local/etc/avrdude.conf:9029]
m328 = ATMEGA328 [/opt/local/etc/avrdude.conf:xxxx]
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?37222>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/avrdude-dev