<?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: MPC5775K SEMA42 multi cores in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518827#M3469</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;unfortunately, your requirement is not possible. If the memory is shared, it should not be cached. From my point of view, the best way is to keep cache enabled and disable cache only for the small part of memory, which is shared between cores. This should keep the execution speed high for most of your code and only access to shared memory will be affected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, please feel free to write me back.&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, 28 Dec 2016 09:24:34 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2016-12-28T09:24:34Z</dc:date>
    <item>
      <title>MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518806#M3448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="250581" data-objecttype="3" href="https://community.nxp.com/people/b55689"&gt;Martin Kovar&lt;/A&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="211729" data-objecttype="3" href="https://community.nxp.com/people/PetrS"&gt;Petr Stancik&lt;/A&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="18393" data-objecttype="3" href="https://community.nxp.com/people/stanish"&gt;Stanislav Sliva&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm trying to debug&amp;nbsp; to SEMA42 module in the MPC5775K.&amp;nbsp; I'd like to make one core to communicate with other. Is there some sample codes to share?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 12:14:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518806#M3448</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-12T12:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518807#M3449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And when I try to lock the gate. IVOR1_Vector() appears.&lt;/P&gt;&lt;P&gt;Then I could not trace it by the IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13164736.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59782iF3255AB820DE046D/image-size/large?v=v2&amp;amp;px=999" role="button" title="13164736.bmp" alt="13164736.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 08:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518807#M3449</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-13T08:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518808#M3450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at the following example. I tested it with PeMicro debug probe in S32DS and I did not get any IVOR exception.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329941"&gt;Example MPC5775K Semaphores S32DS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by communication between cores? If you want to send messages from one core to another, you can use shared memory. For this purpose the example mentioned above is also usable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other question, please feel free to write me back.&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, 13 Jun 2016 11:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518808#M3450</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-13T11:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518809#M3451</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;Thanks. You are right. I'd like to send messages from one core to another. And I have tested your example. Following what you said, I modified the mem.ld and section.ld.&amp;nbsp; But there are still some parts in your example I could not understand. Please pay attention to the red lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the core0,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="111.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60367i4C077E1188570E95/image-size/large?v=v2&amp;amp;px=999" role="button" title="111.jpg" alt="111.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the core1,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="222.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60386i7807FFAB794C49A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="222.jpg" alt="222.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project is that the core0 gets commands from CAN bus and then core0 sends the commands to core1 through shared memory. I'm not clear how to lock and unlock cores.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="333.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60401i07BF4FA1C371DD66/image-size/large?v=v2&amp;amp;px=999" role="button" title="333.jpg" alt="333.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I could not read the correct data in the core1.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518809#M3451</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-14T07:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518810#M3452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the general (simplified) principle of using semaphores is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have two cores, one shared resource (for example memory) and one gate, which protects the shared resource. If any core wants to access to the shared resource,&amp;nbsp; it has to check, of the gate is unlocked. If yes, core locks the gate and uses the shared resource (this is called critical section). After core leaves critical section (does not want to work shared resource anymore), core has to unlock the gate (because of deadlock) and any other core can use it now.&lt;/P&gt;&lt;P&gt;If the gate is locked, core has to wait, until other core unlock it. Gate can be unlock only by the the core which locked it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And lets look at the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;STRONG&gt;what do you mean about status? which core?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Status variable determines the status of the GATE (only gate 0 is used for both cores). If gate is unlock, core can lock it and execute it's critical section (access to shared resource).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) status = Get_Gate_Status(GATE0 or GATE1)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this example only one gate is used, because there is only one shared resource. So the answer is GATE0. This is also answer for your next question.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Read shared memory here?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Yes, after you lock the gate, you are in the critical section and you can use (read/write) shared resource. Just realize, which operations are mutual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read/read - not mutual...more cores can access shared resource&lt;/P&gt;&lt;P&gt;write/read - mutual exclusion&lt;/P&gt;&lt;P&gt;write/write - mutual exclusion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the use case you describe I do not understand much, but I suppose you have some array called CanCMD[8]. If you want to write to this array, core0 should lock the gate0 and write to the array, then unlock the gate. Core1 has to wait, until gate0 is unlocked. Then core1 locks the gate, reads data from array and unlocks the gate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in the debugger, if memcpy function copies correct data to the correct address and also if pcmd points to correct address.&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>Tue, 14 Jun 2016 08:31:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518810#M3452</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-14T08:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518811#M3453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin,&lt;/P&gt;&lt;P&gt;I found that it was running correctly if I just only locked and unlocked the gate 0.&amp;nbsp; As the picture shows,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="xxx2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21515iF09E42466383CE58/image-size/large?v=v2&amp;amp;px=999" role="button" title="xxx2.jpg" alt="xxx2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I tried to read or write data in the shared memory. The project jumped into the &lt;STRONG&gt;IVOR1_Vector(). &lt;/STRONG&gt; So I doubt that if there is something wrong with the configuration about link files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. This is the configuration about mem.ld.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="link2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60460iFF02F948B50420DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="link2.png" alt="link2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My project is that each core gets 128K * 3 = 384K RAM. The rest 128K is used as shared memory.&lt;/P&gt;&lt;P&gt;CORE0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x40000000 ~ 0x4005FFFF&lt;/P&gt;&lt;P&gt;CORE1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x40060000 ~ 0x400BFFFF&lt;/P&gt;&lt;P&gt;CORE2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x400C0000 ~ 0x4011FFFF&lt;/P&gt;&lt;P&gt;SHARED 0x40120000 ~&amp;nbsp; 0x4013FFFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I added the parts between red lines in every sections.ld. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="657.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36094i32BA0591287BFA7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="657.jpg" alt="657.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The shared memory structure is like that. There are 8 bytes in it. The total size of shared memory is 128K. But I only use 8 bytes now. I think it is not important.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60539i3EAF9856893E366F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the first core, I create a new structure in the shared memory&amp;nbsp; and write some new data to 'gCANCmd'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60551i28AC51BA9910DDFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I declare the shared memory in the second core and read data from '_shared_mem[]'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60540i057F94A7B988A8A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Especially， I really lock and unlocked the GATE_0 when I try to execute the process of reading and writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the problem is why it goes wrong when I am using the shared memory. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518811#M3453</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-14T10:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518812#M3454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the screens you sent me it seems, linker file is OK. Is it possible for you to share your project here? I need to check the whole code.&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>Tue, 14 Jun 2016 10:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518812#M3454</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-14T10:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518813#M3455</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;I create a new project. It has the sample problem. I'm confused that I don't know how to upload the code file in the NXP community. So I upload it to the Baidu cloud disk. I'm not sure whether you can download or not.&lt;/P&gt;&lt;P&gt;&lt;A href="http://pan.baidu.com/s/1kVpRPOF" title="http://pan.baidu.com/s/1kVpRPOF"&gt;http://pan.baidu.com/s/1kVpRPOF&lt;/A&gt; &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/60613iDA49CD3811793C92/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;&lt;SPAN&gt;My personal email address is &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ron.liu@live.com"&gt;ron.liu@live.com&lt;/A&gt;&lt;SPAN&gt;. If you have any problem to get it. Please send me an email. I will send it to you as an attach again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 12:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518813#M3455</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-14T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518814#M3456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you do not have initialized the shared RAM. Each core initialize only 384K. Please edit mem.ld file for z4 core. Use the following code SRAM_SIZE = 1280K;&amp;nbsp; instead of SRAM_SIZE = 384K;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it should works.&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>Tue, 14 Jun 2016 13:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518814#M3456</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-14T13:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518815#M3457</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;I modified the mem.ld for z4. And it works now. It no longer jump to the IVOR1_Vector(). However there is still a problem. The data is been refreshing all the time in the core0, but I couldn't get the updated data in the core1. In other words, I'm able to see the changing data in core0 and constant data in core1 in the watching windows. Is it the right way to read data in the picture below?&lt;/P&gt;&lt;P&gt;And I upload the new project in the cloud disk. You may download and debug it.&amp;nbsp; &lt;A href="http://pan.baidu.com/s/1c1RJ8Qk" title="http://pan.baidu.com/s/1c1RJ8Qk"&gt;http://pan.baidu.com/s/1c1RJ8Qk&lt;/A&gt;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59493i5A9A4C2F01CE1571/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59555iA1E3B3F91DECBD95/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 03:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518815#M3457</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-15T03:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518816#M3458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use the advanced editor feature. There is option attach, which could be used to upload your projects.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59498i2719FBDCA29B7934/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&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, 15 Jun 2016 05:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518816#M3458</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-15T05:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518817#M3459</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;Thanks for your tips. The attach is the newest project. Could you please help to debug it?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 06:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518817#M3459</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-15T06:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518818#M3460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem you describe is caused by cache memory. You should disable cache memory or use SMPU to inhibit shared RAM to be cached.&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, 15 Jun 2016 08:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518818#M3460</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-15T08:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518819#M3461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What should I do to disable DCache? I tried to call this function. But there are a lot of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59698i57EFBE67B19F1D5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 08:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518819#M3461</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-15T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518820#M3462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in startup files, comment the piece of the code, which enable cache memory.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60005i3AF2DD82E0B5C0B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&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, 15 Jun 2016 10:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518820#M3462</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-15T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518821#M3463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;I modified these three startup.s. But the problem still existed.&amp;nbsp; Is it the right way to comment lines about the cache?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&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/59674i3B807240E54E2006/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;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59699iDDD46B611E3255D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518821#M3463</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-15T13:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518822#M3464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, the comment you used is correct. Cache is disabled now. But I worry about the debugger. I tried to use PEMicro debug probe and S32DS debugger and debug your project, but it was nearly impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I had tried any simpler project (for example the project I shared here) it worked correct. In the end, I tried to debug your project using Lauterbach debugger and it worked correct when I disabled cache.&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, 16 Jun 2016 05:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518822#M3464</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-16T05:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518823#M3465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;Thank you all the same. Do you know it is OK to debug MPC5775K multi-cores project in GHS IDE?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 08:33:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518823#M3465</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-16T08:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518824#M3466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is still a doubt. If I download the firmware rather than using the S32 debugger. Could it be able to run correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 08:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518824#M3466</guid>
      <dc:creator>ronliu</dc:creator>
      <dc:date>2016-06-16T08:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5775K SEMA42 multi cores</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518825#M3467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have any experience with GHS IDE so I am not tell you any relevant information. I also do not know if it is possible to use PEMicro debug probe with GHS IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About your second question, I do not know what you mean by firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is one possible way, which could be suitable for you. At the end of June, S32DS v 1.1 should be released and I hope, there will be fixed some bugs in debugger and it will become more usable for complex projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way, how to debug more complex project is Lauterbach debugger, but I know that the price is high.&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, 16 Jun 2016 11:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5775K-SEMA42-multi-cores/m-p/518825#M3467</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-16T11:13:26Z</dc:date>
    </item>
  </channel>
</rss>

