<?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>S32 Design StudioのトピックRe: Splitting processing across multiple cores</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898757#M4865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;an alternative to the separate project per core could be to add the code for additional cores directly into the same project and generate a single executable file for all cores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see e.g. this example: e.g.&amp;nbsp;&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/80885iF337C7126FC60EC1/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;P&gt;&lt;/P&gt;&lt;P&gt;or MPC5777C example here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-335462"&gt;Example MPC5777C Single ELF multi-core Pin Toggling - S32DS Power 2017.R1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2019 12:47:21 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2019-05-06T12:47:21Z</dc:date>
    <item>
      <title>Splitting processing across multiple cores</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898756#M4864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with the dual core MPC57xx processor and use NXP's S32DS IDE. Initially for proof of concept, I designed the entire application from start to end to be executed on one processor core. Fairly simple - in S32DS I chose only one processor core, used PE to specify my hardware and generate the pin mappings and do the basic interface/module setup, added all my source files to the project and generated the elf output that I then download to the core using PEMicro cyclone. All works good but the core is loaded to the hilt. To reduce the processing load, I now want to separate some low priority housekeeping tasks to the other core.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the S32IDE, a separate project is created for each core. Each project has its independent PE directory and requires&amp;nbsp;code to be generated for each project. Documentation clearly states that PE generated code cannot be shared between the two core specific projects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am looking for some guidance on how best to do this without duplicating code and effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is:&lt;/P&gt;&lt;P&gt;1. Create one project (independent of the core) and collocate all the source, header and PE beans&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Use switch in the source files to control which function runs on which core&amp;nbsp;.&lt;/P&gt;&lt;P&gt;3. Use the linker file directives&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; a. to place core-specific code/data in the local memories of the&amp;nbsp;core on which they execute&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; b.to allocate specifc regions within the SRAM for each cores code and data sections&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; c. to allocate specifc memory to store common global data that will be accessed by either core&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; d. generate a single ELF file for the complete application&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; e. start both cores with a single operation.&lt;/P&gt;&lt;P&gt;4. Be able to build the project&amp;nbsp; and debug , using the S32DS IDE&amp;nbsp; (as opposed to command line build)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it really necessary to create two separate projects and create redundant processor expert code for a single hardware unit when all I want is to&amp;nbsp;have the two cores share the execution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate suggestions, caveats from all even if done for another processor type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Alex_Peck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 22:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898756#M4864</guid>
      <dc:creator>jyothsnarajan</dc:creator>
      <dc:date>2019-05-01T22:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting processing across multiple cores</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898757#M4865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;an alternative to the separate project per core could be to add the code for additional cores directly into the same project and generate a single executable file for all cores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see e.g. this example: e.g.&amp;nbsp;&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/80885iF337C7126FC60EC1/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;P&gt;&lt;/P&gt;&lt;P&gt;or MPC5777C example here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-335462"&gt;Example MPC5777C Single ELF multi-core Pin Toggling - S32DS Power 2017.R1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 12:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898757#M4865</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2019-05-06T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting processing across multiple cores</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898758#M4866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stan,&lt;/P&gt;&lt;P&gt;Thanks much for your reply.&amp;nbsp; The example uses GHS. But I use S32DS and it has limitations. Eg.&amp;nbsp;&amp;nbsp;I&amp;nbsp;cannot create a project without a core-name suffix. Also Processor Expert beans have to specified separately for each core - description very clearly states that i cannot generated PE code for one core-project and just reference the same from the other core-project.&amp;nbsp; Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;JoyR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 22:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Splitting-processing-across-multiple-cores/m-p/898758#M4866</guid>
      <dc:creator>jyothsnarajan</dc:creator>
      <dc:date>2019-05-06T22:31:46Z</dc:date>
    </item>
  </channel>
</rss>

