<?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>CodeWarrior Development ToolsのトピックRe: Freemaster 2.0 problems with ELF binary parser</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837818#M7216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;I have the same issue with Freemaster 2.0.9 and GHS compiler 2018.5.4. As workaround I create manually the array variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt; Do you know if Freemaster's development engineers are aware about this issue ? I attached the ELF output file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67302i52A1C639A044B530/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67350iBBB96265BA08EBEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2019 13:08:15 GMT</pubDate>
    <dc:creator>Pat</dc:creator>
    <dc:date>2019-03-08T13:08:15Z</dc:date>
    <item>
      <title>Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837817#M7215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We found that from version 2.0 of Freemaster all ELF files are not correctly interpreted (MPA files options -&amp;gt; Binary ELF with DWARF2/DWARF4 dbg format) used with different NXP MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever an array of variables or an array of structures is present in the ELF file only the first record is interpreted&lt;BR /&gt;&amp;nbsp; (AAA [0]) while others are missing (AAA [1], AAA [2], ...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Freemaster ELF parser problem.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79328i26EF505F1A558D59/image-size/large?v=v2&amp;amp;px=999" role="button" title="Freemaster ELF parser problem.jpg" alt="Freemaster ELF parser problem.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also from version 1.4 of Freemaster the arrays of simple variables (es. int BBB[10])&amp;nbsp; if generated have the size of the single variables set to 0 in the "size" field.&lt;/P&gt;&lt;P&gt;In the Freemaster version 1.3 the single variables of the array of simple variables (es. int BBB[10])&amp;nbsp; had the right size set to 2!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Freemaster size problem.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79371iC7094C333B739A8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Freemaster size problem.jpg" alt="Freemaster size problem.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 11:20:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837817#M7215</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2018-12-05T11:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837818#M7216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;I have the same issue with Freemaster 2.0.9 and GHS compiler 2018.5.4. As workaround I create manually the array variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt; Do you know if Freemaster's development engineers are aware about this issue ? I attached the ELF output file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67302i52A1C639A044B530/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67350iBBB96265BA08EBEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 13:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837818#M7216</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2019-03-08T13:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837819#M7217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;I confirm that the only solution is to use the manual creation for the array. But compared to before it is very inconvenient especially with arrays of structures!&lt;BR /&gt;Unfortunately none of NXP has ever answered me or found a solution, I don't think it is a BUG too complicated, just use the ELF parser function used in the Freemaster version 1.3!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 17:09:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837819#M7217</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2019-03-08T17:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837820#M7218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;BR /&gt;just over three months have passed, I updated Freemaster to version 2.0.9 but the problems with the ELF parser despite the bug fixing mentioned in the change log persist!&lt;/P&gt;&lt;P&gt;NXP can you fix this BUG?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 10:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837820#M7218</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2019-06-13T10:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837821#M7219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To help to find a solution, I add the following information:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MCUs used are: DSC56F83xxx family, DSC56F84xxx &lt;SPAN&gt;family&lt;/SPAN&gt;, Kinetis K series&lt;/LI&gt;&lt;LI&gt;I use different IDEs: Codewarrior 8.1, Codewarrior 10.7, KDS 3.2 (abandoned), MCUxpresso 10.3&lt;/LI&gt;&lt;LI&gt;Consequently different compilers related to the IDEs mentioned above&lt;/LI&gt;&lt;LI&gt;The result is always the same, the parser fails to read arrays whether they are variables or structures. I understand that with the release of Freemaster 1.3 there was no problem.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enclose a small project based on DSC56F8345, IDE Codewarrior 8.1 to facilitate the work of those who want to solve the problem&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 08:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837821#M7219</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2019-06-17T08:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837822#M7220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem with the actual Freemaster version (2.5.13.0). Only the first array element is shown in Freemaster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP please fix that issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 13:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837822#M7220</guid>
      <dc:creator>peterschleifer</dc:creator>
      <dc:date>2019-09-26T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837823#M7221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although it may seem as a bug in FreeMASTER 2.x, this behavior is intentional. For any array type, only the first array member is made available as a “named” symbol. This change was made to limit number of named symbols in the project to speed up the ELF processing, sorting and to simplify symbol lookup in the drop-down lists. When dealing with MCU applications with a large number of arrays with many elements, the list of named symbols has quickly grown beyond reasonable limits. Accessing any array element is still possible though. The address entry in FreeMASTER variable definition dialog is actually able to evaluate the address properly even if element index is higher than zero. You need to type the element index manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, having a symbol &lt;STRONG&gt;int arr[10]; &lt;/STRONG&gt;the two named symbols are registered in the project: &lt;STRONG&gt;arr&lt;/STRONG&gt; and &lt;STRONG&gt;arr[0]&lt;/STRONG&gt;. When defining a FreeMASTER variable manually, you can specify any element index in the address field: for example &lt;STRONG&gt;arr[1]&lt;/STRONG&gt;, &lt;STRONG&gt;arr[2]&lt;/STRONG&gt; etc. The element address will be resolved properly. BTW: The zero-size bug of version 1.4 should be resolved in 2.x versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that having a named symbol for the first array element only presents an issue when mass-generating the variables using the “Generate” tool.&amp;nbsp;The Generate dialog is going to be extended in the upcoming release. It will enable simpler mass-generating variables for array elements from selected range of indices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2019 11:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837823#M7221</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2019-09-27T11:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837824#M7222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;finally some interesting answers.I can understand the reasoning and the choice made. But if we extend the reasoning to aray of data structures it is practically impossible to manage the generation of the same in a simple and effective way!&lt;BR /&gt;I hope something changes in the cited "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;upcoming release&lt;/SPAN&gt;".&lt;BR /&gt;Thanks&lt;BR /&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2019 07:38:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837824#M7222</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2019-09-30T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Freemaster 2.0 problems with ELF binary parser</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837825#M7223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FreeMASTER 3.0 has&amp;nbsp;just been released at&amp;nbsp;&lt;A href="http://www.nxp.com/freemaster"&gt;www.nxp.com/freemaster&lt;/A&gt;. Please see the&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-345136"&gt;release announcement&lt;/A&gt;&amp;nbsp;and&amp;nbsp;give a try to new array-member-variable generator feature as discussed above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the&amp;nbsp;&lt;EM&gt;Generate Variables&lt;/EM&gt; dialog, select the symbol representing the first array element:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="gen_vars.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94916iBBDB996B717F458B/image-size/large?v=v2&amp;amp;px=999" role="button" title="gen_vars.png" alt="gen_vars.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press the &lt;EM&gt;Create array-element variables&lt;/EM&gt;&amp;nbsp;button and select range of variables to generate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="gen_arr8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95050iEF51FA52A535EC08/image-size/large?v=v2&amp;amp;px=999" role="button" title="gen_arr8.png" alt="gen_arr8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach works well also with arrays of arrays and similar complex types. Just be careful and avoid creating large number of variables as the performance of the UI may be degraded. Accessing the memory using a symbol expression directly from&amp;nbsp;a custom JavaScript code behind a Control Page may be a good alternative to creating large number of variable objects to be shown in Variable Watch view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please use the new &lt;A _jive_internal="true" href="https://community.nxp.com/community/freemaster"&gt;community page&lt;/A&gt; to&amp;nbsp;raise other issues you might face with the FreeMASTER 3.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Freemaster-2-0-problems-with-ELF-binary-parser/m-p/837825#M7223</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2019-12-03T13:38:04Z</dc:date>
    </item>
  </channel>
</rss>

