.eb.hdr section created in a new external flash section

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.eb.hdr section created in a new external flash section

537 Views
jacintomoreno
Contributor III

Hi,

I have created from MCUXpresso a new .text.flash section in a external flash memory. I am placing some binary data into that section, and it is actually getting there, however when I go and look to the .axf file I see that there is a .eb.hdr section ((EVT_ENTRY)&IMG_hdr,    // Image Header pointer) in my new flash section.

I wonder how it is getting there?

Where should this actually go?

I ask because it might get removed if it stays in that section.

Thanks in advance.

Labels (2)
0 Kudos
3 Replies

383 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Jacinto,

    Could also give me a screen shoot about the .eb.hdr section ((EVT_ENTRY)&IMG_hdr in our project.

   I need to check it at first.

   You also can check the ld file, you main find the details about this section.

   Please also tell me what the chip part number you are using.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

383 Views
jacintomoreno
Contributor III

Hi Kerry, thanks.

In the .ld file there are not details about this section at all, that is why I am wondering how it gets there, section as defined in the linker file:

.text_Flash3 : ALIGN(4)
    {
       FILL(0xff)
        *(.text_Flash3*) 
        *(.text_DATA*) 
        *(.text.$Flash3*)
        *(.text.$DATA*)        *(.rodata.$Flash3*)
        *(.mydata*) /* binary data */
        *(.rodata.$DATA*)    } > DATA

This is how the section looks like (.axf file):

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text_Flash3  yyyyy xxxxxx xxxxxxx  zzzzzzz  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .eb.hdr       00000018  wwwwww  wwwwwww mmmmm  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA

                                          .

                                          .

SYMBOL TABLE:

                                          .

                                          .

00000000 l    df *ABS* 00000000 enh_boot_hdr.c
wwwwwwl       .eb.hdr 00000000 $d

Note: I have changed the address numbers for security reasons.

0 Kudos

383 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Thanks for your updated information.

Check memory map, any inclues?

If you still can't find it, you can share me your project, you can delete all the important code to you, just give me the smallest project which can reproduce your problem.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos