<?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 debug multicore with S32 Design studio in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511371#M347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you correctly configured linker file? Have you created section where is the variable placed? Do not forget you have to modify linker file for both cores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you write me back, what error does compiler report? I think that the code from my example should work, but is important to have correctly configured linker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About registers and variables, the easiest way how to check the shared variable is look at the memory dump. There you should see, if both cores correctly access to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 18:50:55 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2016-03-16T18:50:55Z</dc:date>
    <item>
      <title>How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511368#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set up a new blank project of MPC5748G, use Z4_1 and Z4_2 core. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="143484_143484.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121147i3973E98A77D9AF37/image-size/large?v=v2&amp;amp;px=999" role="button" title="143484_143484.jpg" alt="143484_143484.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175842486073274717.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58541i1F402E463C1864C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="175842486073274717.jpg" alt="175842486073274717.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and debug&lt;span class="lia-inline-image-display-wrapper" image-alt="143485_143485.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121148i947210D90CE839C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="143485_143485.png" alt="143485_143485.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="903846511156804167.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58555iD68BA269205BF628/image-size/large?v=v2&amp;amp;px=999" role="button" title="903846511156804167.png" alt="903846511156804167.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="143496_143496.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121149iE26379449D153487/image-size/large?v=v2&amp;amp;px=999" role="button" title="143496_143496.png" alt="143496_143496.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="621820408859017324.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58556iD288C96CC064241A/image-size/large?v=v2&amp;amp;px=999" role="button" title="621820408859017324.png" alt="621820408859017324.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="143497_143497.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121150iCC8D6BFEACC3E7A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="143497_143497.png" alt="143497_143497.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="898760601384819724.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58600iC798AB49E0BAFEF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="898760601384819724.png" alt="898760601384819724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;is there any configuration missed? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 14:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511368#M344</guid>
      <dc:creator>jingyu</dc:creator>
      <dc:date>2016-03-07T14:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511369#M345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first, try to add a delay after reset into your main core debug configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="S32DS_Power_Add_Connection_Delay.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58388i73CBC6D16D2175B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32DS_Power_Add_Connection_Delay.png" alt="S32DS_Power_Add_Connection_Delay.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If it does not help, try to upgrade PE Micro drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 15:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511369#M345</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-03-07T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511370#M346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Martin!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did fix the power cycle problem! Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now I meet another problems. In order to test my SEMA4 driver, I need to use the shared RAM, one core write to the variable placed in shared RAM, the other core read it. But how can I call the same variable in these two multicore project? (Z4_1,Z4_2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the MPC5775K example, but the v&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;ariable declaration way do not work in MPC5748G project, it didn't pass the project build.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Besides, I recognised that the S32 Design Studio can not monitor the registers and variables when doing multicore debug, so that's somewhat difficult to test the demo.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Jing Yu&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511370#M346</guid>
      <dc:creator>jingyu</dc:creator>
      <dc:date>2016-03-16T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511371#M347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you correctly configured linker file? Have you created section where is the variable placed? Do not forget you have to modify linker file for both cores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you write me back, what error does compiler report? I think that the code from my example should work, but is important to have correctly configured linker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About registers and variables, the easiest way how to check the shared variable is look at the memory dump. There you should see, if both cores correctly access to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511371#M347</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-03-16T18:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511372#M348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, which is linker file and how to configure it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create the section as follows:&lt;/P&gt;&lt;P&gt;in the first core&lt;/P&gt;&lt;BLOCKQUOTE&gt;int shared_int __attribute__((section (".sharedRAM")));&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the second core extern it&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;extern int shared_int;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and when I call the variable, the error is "undefined referende to 'shared_int'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recognised that the 5775 example add two underline before the extern variable, like&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;extern int __shared_int;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;whats for these two underline? the error still alive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess it's the linker file tricks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 02:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511372#M348</guid>
      <dc:creator>jingyu</dc:creator>
      <dc:date>2016-03-17T02:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511373#M349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;every project has its own linker files. These files define memory map and also determine, where will be stored your code and variables. Linker files are placed in Project_Settings/Linker_Files. Look at my example project and set your linker files in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 08:23:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511373#M349</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-03-17T08:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511374#M350</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 s32 design studio, how to check the variable values without debugging in s 32 design studio.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 09:04:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511374#M350</guid>
      <dc:creator>bhuvaneshwaran</dc:creator>
      <dc:date>2017-02-23T09:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multicore with S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511375#M351</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'm not exactly sure what you mean by check variable without debugging.&lt;/P&gt;&lt;P&gt;Perhaps you can try to use FreeMASTER tool to monitor running MCU over JTAG/UART/CAN&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/power-management/wireless-charging-ics/freemaster-run-time-debugging-tool:FREEMASTER" title="http://www.nxp.com/products/power-management/wireless-charging-ics/freemaster-run-time-debugging-tool:FREEMASTER"&gt;FreeMASTER Run-Time Debugging Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-debug-multicore-with-S32-Design-studio/m-p/511375#M351</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2017-06-20T21:13:42Z</dc:date>
    </item>
  </channel>
</rss>

