<?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 Matlab module building error in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683150#M809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;try to build&amp;nbsp;ADC_Read(in lesson 3) module,but during the buliding,one message box will be occured,but I can't&lt;/P&gt;&lt;P&gt;open this message box.Without closing the message box,the building process will be running all the time,I have attached the log file,could you please check and give me some support？&lt;/P&gt;&lt;P&gt;I checked the port is right.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338588"&gt;ADC_Read.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2017 07:00:46 GMT</pubDate>
    <dc:creator>dsytj88</dc:creator>
    <dc:date>2017-06-12T07:00:46Z</dc:date>
    <item>
      <title>Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683150#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;try to build&amp;nbsp;ADC_Read(in lesson 3) module,but during the buliding,one message box will be occured,but I can't&lt;/P&gt;&lt;P&gt;open this message box.Without closing the message box,the building process will be running all the time,I have attached the log file,could you please check and give me some support？&lt;/P&gt;&lt;P&gt;I checked the port is right.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338588"&gt;ADC_Read.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 07:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683150#M809</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-12T07:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683151#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log file seems to be fine - i mean the executable file is created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you attach a screenshot image with the message box you said it blocking you ? Perhaps we can figure it out what it is.&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>Mon, 12 Jun 2017 07:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683151#M810</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-12T07:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683152#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Daniel&lt;/P&gt;&lt;P&gt;I have attached this picture in this message.&lt;/P&gt;&lt;P&gt;the message box indicates to do some operation,but the problem is:&lt;/P&gt;&lt;P&gt;the message box can't restored,and I can't click Ok button.&lt;/P&gt;&lt;P&gt;Please see the messsage box in the file.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 07:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683152#M811</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-12T07:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683153#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;&lt;P&gt;That message box tells you to restart the board in order to program the application into the MCU memory. Prior of that you need to program the RBF file into the MCU memory in order to do the handshake between Matlab and BAM algorithm (ADC programming video starting with minute 2.20)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonetheless, since you are saying that you can control the Message Box Window - i think this might have something to do with your Windows OS: i see that you are using Windows 10. Can you choose a different&amp;nbsp;theme in your OS ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One workaround would be download the application manually to the board using the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;RAppID_BL.exe&lt;/SPAN&gt; application from&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; {MBD Toolbox install folder}\mbdtbx_MPC574xP\tools\BootLoader&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this case you should disable the "Enable Download after build" and "BAM request delay" from Simulink model properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time - i will try to figure it out why the dialog box created from Matlab does not work on some Windows 10 OS.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 08:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683153#M812</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-12T08:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683154#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Daniel&lt;/P&gt;&lt;P&gt;Since I use USB serial line for communication between development board and PC,the seperate programming by &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;RAppID_BL.exe&lt;/SPAN&gt;&amp;nbsp;is failed,I see this tool is supported with XCP protocal,that means I need to use CAN bus for communication,but now I don't have this tool.&lt;/P&gt;&lt;P&gt;for the bootloader programming,it's fine.&lt;/P&gt;&lt;P&gt;In win10 operation system,I have to find out the reason why the message box can't be operated in my PC.even I try to change the theme in my laptop,it doesn't work,do you have any progress？&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 07:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683154#M813</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-13T07:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683155#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have separate Serial communication between the development board and the PC ? What is that for ?&lt;/P&gt;&lt;P&gt;Can you disconnect that and leave only the Model Based Design Toolbox and/or RAppID_BL.exe to communicate via USB with the development board ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my side so progress so far with the failure. On our test machine with Win10 is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell me your Matlab version ?&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, 13 Jun 2017 08:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683155#M814</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-13T08:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683156#M815</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/dsytj88@126.com"&gt;dsytj88@126.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check if there is any exception/error/warning in the Matlab Console window?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to select the dialog window from the Taskbar and hit 'Enter'. The default option is 'Yes' so it should proceed with the download of the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement for downloading the application is to have&amp;nbsp;MPC5744P.rbf (from&amp;nbsp;C:\MBDToolboxtools\BootLoader\RBF_Files) flashed on the board. You can use the S32 Design Studio for Power Architecture to download this .rbf image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 08:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683156#M815</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2017-06-13T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683157#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MBD Toolbox is running &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;RAppID_BL.exe&lt;/SPAN&gt; to download the built application to the board, but you can download the generated .mot file manually. It supports both UART and CAN communications. You find it in C:\MBDToolbox\MPC574xP\tools\BootLoader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what problems you had with it. You have to select from 'Comm Mode' dropdown 'Serial Port'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="RAppID_BL.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20279i6987533CAF4CF900/image-size/large?v=v2&amp;amp;px=999" role="button" title="RAppID_BL.jpg" alt="RAppID_BL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the serial port (over USB converter) is COM31.&lt;/P&gt;&lt;P&gt;Set 'MCU Part No:' to 'MPC574xP', 'BAM Status' to 'Enabled', and check 'Default Password'.&lt;/P&gt;&lt;P&gt;Select the generated .mot file and press the 'Start Boot Loader' button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683157#M816</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2017-06-13T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683158#M817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Both&lt;/P&gt;&lt;P&gt;Thank you for your fast reply,several minutes ago the message box problem has been resolved by re-installing the tool.&lt;/P&gt;&lt;P&gt;now I can see the message box,after clicking it,programming will be started,but the programming is not sucessfully,please see the attached file for detailed info.&lt;/P&gt;&lt;P&gt;I use USB serial line to connect between development board and PC.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:21:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683158#M817</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-13T09:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683159#M818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok - glad to see we are making progress :-)&lt;/P&gt;&lt;P&gt;Now this issue is simple to fix: you need to program the &lt;STRONG&gt;RBF&lt;/STRONG&gt; (RAppID Bootloader Flash algorithm) on the board. Only after this file is burned into the flash memory the proper communication bridge between Matlab and MCU will be establish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please watch the steps in this video: starting with minute 2.02 @&lt;A href="https://community.nxp.com/videos/7766"&gt; Video Link : 7766&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: The good news is that you need to go over this setup only once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are very close to run your first application on this board.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:38:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683159#M818</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-13T09:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683160#M819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Daniel&lt;/P&gt;&lt;P&gt;I try to re-programme RBF,and in Console,I see the log file as belows:&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;BR /&gt;Copyright 2012 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\Freescale\S32_Power_v1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.3.3.201605241936\win32\pegdbserver_power_console -device=MPC5744P -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 -confi &lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;CMD&amp;gt;RE&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\Freescale\S32_Power_v1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.3.3.201605241936\win32\gdi\P&amp;amp;E\freescale_mpc5744p_1x32x616k_cflash.pcp&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Initialized.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;;version 1.02, 08/01/2012, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [5744P_2464k]&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;;device Freescale, MPC5744P, 1x32x616k, desc=CFlash&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;;begin_cs device=$00F98000, length=$00268000, ram=$40000000&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Loading programming algorithm ...&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;WARNING - Selected .PCP file has been modified. CRC16 = $1599 &lt;BR /&gt;Done.&lt;BR /&gt;CMD&amp;gt;EM&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Erasing.&lt;BR /&gt;Module has been erased.&lt;BR /&gt;CMD&amp;gt;PM&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Programming.&lt;BR /&gt;Processing Object File Data ... &lt;BR /&gt;&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;&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;&amp;nbsp; &lt;BR /&gt;. &lt;BR /&gt;Programmed.&lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt;&amp;nbsp;&amp;nbsp; block 00F98000-00F98007 ... &lt;BR /&gt;Ok.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; block 00F98010-00F996D1 ... &lt;BR /&gt;Ok.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; block 00F996D4-00F9A11B ... &lt;BR /&gt;Ok.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Checksum Verification Successful. (Cumulative CRC-16=$3BE9)&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;CMD&amp;gt;RE&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Starting reset script (C:\Freescale\S32_Power_v1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.3.3.201605241936\win32\gdi\P&amp;amp;E\s32e200_mpc574xp.mac) ...&lt;/DIV&gt;&lt;DIV&gt;REM This script is compatible with MPC574xP devices.&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;&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;&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;&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;&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;REM Initialize all of the Main SRAM - 384KB&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;&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;&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;&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;&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;&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Initializing RAM from $40000000 to $4005FFFF.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Reset script (C:\Freescale\S32_Power_v1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.3.3.201605241936\win32\gdi\P&amp;amp;E\s32e200_mpc574xp.mac) completed.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;It seems everything is fine,but when I try to programme the module,it shows me the same error as what I mentioned yesterday.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;I checked the S32 debug page,only one abnormal thing found,after clicking pwerpc-eabivle-gdb(sub menu in debug page),I see these words:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;GNU gdb (GDB) 7.8.2&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;A href="http://gnu.org/licenses/gpl.html"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&amp;nbsp; Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "--host=i686-mingw32 --target=powerpc-eabivle".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/bugs/"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/documentation/"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word".&lt;BR /&gt;monitor preserve0 0&lt;BR /&gt;monitor selectcore 0&lt;BR /&gt;No symbol table is loaded.&amp;nbsp; Use the "file" command.&lt;BR /&gt;continue&lt;BR /&gt;Continuing.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Do you have the similar problem before?&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;David&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:02:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683160#M819</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-14T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683161#M820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;How did you configured the serial port from the MATLAB Toolbox. Can you attach a snapshot with Download settings panel from Configuration Block ?&lt;/P&gt;&lt;P&gt;It should be something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21535i5F2D9D2A536A3BAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&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>Wed, 14 Jun 2017 11:59:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683161#M820</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-14T11:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683162#M821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Daniel&lt;/P&gt;&lt;P&gt;I checked the configuration which is as the same as yours.&lt;/P&gt;&lt;P&gt;even I try to use the tool in matlab tool box directly,the error is the same,please see picture as belows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ApplicationProgrammingError.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21042i802B4CA2E64D0CFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="ApplicationProgrammingError.png" alt="ApplicationProgrammingError.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;by the way,I didn't see abnormal case for driver or something else.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:53:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683162#M821</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-15T08:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683163#M822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is quite strange!&lt;/P&gt;&lt;P&gt;So - when you have flashed the RBF file that succeeded &amp;nbsp;- you have used the same USB Open SDA interface on your board - or you have used the JTAG port ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to figure out if the UART works on your custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 09:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683163#M822</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-15T09:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683164#M823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Daniel&lt;/P&gt;&lt;P&gt;after flashing RBF file with OSJTAG,I changed&amp;nbsp;another device DTECH(USB-Serial line) to programme application S/W.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 09:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683164#M823</guid>
      <dc:creator>dsytj88</dc:creator>
      <dc:date>2017-06-15T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab module building error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683165#M824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - but how do we know that DTECH works ?&lt;/P&gt;&lt;P&gt;Have you been able to validate the Serial communication with the board yet ?&lt;/P&gt;&lt;P&gt;If&amp;nbsp;something is wrong with that then the Matlab has no means to to connect with the board via UART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how i should test it:&lt;/P&gt;&lt;P&gt;#1: I would take the&amp;nbsp;uart_model_pnt.mdl from the Toolbox example and build it. No download to target - just to get the elf.&lt;/P&gt;&lt;P&gt;#2: Using S32DS and JTAG i would flash this elf into the target (similar with what you have done with RBF file). Keep in mind that this will overwrite the RBF so later on you will need to reprogram it back.&lt;/P&gt;&lt;P&gt;#3: then reset the board and connect to the UART with any COM sniffer and try to sent a character&lt;/P&gt;&lt;P&gt;If you get that character back (if you are allow to sent a new one) then it meas the UART work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21066i5B18AE2BF0E01317/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;#4: check with an oscilloscope that we get both RX TX signals when this happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make the test more realistic i would modify this demo project to sent continuously from target to the Host PC a string of DATA just to make sure the UART is stable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 09:43:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-module-building-error/m-p/683165#M824</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-15T09:43:44Z</dc:date>
    </item>
  </channel>
</rss>

