<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32 Design Studio中的主题 Re: ELF file format generated by S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1411509#M8178</link>
    <description>&lt;P&gt;Hello YiChuan,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;l have &amp;nbsp;a quetion that l can‘t update&amp;nbsp;A2L file through ELF file,I hope you can give me some advices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1.&lt;SPAN&gt;The Current toolchain is Standard S32DS toolchain for E200&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. MCU is MPC5746.&lt;/P&gt;&lt;P&gt;3.I through S32DS software generates ELF file, Artifact type : E200 executable.&lt;/P&gt;&lt;P&gt;4. I should choice whice format of&amp;nbsp; MAP type?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fiona_2022_0-1644464440593.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170121i51A1D3F97B64065F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fiona_2022_0-1644464440593.png" alt="Fiona_2022_0-1644464440593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5. I choose "ELF/ DWAFT 32 Bit " , that is invalid.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fiona_2022_1-1644464549451.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170122iEA3882EEB0767563/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fiona_2022_1-1644464549451.png" alt="Fiona_2022_1-1644464549451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking forward to your reply！！&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 03:43:10 GMT</pubDate>
    <dc:creator>Fiona_2022</dc:creator>
    <dc:date>2022-02-10T03:43:10Z</dc:date>
    <item>
      <title>ELF file format generated by S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1397979#M8131</link>
      <description>&lt;P&gt;Hello NXP experts:&lt;/P&gt;&lt;P&gt;I've implemented a ELF file parser for MPC5642 ELF file generated by S32 DS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the TIS (Tool Interface Standard) &lt;STRONG&gt;ELF spec V1.2&lt;/STRONG&gt; is my reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my issue is:&lt;/P&gt;&lt;P&gt;For a struct type global variable or an array, only the start address can be parsed out from the ELF symbol section .&amp;nbsp; The address of its member is not found in symbol section.&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example below is a struct:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;typedef struct Ccp_Type&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;uint8_t Cro[8];/*command request object*/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;uint8_t Crm[8]; /* CRM Command Return Message buffer */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;boolean HasNewCro;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;boolean IsInitialized;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;uint8_t Ccp_Session_SM;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;uint8_t SendStatus;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;uint32_t MTA[CCP_MAX_MTA]; /* Memory Transfer Address */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;}Ccp_Type;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;the global variable is defined as:&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Ccp_Type ccp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I can't get the address of its member e.g. &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;ccp.Session_SM&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Only address of the struct type global variable can be parsed out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could you please provide a document to explain ELF format generated by S32 Design Studio?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or some hint about how to find the member's address?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Vector tool ASAP2 editor can parse out the struct type variable member address like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Asap_snapshot.PNG" style="width: 541px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167385iC1AC228EB6C1E2BD/image-dimensions/541x318?v=v2" width="541" height="318" role="button" title="Asap_snapshot.PNG" alt="Asap_snapshot.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp;&lt;/P&gt;&lt;P&gt;the map file , elf file and ELF spec are attached.&lt;/P&gt;&lt;P&gt;thanks and BR&lt;/P&gt;&lt;P&gt;YiChuan&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 09:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1397979#M8131</guid>
      <dc:creator>ZhouYiChuan</dc:creator>
      <dc:date>2022-01-12T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: ELF file format generated by S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1398058#M8132</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;by quick check with GNU readelf/objdump it looks, that the Ccp_Type structure is not used in your code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32DS Uses GNU GCC - powerpc-eabivle-4_9 - the .elf output is standard elf gcc output for PowerPC.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 11:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1398058#M8132</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2022-01-12T11:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: ELF file format generated by S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1411509#M8178</link>
      <description>&lt;P&gt;Hello YiChuan,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;l have &amp;nbsp;a quetion that l can‘t update&amp;nbsp;A2L file through ELF file,I hope you can give me some advices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1.&lt;SPAN&gt;The Current toolchain is Standard S32DS toolchain for E200&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. MCU is MPC5746.&lt;/P&gt;&lt;P&gt;3.I through S32DS software generates ELF file, Artifact type : E200 executable.&lt;/P&gt;&lt;P&gt;4. I should choice whice format of&amp;nbsp; MAP type?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fiona_2022_0-1644464440593.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170121i51A1D3F97B64065F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fiona_2022_0-1644464440593.png" alt="Fiona_2022_0-1644464440593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5. I choose "ELF/ DWAFT 32 Bit " , that is invalid.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fiona_2022_1-1644464549451.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170122iEA3882EEB0767563/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fiona_2022_1-1644464549451.png" alt="Fiona_2022_1-1644464549451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking forward to your reply！！&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 03:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1411509#M8178</guid>
      <dc:creator>Fiona_2022</dc:creator>
      <dc:date>2022-02-10T03:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: ELF file format generated by S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1412686#M8190</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe you should select *.elf file, not *.map file in ASAP2 editor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the *.map file is a text type file, it can be read by human, but not acceptable for ASAP2 editor.&lt;/P&gt;&lt;P&gt;Meanwhile *.elf is BIN type file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;hopefully the suggestion can help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks and BR&lt;/P&gt;&lt;P&gt;Yichuan&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 06:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ELF-file-format-generated-by-S32-Design-Studio/m-p/1412686#M8190</guid>
      <dc:creator>ZhouYiChuan</dc:creator>
      <dc:date>2022-02-12T06:55:09Z</dc:date>
    </item>
  </channel>
</rss>

