<?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>topic Re: Declaring constants as calibrations via Simulink.Parameter for use in FreeMaster and/or CANape in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086639#M4815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chrisc@rmlgroup.com"&gt;chrisc@rmlgroup.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood it right, you want to access (monitor/control) your calibration data via the FreeMASTER tool. If so, you need to do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;load your variables via the elf/map file&lt;/LI&gt;&lt;LI&gt;define FreeMASTER project variables based in the information obtained from the previous step&lt;/LI&gt;&lt;LI&gt;add variables to Variable Watch widget&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;These steps are covered in the&amp;nbsp;following video&amp;nbsp;&lt;A href="https://community.nxp.com/videos/8895"&gt; Video Link : 8895&lt;/A&gt;&amp;nbsp;(starting at 2:41).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: this applies if you added and configured the FreeMASTER block&amp;nbsp;from MBDT&amp;nbsp;toolbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Iulian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2020 11:51:47 GMT</pubDate>
    <dc:creator>iulian_stan</dc:creator>
    <dc:date>2020-06-11T11:51:47Z</dc:date>
    <item>
      <title>Declaring constants as calibrations via Simulink.Parameter for use in FreeMaster and/or CANape</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086637#M4813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I am looking to find a way to carry on using Simulink constant blocks as calibrations in the NXP S32K14x&amp;nbsp;toolchain via MBDT. I have used the method for several platforms like dSpace, Delphi etc.&lt;/P&gt;&lt;P&gt;In the examples I have seen so far, FreeMaster utilises the Data Write, Store, Read blocks for signals that can be manipulated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to understand is if the calibrations I have built via Simulink.Parameter objects&amp;nbsp;and appear in the *.MAP file can be imported in FreeMaster and manipulated. I have built a model with the examples below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool = Simulink.Parameter;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.Value = 0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.Description = 'Override value';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.DocUnits = 'bool';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.DataType = 'boolean';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.Max = 1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.Min = 0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool.CoderInfo.StorageClass = 'Auto';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter appears in the *.MAP file after the build completes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;0x2000001d&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HALc_Di_IgnP2_Sw_bool_OvrVal_bool&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked through the documentation and menu structure of FreeMaster,&amp;nbsp;however I am not fully sure how to start testing with my new calibrations that are placed in the memory addresses. My objective is to retain the same models and scripts that I have used over time, as well as the models where all my calibrations are as Constant blocks. Hence I would be looking for a way in FreeMaster to import an *.ELF file or otherwise reading the addresses that are populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. I hope my query is well explained.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 09:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086637#M4813</guid>
      <dc:creator>chrisc1</dc:creator>
      <dc:date>2020-06-11T09:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring constants as calibrations via Simulink.Parameter for use in FreeMaster and/or CANape</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086638#M4814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;++ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/iulianstan"&gt;iulianstan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;++ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/MichalH"&gt;MichalH&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Options?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 09:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086638#M4814</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2020-06-11T09:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring constants as calibrations via Simulink.Parameter for use in FreeMaster and/or CANape</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086639#M4815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chrisc@rmlgroup.com"&gt;chrisc@rmlgroup.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood it right, you want to access (monitor/control) your calibration data via the FreeMASTER tool. If so, you need to do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;load your variables via the elf/map file&lt;/LI&gt;&lt;LI&gt;define FreeMASTER project variables based in the information obtained from the previous step&lt;/LI&gt;&lt;LI&gt;add variables to Variable Watch widget&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;These steps are covered in the&amp;nbsp;following video&amp;nbsp;&lt;A href="https://community.nxp.com/videos/8895"&gt; Video Link : 8895&lt;/A&gt;&amp;nbsp;(starting at 2:41).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: this applies if you added and configured the FreeMASTER block&amp;nbsp;from MBDT&amp;nbsp;toolbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Iulian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 11:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086639#M4815</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2020-06-11T11:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring constants as calibrations via Simulink.Parameter for use in FreeMaster and/or CANape</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086640#M4816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the help. Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The video was useful and I was quite close. I had seen the Project --&amp;gt; Options --&amp;gt; MAP files tab, but didn't know the Variables List --&amp;gt; New would automatically see what is imported. I will link that video in our internal documentation that I'm building up.&lt;/P&gt;&lt;P&gt;Now I will re-do some of my builds moving all objects from main workspace to model workspace and test from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 14:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Declaring-constants-as-calibrations-via-Simulink-Parameter-for/m-p/1086640#M4816</guid>
      <dc:creator>chrisc1</dc:creator>
      <dc:date>2020-06-11T14:23:51Z</dc:date>
    </item>
  </channel>
</rss>

