<?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>Model-Based Design Toolbox (MBDT)のトピックRe: In Simulink,How to change the Code's flash address?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673117#M462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, i do not have access to that code.&lt;/P&gt;&lt;P&gt;Perhaps you could ask on MPCxxx community if such code exists and available for download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 11:00:08 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2017-07-18T11:00:08Z</dc:date>
    <item>
      <title>In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673110#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;hi：&lt;/P&gt;&lt;P&gt;&amp;nbsp; Use CAN boot loader to update the&amp;nbsp;program,and the Application&amp;nbsp;&amp;nbsp;development using Simulink, &amp;nbsp;but i don't know how to change the Flash address in simulink.&lt;/P&gt;&lt;P&gt;can you help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 05:33:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673110#M455</guid>
      <dc:creator>eautopower</dc:creator>
      <dc:date>2017-07-18T05:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673111#M456</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'm not use i understand your request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, for the moment, if you compile a Simulink model you are able to download that model/application to the target via RAppID_boolloader set to communicate via CAN with the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now you want to change the flash memory layout for the Simulink model in order to have the application saved in flash at different addresses ? Is that what you want ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell us the toolbox version you are using ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 06:13:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673111#M456</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-18T06:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673112#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using my own CAN bootloader PC to send the Simulink file generated by mot. How can I download the ASCII code of the mot file to the specified FLASH address? If I are writing C code, I can change the flash.ld file in the compiler, but I don't know what Simulink does. Is the PC add a address offset before&amp;nbsp;send?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673112#M457</guid>
      <dc:creator>eautopower</dc:creator>
      <dc:date>2017-07-18T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673113#M458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within Simulink form linker point of view is the same procedure as a normal C application written by hand.&lt;/P&gt;&lt;P&gt;Simulink generates the C-code and then the Compiler toolchain is invoked to generate the ELF and then the MOT file (that is is used by CAN bootloader).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can modify the linker command file used by Simulink to any layout you want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could tell me which toolbox version you use - i could then tell you the exact location of the linker command file (e.g. flash.ld) you need to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673113#M458</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-18T07:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673114#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S32K144 MBD 2.0&amp;nbsp;version&lt;/P&gt;&lt;P&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/26302iBBEEFF20D0189F9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the mot file I created for the Simulink model, but the first address is 0x0000, and now I want to change this address.&lt;/P&gt;&lt;P&gt;like this:&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/26404i090343A26619BB44/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673114#M459</guid>
      <dc:creator>eautopower</dc:creator>
      <dc:date>2017-07-18T08:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673115#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, please have a look into this folder:&amp;nbsp;.&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;..MBDToolbox\mbdtbx_S32K\mbdtbx_s32k14\src\linker\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There you will find directories for each of the compilers supported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you invoke the Simulink Code Generation (build button) - the toolbox picks the default linker file from one of these folders (depending on the selections you have in the Simulink Model Configuration Block) and copy-paste it into the generated folder where is used by the Compiler/Linker to build the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to modify the default linker file in order to change the address in the final application.&lt;/P&gt;&lt;P&gt;Good luck and let us know if you manage to made it link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673115#M460</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-18T08:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673116#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;yes,it is OK now,thank you very much!&lt;/P&gt;&lt;P&gt;Do you know the FLASH write/erase C code for MPC5744P?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673116#M461</guid>
      <dc:creator>eautopower</dc:creator>
      <dc:date>2017-07-18T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: In Simulink,How to change the Code's flash address?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673117#M462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, i do not have access to that code.&lt;/P&gt;&lt;P&gt;Perhaps you could ask on MPCxxx community if such code exists and available for download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 11:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/In-Simulink-How-to-change-the-Code-s-flash-address/m-p/673117#M462</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-18T11:00:08Z</dc:date>
    </item>
  </channel>
</rss>

