<?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: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991496#M14916</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;PSTARTADDR is a bit field where last four bit of address are not visible.&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/94512i239EC55405435526/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;P&gt;&lt;/P&gt;&lt;P&gt;The debugger shows content of whole 32bit register on the left side and content of bit field on the right side. That's the reason why it is "shifted".&lt;/P&gt;&lt;P&gt;When you write to whole Word1 register, it should be:&lt;/P&gt;&lt;P&gt;PFLASH.PFCRD[n].Word1.R = 0x0D000000;&lt;/P&gt;&lt;P&gt;If you write only to bit field:&lt;/P&gt;&lt;P&gt;PFLASH.PFCRD[n].Word1.B.PSTARTADDR = 0x0D00000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2019 06:17:41 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2019-11-19T06:17:41Z</dc:date>
    <item>
      <title>MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991491#M14911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Use Case: To Remap the Calibration Region&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Tools:&lt;/STRONG&gt;&lt;/SPAN&gt; Lauterbach Debugger&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Target:&lt;/STRONG&gt;&lt;/SPAN&gt; MPC5777M Microcontroller&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Calibration:&lt;/STRONG&gt;&lt;/SPAN&gt; ENGINE_01_Calibration [Address: 0x09457E99--0x09457E99]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;We would like to Remap the Calibration region and got information from the MPC5777M reference Manual that we should use “PFlash Calibration Remap Descriptor Enable Register (PFCRDE)”. We would like to use either&lt;BR /&gt;&lt;STRONG&gt;Extended Overlay RAM [Address: 0x0C000000 0x0C1FFFFF and Size: 2 MB]&lt;/STRONG&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;STRONG&gt;Internal Overlay RAM [Address: 0x0D000000 0x0D003FFF and Size: 16 KB]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92453iE477E8E3B77D2535/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Source: &lt;A href="https://www.nxp.com/files-static/32bit/doc/ref_manual/MPC5777MRM.pdf"&gt;https://www.nxp.com/files-static/32bit/doc/ref_manual/MPC5777MRM.pdf&lt;/A&gt; (Page: 164)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Steps Followed to Remap the Calibration ENGINE_01_Calibration [Address: 0x09457E99--0x09457E99] using PFlash Calibration Remap Descriptor Enable Register (PFCRDE):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;1. Enable Calibration Remap Descriptor 0,1,2 == 01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_17.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92484i29C5CCF7A1B0F9CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_17.png" alt="pastedImage_17.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;2. Platform Flash Calibration Region Descriptor n Word0 (PFLASH_PFCRDn_Word0):&lt;/SPAN&gt;&lt;BR /&gt;While setting this PFLASH_PFCRDn_Word0, we are not sure about the “LSTARTADDR” which needs to be specified to configure the descriptors.&lt;BR /&gt;Address: 0h base + 100h offset + (16d × i), where i=0d to 31d&lt;BR /&gt;Similarly, we are also unclear about the address, which needs to be set to configure the PFLASH_PFCRDn_Word1 &amp;amp; PFLASH_PFCRDn_Word2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_22.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92531iAC75AAE74BB778AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_22.png" alt="pastedImage_22.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;3. Platform Flash Calibration Region Descriptor n Word1 (PFLASH_PFCRDn_Word1):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_24.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92582iAE5BA1461793A287/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_24.png" alt="pastedImage_24.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;4. Platform Flash Calibration Region Descriptor n Word2 (PFLASH_PFCRDn_Word2):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_25.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92632i9A6F98AE623C3C67/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_25.png" alt="pastedImage_25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;5. Enabled global remap enable PFCRCR[GRMEN] == 01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Dhanesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 09:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991491#M14911</guid>
      <dc:creator>dhanesh_pandian</dc:creator>
      <dc:date>2019-11-14T09:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991492#M14912</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;you can check this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-342943"&gt;Example MPC5748G Overlay SRAM Overlay Flash config S32DS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Overlay(uint32_t word0, uint32_t word1, uint32_t word2, uint32_t descriptor)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;PFLASH.PFCRD[descriptor].Word0.R = word0;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Logical address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRD[descriptor].Word1.R = word1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Physical address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRD[descriptor].Word2.R = word2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable remapping for individual masters, size of page */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRDE.R |= (uint32_t)0x80000000 &amp;gt;&amp;gt; descriptor;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable descriptor */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRCR.B.GRMEN = 1;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Global Remap Enable */&lt;BR /&gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is an example how to overlay flash at 0x09457E80 by SRAM at 0x0D000000:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overlay(0x09457E80, 0x0D000000, 0xFFFF0007, 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I used descriptor size (CRDSize) 128 bytes. That means the address must be aligned to 128 bytes. You can use address 0x09457E99. Smallest region size is 32 bytes, so the address must be aligned to 32bytes too.&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/92543i57C9E7B8447B0396/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;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 08:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991492#M14912</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-11-15T08:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991493#M14913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already following your example code which you posted on another topic.&lt;/P&gt;&lt;P&gt;I just followed the steps described by you and it didn't work.&lt;/P&gt;&lt;UL&gt;&lt;LI style="margin-left: -7.1pt;"&gt;&lt;SPAN style="font-size: 13px;"&gt;PFLASH.PFCRD[descriptor].Word0.R =&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;0x09457E80&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: -7.1pt;"&gt;&lt;SPAN style="font-size: 13px;"&gt;PFLASH.PFCRD[descriptor].Word1.R =&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;0x0D000000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: -7.1pt;"&gt;&lt;SPAN style="font-size: 13px;"&gt;PFLASH.PFCRD[descriptor].Word2.R =&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;0xFFFF0007&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: -7.1pt;"&gt;&lt;SPAN style="font-size: 13px;"&gt;PFLASH.PFCRDE.R ==&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;0x80000000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: -7.1pt;"&gt;&lt;SPAN style="font-size: 13px;"&gt;PFLASH.PFCRCR.B.GRMEN = 01&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&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/92869i1372F77A65CB8984/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;P&gt;Also tried with&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Overlay(0x09457E99, 0x0D000000, 0xFFFF0005, 1), it too din't work.&lt;/SPAN&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/92461i3B4AAE642D702FE7/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;I also noted in your &lt;SPAN style="color: #0000ff;"&gt;main.c&lt;/SPAN&gt; code that you had enabled some peripherals, Do I need to set all these?&lt;/P&gt;&lt;P&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/92545iAB1BE557BF0721A7/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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 09:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991493#M14913</guid>
      <dc:creator>dhanesh_pandian</dc:creator>
      <dc:date>2019-11-15T09:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991494#M14914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhanesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's just a typo:&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/94500iA8AC20E4A72FDA6B/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;P&gt;&lt;/P&gt;&lt;P&gt;Address of overlay SRAM is not 0xD000_0000 but 0x0D00_0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 06:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991494#M14914</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-11-18T06:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991495#M14915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi Lukas,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am trying&amp;nbsp;to set the &lt;STRONG&gt;PFCRD0_WORD0&lt;/STRONG&gt; &amp;amp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="border: 0px;"&gt;PFCRD0_WORD&lt;/SPAN&gt;1&lt;/STRONG&gt; there is &amp;gt;&amp;gt; 4-bit shifting is happening, but I couldn't able to see this behavior in your screenshot.(&lt;span class="lia-inline-image-display-wrapper" image-alt="163818_163818.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123690i17557A42E244D808/image-size/large?v=v2&amp;amp;px=999" role="button" title="163818_163818.png" alt="163818_163818.png" /&gt;&lt;/span&gt;)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Actually I am writing 0x0D000000 but &amp;gt;&amp;gt; 4-bit Shifting is happening and it takes 0XD0000000.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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/94438iFF8FC3062895462D/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>Mon, 18 Nov 2019 12:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991495#M14915</guid>
      <dc:creator>dhanesh_pandian</dc:creator>
      <dc:date>2019-11-18T12:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991496#M14916</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;PSTARTADDR is a bit field where last four bit of address are not visible.&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/94512i239EC55405435526/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;P&gt;&lt;/P&gt;&lt;P&gt;The debugger shows content of whole 32bit register on the left side and content of bit field on the right side. That's the reason why it is "shifted".&lt;/P&gt;&lt;P&gt;When you write to whole Word1 register, it should be:&lt;/P&gt;&lt;P&gt;PFLASH.PFCRD[n].Word1.R = 0x0D000000;&lt;/P&gt;&lt;P&gt;If you write only to bit field:&lt;/P&gt;&lt;P&gt;PFLASH.PFCRD[n].Word1.B.PSTARTADDR = 0x0D00000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 06:17:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991496#M14916</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-11-19T06:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M Modifying Calibration in Runtime by Remap the Calibration region</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991497#M14917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It worked, Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 13:51:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-Modifying-Calibration-in-Runtime-by-Remap-the/m-p/991497#M14917</guid>
      <dc:creator>dhanesh_pandian</dc:creator>
      <dc:date>2019-11-20T13:51:35Z</dc:date>
    </item>
  </channel>
</rss>

