bugAVR C Runtime Library - Bugs: bug #22540, Adding signature bytes to header...

 
 

bug #22540: Adding signature bytes to header files

Submitted by:  John Samperi <samperi>
Submitted on:  Mon 10 Mar 2008 10:33:24 PM UTC  
 
Category:  Feature Request Severity:  1 - Wish
Priority:  9 - Immediate Item Group:  Header files
Status:  Fixed Assigned to:  Eric Weddington <arcanum>
Percent Complete:  100% Open/Closed:  Closed
Release:  1.6.2 Fixed Release:  1.7.0

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 May 2008 08:54:31 PM UTC, comment #2: 

That is the intent:
- Add the signature bytes to the ELF file
- Get the signature information from the XML device files

However this will not happen in time for the next WinAVR release.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Wed 07 May 2008 03:15:30 PM UTC, comment #1: 

This should now be easy with device header files generated from xml part files(?)

- <SIGNATURE>
  <ADDR000>$1E</ADDR000>
  <ADDR001>$97</ADDR001>
  <ADDR002>$82</ADDR002>
  </SIGNATURE>

I'd like to see this taken further by adding the signature bytes to ELF files like the fuse and lockbit API do. This is already done by AVR Studio's programming software when saving elf files.

This would be advantageous for programming software as it would provide a way to identify the target device from the ELF file.

Tero Sinervo <tvjsin>
Mon 10 Mar 2008 10:33:24 PM UTC, original submission:  

Signature bytes are usefull for bootloader implementation.

They are supplied with the Atmel assembler include files but none of the C compilers header files I have looked at have them.

Example of existing signature bytes info in assembler .inc files:

; ***** SPECIFY DEVICE ***************************************************
.device ATmega164P
#pragma AVRPART ADMIN PART_NAME ATmega164P
.equ   SIGNATURE_000   = 0x1e
.equ   SIGNATURE_001   = 0x94
.equ   SIGNATURE_002   = 0x0a

#pragma AVRPART CORE CORE_VERSION V2E

John Samperi <samperi>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tvjsin (Posted a comment)
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by samperi (Submitted the item)
  • -email is unavailable- added by samperi
  •  

     

     

    Follow 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-10-17 arcanum Percent Complete70% => 100%
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 1.7.0
    2008-10-17 arcanum StatusNone => Fixed
    2008-10-17 arcanum Percent Complete0% => 70%
        Assigned toNone => arcanum
    2008-08-11 arcanum Priority3 - Low => 9 - Immediate
    2008-05-07 arcanum ReleaseNone => 1.6.2
    2008-03-17 arcanum CategoryHeader => Feature Request
        Severity3 - Normal => 1 - Wish
        Priority5 - Normal => 3 - Low
    2008-03-10 samperi Carbon-Copy- => Added samperi

    Back to the top


    Powered by Savane 3.5