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.

Submitted by:  None
Submitted on:  Tue 25 Sep 2007 12:42:12 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Mark Moss
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer 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

 

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
  • -unavailable- added by joerg_wunsch (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Oct 2007 09:24:30 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Tue 25 Sep 2007 12:42:12 AM UTCNoneAttached File-=>Added ATMEGA324P STK500 Devcode.patch, #14024

    Back to the top


    Powered by Savane 3.1-cleanup1