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 RequestSeverity: 1 - Wish
Priority: 9 - ImmediateItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.2Fixed 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Oct 2008 11:29:06 PM UTCarcanumPercent Complete70%=>100%
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.7.0
    Fri 17 Oct 2008 11:29:05 PM UTCarcanumStatusNone=>Fixed
    Fri 17 Oct 2008 11:15:59 PM UTCarcanumPercent Complete0%=>70%
      Assigned toNone=>arcanum
    Mon 11 Aug 2008 02:52:01 AM UTCarcanumPriority3 - Low=>9 - Immediate
    Wed 07 May 2008 08:54:31 PM UTCarcanumReleaseNone=>1.6.2
    Mon 17 Mar 2008 04:38:56 PM UTCarcanumCategoryHeader=>Feature Request
      Severity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low
    Mon 10 Mar 2008 10:33:24 PM UTCsamperiCarbon-Copy-=>Added samperi

    Back to the top


    Powered by Savane 3.1-cleanup1