<?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>MPC5xxxのトピックRe: SMPU MPC5744P PID</title>
    <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1658368#M23706</link>
    <description>&lt;P&gt;The file attached shows how I initialised the CMPU. Regarding regions 3 and 4 initialised in the given file&lt;BR /&gt;region 3 from 0x4000 0000 to 0x4002 0000 with task ID 0&lt;BR /&gt;region 4 from 0x4002 0000 to 0x4005 FFFF with task ID 2.&lt;BR /&gt;When I try to access region 3 with a process ID of 0, IVOR 2 is triggered, but I can access region 4 with a process ID of 2.&lt;BR /&gt;If I switched them and initialised region 4 first, then region 3,&lt;BR /&gt;I can access region 3 successfully with process ID 0, but when I access region 4 with process ID 2, IVOR 2 is triggered.&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 11:12:00 GMT</pubDate>
    <dc:creator>Mennazz</dc:creator>
    <dc:date>2023-05-26T11:12:00Z</dc:date>
    <item>
      <title>SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637163#M23404</link>
      <description>&lt;P&gt;Hello, I want to ask about setting a process ID for a region while configuring the SMPU.&lt;/P&gt;&lt;P&gt;the SMPU_EnableProcessIdentifier () function present in the smpu_hw_access.h&amp;nbsp;uses WORD4, which is undefined in any of the MPC5744P files, so my question is how to set a process ID for every region using SMPU&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mennazz_0-1681986343372.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/220063i8529C204228493CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mennazz_0-1681986343372.png" alt="Mennazz_0-1681986343372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 10:27:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637163#M23404</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-04-20T10:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637352#M23405</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213901"&gt;@Mennazz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;process identifier feature is not available on MPC5744P. The drivers are common for all MPC57xx devices. File xxxx_features.h then says if a feature is available or not:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1682003422587.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/220139iDBB7CF665278D6B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1682003422587.png" alt="lukaszadrapa_0-1682003422587.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or you can check reference manual for the device.&lt;/P&gt;
&lt;P&gt;Process identifier feature is available on MPC5748G devices and their derivatives.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 15:12:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637352#M23405</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-04-20T15:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637354#M23406</link>
      <description>&lt;P&gt;Okay so, do you know how to configure a memory region for specific task in MPC5744P?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 15:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637354#M23406</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-04-20T15:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637427#M23407</link>
      <description>&lt;P&gt;There's also core MPU (CMPU) which supports the process identifier.&lt;/P&gt;
&lt;P&gt;I checked the SDK but I can't see an option how to configure it in processor expert. I found only this:&lt;/P&gt;
&lt;P&gt;c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\platform\drivers\src\mpu_e200\&lt;/P&gt;
&lt;P&gt;It seems that it would be necessary to configure the structures manually.&lt;/P&gt;
&lt;P&gt;Another option is to do that without the drivers. I shared this example here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-CMPU-Initialization-GHS614/ta-p/1125248" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-CMPU-Initialization-GHS614/ta-p/1125248&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There's also link to excel tool "CMPU configurator" which can help to generate asm code for initialization. Or you can just use the generated values and then use function from the mentioned driver.&lt;/P&gt;
&lt;P&gt;Process identifier is not used in the example. But it shouldn't be a problem - it's just necessary to set TID (and optionally TIDMSK) for your descriptors and then set PID core register as needed at beginning/end of your task. More information can be found in Chapter 10:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=E200Z4RM&amp;amp;location=null" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=E200Z4RM&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 16:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1637427#M23407</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-04-20T16:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1641503#M23451</link>
      <description>&lt;P&gt;&lt;BR /&gt;Do you mean that it is possible to configure a process ID for every region using CMPU? If yes, could you please explain how in more detail?&lt;/P&gt;&lt;P&gt;To my knowledge, when exploring the functions used to configure the MPU, they are nearly the same as those used to configure the SMPU and are using the same macro&amp;nbsp;&lt;SPAN&gt; FEATURE_SMPU_HAS_PROCESS_IDENTIFIER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mennazz_1-1682607026450.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221127i8005D9C06C800526/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mennazz_1-1682607026450.png" alt="Mennazz_1-1682607026450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 14:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1641503#M23451</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-04-27T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1642569#M23468</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp; Could you please reply ?&lt;/P&gt;&lt;P&gt;While I am investigating how to configure the CMPU with PID, I found that the MPC5744P_features.h file does not contain anything related to the CMPU, so does it mean that not all CMPU capabilities are available in MPC5744P as it is configured using the SMPU?&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 11:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1642569#M23468</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-04-30T11:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1642876#M23476</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213901"&gt;@Mennazz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my recommendation is to use mentioned configurator. This is the simplest method. All you need to do is to set TID as needed (and optionally set also mask inTIDMSK if needed).&lt;/P&gt;
&lt;P&gt;Entry with TID 0 is considered as global and matches with all tasks. So, just configure the TID in the configurator for each entry:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1683006253185.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221384iCB8111B9397F454C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1683006253185.png" alt="lukaszadrapa_0-1683006253185.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 05:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1642876#M23476</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-02T05:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1643495#M23499</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;this configurator configure only one region right? so to configure multiple regions&amp;nbsp; I shall generate code for every region separately right ?&lt;/P&gt;&lt;P&gt;could you please explain this register usage in more details ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mennazz_0-1683105436000.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221513i6D17A40CE208CB99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mennazz_0-1683105436000.png" alt="Mennazz_0-1683105436000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and How to integrate this generated assembly code to my c code ?&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 11:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1643495#M23499</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-03T11:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1644310#M23511</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213901"&gt;@Mennazz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;attached is example (the one I shared earlier created in GHS) ported to S32DS.&lt;/P&gt;
&lt;P&gt;You can use cmpu.s file, just update it as needed. Here's the result when running the code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1683180301071.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221655i840A41ED712B0156/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1683180301071.png" alt="lukaszadrapa_0-1683180301071.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It should also explain the ESEL and INST field. There are separate configurations for instruction and data because those are two separate buses:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1683181183803.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221658iA9EF6A473E573D1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1683181183803.png" alt="lukaszadrapa_1-1683181183803.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice that the CMPU needs to be enabled by writing MPUEN bit in MPU0CSR0 core register. This can be found at the end of initialization. This is not generated by the configurator.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 06:20:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1644310#M23511</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-04T06:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1645974#M23527</link>
      <description>&lt;P&gt;I didn't get what ESEL really does. Could you please explain more?&lt;BR /&gt;Another question, please: is there a way to rewrite the used assembly code into c-code as we did before while setting the task ID with the mtspr register?&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 08:23:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1645974#M23527</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-07T08:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1646910#M23537</link>
      <description>&lt;P&gt;There are 24 descriptors in total:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1683617570102.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222288iEB18EFFAE586E827/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1683617570102.png" alt="lukaszadrapa_0-1683617570102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;ESEL is used to select&amp;nbsp; a descriptor you need.&lt;/P&gt;
&lt;P&gt;INST says if you are going to use descriptor for instruction region or for data region.&lt;/P&gt;
&lt;P&gt;SHD then allows you to use shared regions for both instruction and data.&lt;/P&gt;
&lt;P&gt;In the screenshot shared earlier, there are two descriptors used in instruction region (you can use up to 6 descriptors) and three descriptors used in data region (you can use up to 12 descriptors). Shared region is not used there but you can use up to 6 descriptors. So, all the descriptors are selectable by ESEL and by INST and SHD which select between instruction/data/shared regions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1683618069440.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222290i777A8D3D083E4AF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1683618069440.png" alt="lukaszadrapa_1-1683618069440.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 07:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1646910#M23537</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-09T07:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1646915#M23538</link>
      <description>&lt;P&gt;Okay what about this question&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;is there a way to rewrite the used assembly code into c-code as we did before while setting the task ID with the mtspr register?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 07:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1646915#M23538</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-09T07:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1647102#M23543</link>
      <description>&lt;P&gt;Well, you could write the MASx registers in the same way and then call asm function which would execute mpuwe and mpusync instructions. So, yes, this could work too.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 10:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1647102#M23543</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-09T10:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1647122#M23545</link>
      <description>&lt;P&gt;Could you explain more with an example since the example sent contains these&amp;nbsp; assembly lines?&lt;BR /&gt;e_lis r3, 0xA100&lt;BR /&gt;e_or2i r3, 0x0F00&lt;BR /&gt;mtspr mas0, r3&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 11:14:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1647122#M23545</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-09T11:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1648382#M23562</link>
      <description>&lt;P&gt;Here's an example:&lt;/P&gt;
&lt;P&gt;//write one descriptor&lt;BR /&gt;mtspr(624, 0xXXXXXXXX); //write MAS0&lt;BR /&gt;mtspr(625, 0xXXXXXXXX); //write MAS1&lt;BR /&gt;mtspr(626, 0xXXXXXXXX); //write MAS2&lt;BR /&gt;mtspr(627, 0xXXXXXXXX); //write MAS3&lt;BR /&gt;CMPU_WriteDescriptor();&lt;/P&gt;
&lt;P&gt;For CMPU_WriteDescriptor, you can re-use file cmpu.s from previous example, just create a function like this:&lt;/P&gt;
&lt;P&gt;CMPU_WriteDescriptor:&lt;BR /&gt;mpuwe&lt;BR /&gt;mpusync&lt;BR /&gt;se_blrl&lt;/P&gt;
&lt;P&gt;And then create one more function to enable the CMPU like:&lt;/P&gt;
&lt;P&gt;CMPU_Enable:&lt;BR /&gt;e_lis r3, 0x0000&lt;BR /&gt;e_or2i r3, 0x0001&lt;BR /&gt;mtspr 1014, r3&lt;BR /&gt;se_blr&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;And from the example you shared above:&lt;BR /&gt;e_lis r3, 0xA100&lt;BR /&gt;e_or2i r3, 0x0F00&lt;BR /&gt;mtspr mas0, r3&lt;/P&gt;
&lt;P&gt;That's value 0xA1000F00 which should be written to MAS0, so:&lt;BR /&gt;mtspr(624, 0xA1000F00);//write MAS0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 06:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1648382#M23562</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-11T06:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1648408#M23563</link>
      <description>&lt;P&gt;Looks great !&amp;nbsp;&lt;/P&gt;&lt;P&gt;but what about these lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;mpuwe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mpusync&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;se_blrl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to write them in C&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 07:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1648408#M23563</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-11T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1648843#M23568</link>
      <description>&lt;P&gt;As I wrote - you can use cmpu.s file as a template. That's file for asm code.&lt;/P&gt;
&lt;P&gt;Or there's second option - you can write the same instructions to C code like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To write a descriptor:&lt;/P&gt;
&lt;P&gt;asm("mpuwe");&lt;BR /&gt;asm("mpusync");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable CMPU:&lt;/P&gt;
&lt;P&gt;asm("e_lis %r3, 0x0000");&lt;BR /&gt;asm("e_or2i %r3, 0x0001");&lt;BR /&gt;asm("mtspr 1014, %r3");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 15:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1648843#M23568</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-11T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1651134#M23598</link>
      <description>&lt;P&gt;Okay It works Thank you&amp;nbsp;&lt;BR /&gt;But could you tell me how to detect violations if a task with a task ID accessed a memory location configured with a different task ID?&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 11:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1651134#M23598</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-16T11:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1651357#M23603</link>
      <description>&lt;P&gt;Access violation is signaled by ISI or DSI (instruction storage interrupt or data storage interrupt), so Machine Check / IVOR1 should be triggered.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 16:28:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1651357#M23603</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-16T16:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: SMPU MPC5744P PID</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1651362#M23604</link>
      <description>&lt;P&gt;Okay Great thank you&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 12:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SMPU-MPC5744P-PID/m-p/1651362#M23604</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2023-05-17T12:38:27Z</dc:date>
    </item>
  </channel>
</rss>

