infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 6 of 6

Thread: .elf and

  1. #1
    KDN is on a distinguished road
    Join Date
    Oct 2017
    Posts
    29
    Points
    452.5

    .elf and

    HI,

    Thanks in advance


    What is difference between .elf and .hex and which should be uploaded in controller for first time

  2. #2
    Advanced Advanced
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    46
    Points
    804.375
    Hi,
    a .hex file contains only the values for different memories and will be used for programming of the device (e.g. via Memtool).
    A .elf file contains, additional to the memory informations, debug and symbol informations which are very helpful for debugging in a debugger.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    KDN is on a distinguished road
    Join Date
    Oct 2017
    Posts
    29
    Points
    452.5
    I am .elf files into controller but after power cycle, controller do't retain their code. Do I have to flash .hex file into it.

  4. #4
    Intermediate Intermediate UC_wrangler is on a distinguished road
    Join Date
    Jun 2019
    Posts
    20
    Points
    425
    Is your code targeting RAM (0x50000000-0x700FFFFF), or flash (starting with 0x8 or 0xA)? If it's running from RAM, that would explain why the AURIX doesn't retain it through a power cycle

  5. #5
    KDN is on a distinguished road
    Join Date
    Oct 2017
    Posts
    29
    Points
    452.5
    Hi

    Can you help me how to resolve this problem. I am using lauterbach to flash code.

  6. #6
    Intermediate Intermediate UC_wrangler is on a distinguished road
    Join Date
    Jun 2019
    Posts
    20
    Points
    425
    Hi KDN.

    Where is your application - in PFLASH, or in RAM? When you say the controller doesn't retain its code, what address are you looking at to know it's gone?

    Do you have boot mode headers set up, so the AURIX firmware knows where to start your application?

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.