[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #21152] Unable to program atmega324p with avrdude 5.4
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #21152] Unable to program atmega324p with avrdude 5.4 and AVRISP using default configuration file. |
Date: |
Tue, 25 Sep 2007 00:42:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070723 Iceweasel/2.0.0.6 (Debian-2.0.0.6-0etch1) |
URL:
<http://savannah.nongnu.org/bugs/?21152>
Summary: Unable to program atmega324p with avrdude 5.4 and
AVRISP using default configuration file.
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Tuesday 09/25/2007 at 00:42 UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Mark Moss
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
If I try to perform any operation on an atmega324p using the default
configuration file that comes with avrdude 5.4, I get the following error:
address@hidden:~$ avrdude /dev/ttyS0 -p m324p -c avrisp -U
hfuse:r:test.txt:h
>
> avrdude: stk500_program_enable(): no device
> avrdude: initialization failed, rc=-1
> Double check connections and try again, or use -F to override
> this check.
>
>
> avrdude done. Thank you
>
If I uncomment the stk500_devcode line in the m324p part section of
avrdude.conf, everything works as expected.
address@hidden:~$ avrdude /dev/ttyS0 -p m324p -c avrisp -U
hfuse:r:test.txt:h
>
> avrdude: AVR device initialized and ready to accept instructions
>
> Reading | ################################################## | 100% 0.02s
>
> avrdude: Device signature = 0x1e9508
> avrdude: reading hfuse memory:
>
> Reading | ################################################## | 100% 0.01s
>
> avrdude: writing output file "test.txt"
>
> avrdude: safemode: Fuses OK
>
> avrdude done. Thank you.
>
So far, I haven't noticed any problems. Firmware downloaded to the part
verifies and executes (AFAIK. I haven't done any exhaustive testing) fine.
I've included a patch to uncomment the STK500_devcode line in the default
configuration file.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 09/25/2007 at 00:42 UTC Name: ATMEGA324P STK500 Devcode.patch
Size: 463B By: None
Patch to uncomment the ATMEGA324P's STK500_devcode line in the default
configuration file.
<http://savannah.nongnu.org/bugs/download.php?file_id=14024>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21152>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #21152] Unable to program atmega324p with avrdude 5.4 and AVRISP using default configuration file.,
anonymous <=