<?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: Issue - MPC5748G Serial Bootloader Green Hill Project convert to S32 Design Studio Project in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1603689#M22933</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190587"&gt;@K_W_SEO&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will answer this in different way - is there a reason to add SDK to this project? I can't see any. It should be quite straightforward to migrate the project from GHS to S32DS - *.c and *.h files will be the same, you just need to update the linker file and startup file in case you want to jump to application right after reset.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 12:20:28 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2023-02-22T12:20:28Z</dc:date>
    <item>
      <title>Issue - MPC5748G Serial Bootloader Green Hill Project convert to S32 Design Studio Project</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1602837#M22918</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hi, I'm not good at English, so please consider it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have a problem occurred while converting the Green Hills Serial Bootloader example project to the S32 Design Studio project.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Putchar(), a function that transmits serial data in the Green Hills Bootloader source code, was changed by applying the LINFLEXD driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when I check the data transmitted using the serial terminal program, there is a problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The original source code is as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* display menu */&lt;BR /&gt;OutStr("\r\n1.) Erase Flash\r\n");&lt;BR /&gt;OutStr("2.) Program Flash\r\n");&lt;BR /&gt;OutStr("3.) Execute Application\r\n");&lt;BR /&gt;OutStr("Please choose 1 to 3: ");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the terminal program is output as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="K_W_SEO_0-1676974568293.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211766iA6479432E113C4B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="K_W_SEO_0-1676974568293.png" alt="K_W_SEO_0-1676974568293.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No output since "Pleas"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When checked with the Trace32 debugger, it is stuck on the while(TxBAvail == 0) line of the Putchar() function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="K_W_SEO_1-1676974917018.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211767iAF142B3045E6C48A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="K_W_SEO_1-1676974917018.png" alt="K_W_SEO_1-1676974917018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The bigger problem is that if I put a breakpoint on the line (TxBAvail == 0), and run the program step by step, it will output correctly to the terminal program as shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="K_W_SEO_2-1676975480469.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211768i7F7D1645B8794061/image-size/medium?v=v2&amp;amp;px=400" role="button" title="K_W_SEO_2-1676975480469.png" alt="K_W_SEO_2-1676975480469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate it if you could tell me how to modify the putchar() function to work properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will attach my project file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks:)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:50:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1602837#M22918</guid>
      <dc:creator>K_W_SEO</dc:creator>
      <dc:date>2023-02-21T10:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - MPC5748G Serial Bootloader Green Hill Project convert to S32 Design Studio Project</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1603689#M22933</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190587"&gt;@K_W_SEO&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will answer this in different way - is there a reason to add SDK to this project? I can't see any. It should be quite straightforward to migrate the project from GHS to S32DS - *.c and *.h files will be the same, you just need to update the linker file and startup file in case you want to jump to application right after reset.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 12:20:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1603689#M22933</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-02-22T12:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - MPC5748G Serial Bootloader Green Hill Project convert to S32 Design Studio Project</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1604133#M22938</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'll ask you a further question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GHS project is not compiled on S32DS, is there any other way?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 00:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1604133#M22938</guid>
      <dc:creator>K_W_SEO</dc:creator>
      <dc:date>2023-02-23T00:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - MPC5748G Serial Bootloader Green Hill Project convert to S32 Design Studio Project</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1604427#M22946</link>
      <description>&lt;P&gt;No, GHS project can't be compiled in S32DS. It is possible to install GHS plugin to S32DS but this plugin can compile only S32DS projects.&lt;/P&gt;
&lt;P&gt;As I mentioned, I think that easiest option is to simply migrate the source files to new project in S32DS (without SDK, of course) and update linker+startup file.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 08:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Issue-MPC5748G-Serial-Bootloader-Green-Hill-Project-convert-to/m-p/1604427#M22946</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-02-23T08:51:46Z</dc:date>
    </item>
  </channel>
</rss>

