bugAVR Downloader/UploaDEr - Bugs: bug #21152, Unable to program atmega324p with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21152: Unable to program atmega324p with avrdude 5.4 and AVRISP using default configuration file.

Submitter:  None
Submitted:  Tue 25 Sep 2007 12:42:12 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Mark Moss
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Tue 25 Sep 2007 12:42:12 AM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #14024:  ATMEGA324P STK500 Devcode.patch added by None (463B - text/x-patch - Patch to uncomment the ATMEGA324P's STK500_devcode line in the default configuration file.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-29 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2007-09-25 None Attached File- Added ATMEGA324P STK500 Devcode.patch, #14024

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code