<?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: How to update Automotive Motor Control library for Kinetis KV4x to work with GCC after hotfix for KV4x? in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720176#M1442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Maciek"&gt;Maciek&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is possible. In order to &lt;SPAN style="font-size: 15px;"&gt;use Math and&lt;/SPAN&gt; Motor Control Library blocks, please follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;1) make a folder named &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;gcc&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;(copy the folder from archive) and move it to --&amp;gt; {Root Folder}/MCLIB_kv4xf/lib/&lt;SPAN style="border: 0px; font-weight: bold; color: #0000ff;"&gt;&lt;STRONG&gt;gcc&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;2) get &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;include&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;folder from archive and move it to --&amp;gt; {Root Folder}/MCLIB_kv4xf/&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;include&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;folder (replace the whole folder)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;3) get&lt;SPAN style="border: 0px; font-weight: bold; color: #0000ff;"&gt;&lt;STRONG&gt; mcd_kv4xf.tmf&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;file and move it to --&amp;gt; {Root Folder}/mcd_kv4xf/&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;mcd_kv4xf&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;tmf&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;file (replace this file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;4) get&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt; mcd_kv4xf_copy_required_files&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;--&amp;gt;{Root Folder}/mcd_kv4xf/mscripts/&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;mcd_kv4xf_copy_required_files&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;file (replace this file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; you might have folders named *&lt;SPAN style="background-color: #ffffff;"&gt;mctbx_kv4xf* instead of *mcd_kv4xf*. In this case, the steps remain the same, but with different path names.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 08:16:08 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2018-02-07T08:16:08Z</dc:date>
    <item>
      <title>How to update Automotive Motor Control library for Kinetis KV4x to work with GCC after hotfix for KV4x?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720175#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;constantinrazvan.chivu&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;after applying Your last hotfix for Kinetis KV4x&lt;/P&gt;&lt;P&gt;(&lt;A _jive_internal="true" href="https://community.nxp.com/message/975746?commentID=975746#comment-975746" style="color: #2989c5; text-decoration: underline;" title="https://community.nxp.com/message/975746?commentID=975746#comment-975746"&gt;https://community.nxp.com/message/975746?commentID=975746#comment-975746&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I'm able to build successfully the example models that use peripheral blocks for KV4x with GCC compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm getting errors for models that are using Math and Motor Control Library blocks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue was resolved before for Kinetis KV3x in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/465226"&gt;How to update Automotive Motor Control library for Kinetis KV3x to work with GCC ?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to fix this problem in this (KV4x) case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 11:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720175#M1441</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2018-02-06T11:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Automotive Motor Control library for Kinetis KV4x to work with GCC after hotfix for KV4x?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720176#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Maciek"&gt;Maciek&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is possible. In order to &lt;SPAN style="font-size: 15px;"&gt;use Math and&lt;/SPAN&gt; Motor Control Library blocks, please follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;1) make a folder named &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;gcc&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;(copy the folder from archive) and move it to --&amp;gt; {Root Folder}/MCLIB_kv4xf/lib/&lt;SPAN style="border: 0px; font-weight: bold; color: #0000ff;"&gt;&lt;STRONG&gt;gcc&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;2) get &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;include&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;folder from archive and move it to --&amp;gt; {Root Folder}/MCLIB_kv4xf/&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;include&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;folder (replace the whole folder)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;3) get&lt;SPAN style="border: 0px; font-weight: bold; color: #0000ff;"&gt;&lt;STRONG&gt; mcd_kv4xf.tmf&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;file and move it to --&amp;gt; {Root Folder}/mcd_kv4xf/&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;mcd_kv4xf&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;tmf&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;file (replace this file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;4) get&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt; mcd_kv4xf_copy_required_files&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;--&amp;gt;{Root Folder}/mcd_kv4xf/mscripts/&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;mcd_kv4xf_copy_required_files&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;file (replace this file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; you might have folders named *&lt;SPAN style="background-color: #ffffff;"&gt;mctbx_kv4xf* instead of *mcd_kv4xf*. In this case, the steps remain the same, but with different path names.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720176#M1442</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-02-07T08:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Automotive Motor Control library for Kinetis KV4x to work with GCC after hotfix for KV4x?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720177#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;constantinrazvan.chivu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this fix I've been able to build all (or most of) the models from Examples directory.&lt;/P&gt;&lt;P&gt;Including '_gdlib' and '_gflib' and '_gmclib' examples!&lt;/P&gt;&lt;P&gt;Thanks for Your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen strange behavior with the model 'kv4xf_sim_pil_target'. During the first try to build I've got errors.&lt;/P&gt;&lt;P&gt;Below is the output from last stage of the build process:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;EM&gt;==== Creating kv4xf_sim_pil_target.elf from obj files ==== &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; "C:\Users\Maciek\Documents\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-arm-none-eabi-4_9/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Xlinker --gc-sections -Xlinker --defsym=__ram_vector_table__=1 -TMKV4xF.ld startup_MKV46F15.o fsl_clock_manager.o fsl_ftm_common.o fsl_ftm_driver.o fsl_ftm_hal.o fsl_interrupt_manager.o fsl_mcg_hal.o fsl_sim_clock_module_names_MKV46F15.o fsl_sim_hal.o fsl_uart_common.o fsl_uart_driver.o fsl_uart_hal.o kv4xf_sim_pil_target.o main_init.o mcd_main.o rtiostream_utils.o startup.o system_MKV46F15.o uart_init.o -specs=nosys.specs --sysroot=C:\Users\Maciek\Documents\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-arm-none-eabi-4_9/arm-none-eabi/newlib -lm "CM4_MMCLIB_GCC.a" -Wl,-Map,kv4xf_sim_pil_target.map -o kv4xf_sim_pil_target.elf&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; c:/users/maciek/documents/matlab/add-ons/toolboxes/nxp_mbdtoolbox_s32k1xx/code/tools/gcc-arm-none-eabi-4_9/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file MKV4xF.ld: No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; collect2.exe: error: ld returned 1 exit status&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; gmake: *** [kv4xf_sim_pil_target.elf] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; ### Build procedure for model: 'kv4xf_sim_pil_target' aborted due to an error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Error make_rtw: exception id RTW:buildProcess:fatalBuildError message Error(s) encountered while building "kv4xf_sim_pil_target"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm building models without any physical hardware board attached - I'm waiting for&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;HVP-MC3PH with KV3 and KV4 control cards to be delivered soon. So I've unchecked box: 'Enable PIL Mode Download' - and then the model has built successfully! After that I've checked this box back again - and this time the model has built without errors!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked also that similar example model for kv3: &lt;SPAN&gt;'kv3xf_sim_pil_target'&amp;nbsp;shows&amp;nbsp;the same behavior. At first it throws errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;==== Creating kv3xf_sim_pil_target.elf from obj files ====&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; "C:\Users\Maciek\Documents\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-arm-none-eabi-4_9/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Xlinker --gc-sections -Xlinker --defsym=__ram_vector_table__=1 -TMKV3xF.ld startup_MK22F51212.o fsl_clock_manager.o fsl_debug_uart.o fsl_ftm_driver.o fsl_ftm_hal.o fsl_ftm_shared_irqs.o fsl_interrupt_manager.o fsl_mcg_hal.o fsl_os_abstraction_bm.o fsl_pit_driver.o fsl_pit_hal.o fsl_pit_irq.o fsl_sim_clock_module_names_K22F51212.o fsl_sim_hal.o fsl_uart_driver.o fsl_uart_hal_common_configurations.o fsl_uart_hal_fifo_configurations.o fsl_uart_hal_interrupts_and_dma.o fsl_uart_hal_status_flags.o fsl_uart_hal_transfer_functions.o kv3xf_sim_pil_target.o main_init.o mcd_main.o rtiostream_utils.o startup.o sw_timer.o system_MK22F51212.o uart_init.o -specs=nosys.specs --sysroot=C:\Users\Maciek\Documents\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-arm-none-eabi-4_9/arm-none-eabi/newlib -lm "CM4_MMCLIB_GCC.a" -Wl,-Map,kv3xf_sim_pil_target.map -o kv3xf_sim_pil_target.elf&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; c:/users/maciek/documents/matlab/add-ons/toolboxes/nxp_mbdtoolbox_s32k1xx/code/tools/gcc-arm-none-eabi-4_9/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file MKV3xF.ld: No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; collect2.exe: error: ld returned 1 exit status&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; gmake: *** [kv3xf_sim_pil_target.elf] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; ### Build procedure for model: 'kv3xf_sim_pil_target' aborted due to an error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Error make_rtw: exception id RTW:buildProcess:fatalBuildError message Error(s) encountered while building "kv3xf_sim_pil_target"&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but after unchecking box / building successfully / checking box again -&amp;gt; it builds without errors...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it expected behavior ? Or is it signalling future problems with PIL mode ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maciek&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:48:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720177#M1443</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2018-02-07T13:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Automotive Motor Control library for Kinetis KV4x to work with GCC after hotfix for KV4x?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720178#M1444</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/Maciek"&gt;Maciek&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not the expected behavior. Thank you for reporting it to us in such a detailed manner. I will take a look and come back to you after I've figured out what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 10:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720178#M1444</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-02-08T10:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Automotive Motor Control library for Kinetis KV4x to work with GCC after hotfix for KV4x?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720179#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Maciek"&gt;Maciek&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at what happened - in both KV3xf and KV4xf the linker files were not copied when you used PIL and GCC compiler; i fixed this issue and put the new files in the attached archive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should replace the following files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt; &lt;SPAN&gt;{Root Folder}/mcd_kv3xf&lt;/SPAN&gt;&lt;/SPAN&gt;/mscripts/&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff;"&gt;mcd_kv3xf_copy_required_files.p&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{Root Folder}/mcd_kv4xf/mscripts/&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff;"&gt;mcd_kv4xf_copy_required_files.p&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3) &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;{Root Folder}/mcd_kv4xf/mscripts/&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff;"&gt;mcd_kv4xf_get_linker_file.p&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; border: 0px; font-weight: bold;"&gt;Note:&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;you might have folders named *&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;mctbx_kv4xf* instead of *mcd_kv4xf*. In this case, the steps remain the same, but with different path names.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you encounter other issues or want help with something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 13:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-update-Automotive-Motor-Control-library-for-Kinetis-KV4x/m-p/720179#M1445</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-02-08T13:26:55Z</dc:date>
    </item>
  </channel>
</rss>

