bugAVR Downloader/UploaDEr - Bugs: bug #16410, ATMega164/324/644 cannot be...

 
 

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

bug #16410: ATMega164/324/644 cannot be programmed

Submitted by:  None
Submitted on:  Sat 22 Apr 2006 09:59:20 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Gille Spinelli
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Mon 21 Aug 2006 10:10:39 AM UTC, comment #2:

This has been confirmed to be a pagesize issue. The ATmega324
actually features a pagesize of 128 bytes, the information
in the XML file is wrong.

Fix will be committed soon.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sat 19 Aug 2006 09:57:41 PM UTC, comment #1:

No, extended addressing is only needed for the ATmega256x.

However, it appears to me the page size figures given by Atmel
are wrong for the ATmega324(P). Programming an ATmega644 worked
well, so the generalization you made in the subject of this bug
report (by extending your experience with the '324 to the entire
family) doesn't appear to be valid.

I cannot verify this for an ATmega164(P) as I don't have one.

However, I've been surprised that when using the ATmega16
definitions, programming the ATmega324P proceeded as expected.
As the only difference between both definitions were the page
sizes, and the resulting split of the address bits between the
loadpage_XX and writepage commands, this leads me to the
conclusion the ATmega324P actually features a flash page size
of 128 bytes rather than 256 bytes.

I'll try to clarify that with Atmel.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sat 22 Apr 2006 09:59:20 AM UTC, original submission:

Hi,

I can access at my ATMega324P chip (using pony-stk500 with parallel interface) for erase flash, and rewrite fuse. But I cannot program and/or read well flash memory (via -U order).
PS : When I use same board/programmer with ATMega32 chip, all work well.

I think it's because these flash memory require a new program order "Load Extended Address Byte" (0x4D 0x00 Adr 0x00) before program or read flash memory.

I cannot insert this order in "avrdude.conf".

Can you help me ?

Thank

Gilles

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 21 Aug 2006 07:09:24 PM UTCjoerg_wunschStatusConfirmed=>Fixed
  Open/ClosedOpen=>Closed
Sat 19 Aug 2006 09:57:41 PM UTCjoerg_wunschStatusNone=>Confirmed
  Assigned toNone=>joerg_wunsch

Back to the top


Powered by Savane 3.1-cleanup1