patchAVR C Runtime Library - Patches: patch #4802, Add support for ATmega406

 
 

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

patch #4802: Add support for ATmega406

Submitter:  None
Submitted:  Mon 16 Jan 2006 06:10:46 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Mon 22 May 2006 04:43:12 PM UTC, comment #2: 

Support for ATmega406 device is added in GCC 4.2.
Support for ATmega406 device is added in binutils 2.17.
Support for ATmega406 device is added in avr-libc 1.4.4.

Anatoly Sokolov <aesok>
Group administrator
Sun 22 Jan 2006 08:39:05 PM UTC, comment #1: 

One more task:

ATmega406 device has the 32-bit SFP CADAC0:4.
1) It is necessary to add a _SFR_MEM32 in avr-libc.
2) And it is possible, the patch for the gcc is necessary similar on described in bug report 20288 ( AVR assignment of a value through a 16 bit pointer generates out of order code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20288), but for 32-bit variables.

Anatoly Sokolov <aesok>
Group administrator
Mon 16 Jan 2006 06:10:46 AM UTC, original submission:  

I see that the task to include ATmega406 support is still open and thus I have done the manual labour to speed up the process.
 
There are a few notable differences: EEPROM registers are at a different address and the internal RAM starts from 0x100 (and not the default 0x60), but this can be fixed with the linker switch "-Wl,-Tdata,0x800100"

Anonymous

 

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

Attached Files
file #9472:  gcc-3.4.4-atmega406-dev.diff added by aesok (3KiB - application/octet-stream)
file #9471:  binutils-2.16-atmega406-dev.diff added by aesok (621B - application/octet-stream)
file #9466:  iom406.h added by aesok (16KiB - text/plain - updated)
file #9445:  iom406.h added by None (17KiB - text/plain - "iom406.h" hardware definition file for ATmega406)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-22 aesok StatusNone Done
    Open/ClosedOpen Closed
2006-01-23 aesok Attached File- Added gcc-3.4.4-atmega406-dev.diff, #5811
2006-01-23 aesok Attached File- Added binutils-2.16-atmega406-dev.diff, #5810
2006-01-22 aesok Attached File- Added iom406.h, #5802
2006-01-16 None Attached File- Added iom406.h, #5775
    Carbon-Copy- Added pieterconradie --AT-- astratagroup --DOT-- com

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code