Register Protection for MPC5746C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Register Protection for MPC5746C

1,777 Views
mayank22
Contributor II

These are the Modules on which I am implementing Locking mechanism under Register Protection for MPC5746C.

 

    0xFFFB0140, /* CMU------------*/

    0xFFFB0040, /* FXOSC----------*/

    0xFFFB0180, /* MC_CGM --------*/

    0xFFFB8000, /* MC_ME ---------*/

    0xFFFA8000, /* MC_RGM --------*/

    0xFFF50000, /* MEMU_0 -------*/

    0xFFFB0080, /* PLLDIG --------*/

    0xFFFA0400, /* PMCDIG --------*/

    0xFFFC0000, /* SIUL2 ---------*/

    0xFFFB0100, /* SXOSC ---------*/

    0xFFF9C000 /* LPU_CTL -------*/

    1. Sample 1: (0xFFFB0000, offset - 0x4, 32-bit protection)

Register: Matches ME_MCTL (mode control register, 32-bit protection, offset 0x4 per Table 77-5).

Base Address: 0xFFFB0000.

Protection Size: 32 bits (all four bytes are protected).

Calculations

Normal Address: base + offset = 0xFFFB0000 + 0x4 = 0xFFFB0004

Mirrored Address (Area 3): base + 0x2000 + offset = 0xFFFB0000 + 0x2000 + 0x4 = 0xFFFB2004

Soft Lock Bits Address (Area 4):

Offset in Area 4: offset/4 = 0x4 / 4 = 0x1.

Address: base + 0x3800 + offset/4 = 0xFFFB0000 + 0x3800 + 0x1 = 0xFFFB3801.

For a 32-bit register, all four SLBs (SLB0–SLB3) control the four bytes (e.g., 0x4 to 0x7).

Soft Locking

Option 1: Write to Mirrored Address:

Write a 32-bit value to 0xFFFB2004 (e.g., 0x80000000 to initiate a mode transition; refer to MC_ME chapter for valid values).

This updates ME_MCTL at 0xFFFB0004 and sets SLB0–SLB3 in the SLBRn register at 0xFFFB3801.

Example: *(volatile uint32_t *)0xFFFB2004 = 0x80000000;

Option 2: Direct SLB Write:

Write to 0xFFFB3801 to set SLB0–SLB3.

Write 0xFF (WE0–WE3=1, SLB0–SLB3=1) to lock all four bytes.

Example: *(volatile uint8_t *)0xFFFB3801 = 0xFF;

Unlocking

Write 0xF0 to 0xFFFB3801 (WE0–WE3=1, SLB0–SLB3=0) to clear SLB0–SLB3, unlocking the register.

Example: *(volatile uint8_t *)0xFFFB3801 = 0xF0;

Hard Locking

Write 0x00000001 to 0xFFFB3FFC to set GCR.HLB, locking SLBs until reset.

Example: *(volatile uint32_t *)0xFFFB3FFC = 0x00000001;

Below in an example of register set whose all 4 address set are enable and can be R/W.

 

 

mayank22_0-1752748012305.png

 

Below in an example of register set whose Base + offset & Mirror addresses are enabled and can be R/W and other addresses can’t be set.

This poses a serious issue as SLB bits confirms soft locking and GCR bits are set to implement hard lock.

For All MC_CGM caped registers I can find the same problem.

mayank22_1-1752748012405.png

 

What could be the reason for these different behavior. Some addresses can be modified and changed other are reserved.

0 Kudos
Reply
8 Replies

1,245 Views
mayank22
Contributor II

Hi Peter ,

Thank you for the help. I can configure Soft lock and monitor SLB for all modules now.

I have another question regarding Hard Lock GCR bit. According to your explanation for all the MCCGM capped modules which are  CMU,FXOSC,SXOSC, PLLDIG and MCCGM shall have one common base address , that is 0xFFFB0000.

now according to section 77.1.1 Register protection configuration, the NOTE talks about operations in Low power mode.

mayank22_0-1754552830865.png

As I said , having the same base address , if I Hard lock any one module , all other modules are getting hard locked automatically, which raises issue in Low power mode. since I do not want FXOSC/SXOSC and CMU to be hard locked here.

is there any way around this problem.

Thanks and regards

0 Kudos
Reply

1,214 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

if I Hard lock any one module , all other modules are getting hard locked automatically, which raises issue in Low power mode. since I do not want FXOSC/SXOSC and CMU to be hard locked here.

The register protection is applied Pbridge.

petervlna_0-1754636157965.png

And on the PBRIDGE is the MC_CGM module:

petervlna_1-1754636218800.png

Which have then mapped peripherals under MC_CGM. Looks like you will need to use SLB instead of HLB to solve this.

As HLB will lock whole MC_CGM.

Best regards,

Peter

0 Kudos
Reply

1,684 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have checked the PREG_PROT and it behave like described in reference manual:

on ME_CGM register SC_DC0:

Base :  0xFFFB0000 + Offset 7E8

Mirror: 0xFFFB07E8

= Base (0xFFFB0000) + Offset(7E8) + Mirror (0x2000)

In the example I have locked the SC_DC0 form ME_CGM module by Soft lock.

petervlna_0-1753172674705.png

Here is the breakdown:

petervlna_1-1753172729779.png

Area 4:  is 1.5 KB and holds the Soft Lock Bits, one bit per byte in area 1. The four Soft Lock Bits associated with one module register  word are arranged at byte boundaries in the memory map. The Soft Lock Bit registers can be directly written using a bit mask.

So you have to divide the area of Soft lock bits by 8 to see corresponding SLB settings.

Base (of module) + 3800 + (one bit per byte of area 1)

petervlna_2-1753172994361.png

petervlna_3-1753173019294.png

For Hard lock bit it is one for whole module.

Area 5 is 512 bytes large and holds the configuration bits of the protection mode. There is one configuration hard lock bit per module that prevents all further modifications to the Soft Lock Bits and can only be cleared by a system reset once set. The other bits, if set, will allow user access to the protected module.

Base (of module) 0xFFFB0000 + Offset 3FFC

As GCR is at end of area 5.

petervlna_5-1753173243793.png

petervlna_4-1753173057363.png

 

Best regards,

Peter

0 Kudos
Reply

1,495 Views
mayank22
Contributor II

Hi Peter , here are some samples where SLB and GCR are not working.  can You please check this addresses and confirm if they show different behavior. if not then what could be the problem with these modules ?

1. MC_CMU -  0xFFFB0140 -  { MODULE_CMU, 0xC,REG_SIZE_16}, CMU_LFREFR

    1. Base Address - 0xFFFB014C
    2. Mirror Address -0xFFFB214C
    3. SLB -0xFFFB3943
    4. GCR - 0xFFFB413C

mayank22_0-1753700010986.png

2. MC_CMU -  0xFFFB0140   { MODULE_CMU, 0x18,REG_SIZE_32}, CMU_MDR

    1. Base Address - 0xFFFB0158
    2. Mirror Address - 0xFFFB2158
    3. SLB - 0xFFFB3946
    4. GCR - 0xFFFB413C

mayank22_1-1753700066515.png

3. PLLDIG 0xFFFB0080 - { MODULE_PLLDIG, 0x20, REG_SIZE_16}, PLLDIG_PLLCR

    1. Base Address - 0xFFFB00A0
    2. Mirror Address - 0xFFFB20A0
    3. SLB - 0xFFFB0F5D
    4. GCR - 0xFFFB407C

 

mayank22_4-1753700213295.png

 

4. PLLDIG 0xFFFB0080 - { MODULE_PLLDIG, 0x28,REG_SIZE_32}, PLLDIG_PLLDV

    1. Base Address - 0xFFFB00A8
    2. Mirror Address - 0xFFFB20A8
    3. SLB - 0xFFFB388A
    4. GCR - 0xFFFB407C

mayank22_5-1753700236791.png

 

5. PMCDIG 0xFFFA0400 - { MODULE_PMCDIG, 0x0,REG_SIZE_32},

 

  1. Base Address - 0xFFFA0400
  2. Mirror Address - 0xFFFA2400
  3. SLB - 0xFFFA3C00
  4. GCR - 0xFFFA43FC

mayank22_6-1753700259740.png

6. PMCDIG 0xFFFA0400 -{ MODULE_PMCDIG, 0x10,REG_SIZE_32},

    1. Base Address - 0xFFFA0410
    2. Mirror Address - 0xFFFA2410
    3. SLB - 0xFFFA3C04
    4. GCR - 0xFFFA43FC

mayank22_7-1753700335502.png

 

0 Kudos
Reply

1,472 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Looking at simple test: MC_CMU - CSR

petervlna_0-1753772600568.png

Base Address - 0xFFFB014C - This is offset address. Not Base.

Base for MC_CMU module is 0xFFFB 0140.

Mirror Address -0xFFFB214C 

Would be base +offset + mirror

SLB -0xFFFB3943

Take as base address of whole CGM as present in ref manual:

petervlna_1-1753772881109.png

So calculations are:

0xFFFB0000 + 3800 + position of SLB

GCR - 0xFFFB413C

Same as above

0xFFFB0000+3FF0

Best regards,

Peter

 

 

0 Kudos
Reply

1,386 Views
mayank22
Contributor II

Hi , This is also not working .

CMU_LFREFR 32

Offset 0xCh

Protected size - 16 (Bytes 2 and 3)

 

0xFFFB0000, /* CMU----------*/

 

Base address -0xFFFB000C

Mirror address -0xFFFB200C

SLB - 0xFFFB3803

GCR - 0xFFFB3FFC

mayank22_0-1753789974341.png

 

0 Kudos
Reply

1,381 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Here is the result of SLB for 

CMU_LFREFR 32 -  addresses base and offset

Base for CGM module is  0xFFFB_0000

CMU offset is 0x140

petervlna_0-1753947014813.png

CGM LFREFR offset is 0x14C from module base

petervlna_1-1753947034996.png

petervlna_4-1753947541951.png

I set SLB for CMU_LFREFR via write to mirror

petervlna_3-1753947365013.png

Best regards,

Peter

0 Kudos
Reply

1,756 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I will test it and come back to you ASAP.

Best regards,

Peter

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2135716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERegister%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThese%20are%20the%20Modules%20on%20which%20I%20am%20implementing%20Locking%20mechanism%20under%20Register%20Protection%20for%20MPC5746C.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFB0140%2C%20%2F*%20CMU------------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFB0040%2C%20%2F*%20FXOSC----------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFB0180%2C%20%2F*%20MC_CGM%20--------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFB8000%2C%20%2F*%20MC_ME%20---------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFA8000%2C%20%2F*%20MC_RGM%20--------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFF50000%2C%20%2F*%20MEMU_0%20-------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFB0080%2C%20%2F*%20PLLDIG%20--------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFA0400%2C%20%2F*%20PMCDIG%20--------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFC0000%2C%20%2F*%20SIUL2%20---------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFFB0100%2C%20%2F*%20SXOSC%20---------*%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%200xFFF9C000%20%2F*%20LPU_CTL%20-------*%2F%3C%2FP%3E%3COL%3E%3COL%3E%3CLI%3E%3CSTRONG%3ESample%201%3A%20(0xFFFB0000%2C%20offset%20-%200x4%2C%2032-bit%20protection)%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FOL%3E%3CP%3E%3CSTRONG%3ERegister%3C%2FSTRONG%3E%3A%20Matches%20ME_MCTL%20(mode%20control%20register%2C%2032-bit%20protection%2C%20offset%200x4%20per%20Table%2077-5).%3C%2FP%3E%3CP%3E%3CSTRONG%3EBase%20Address%3C%2FSTRONG%3E%3A%200xFFFB0000.%3C%2FP%3E%3CP%3E%3CSTRONG%3EProtection%20Size%3C%2FSTRONG%3E%3A%2032%20bits%20(all%20four%20bytes%20are%20protected).%3C%2FP%3E%3CP%3E%3CSTRONG%3ECalculations%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ENormal%20Address%3C%2FSTRONG%3E%3A%20base%20%2B%20offset%20%3D%200xFFFB0000%20%2B%200x4%20%3D%200xFFFB0004%3C%2FP%3E%3CP%3E%3CSTRONG%3EMirrored%20Address%20(Area%203)%3C%2FSTRONG%3E%3A%20base%20%2B%200x2000%20%2B%20offset%20%3D%200xFFFB0000%20%2B%200x2000%20%2B%200x4%20%3D%200xFFFB2004%3C%2FP%3E%3CP%3E%3CSTRONG%3ESoft%20Lock%20Bits%20Address%20(Area%204)%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3EOffset%20in%20Area%204%3A%20offset%2F4%20%3D%200x4%20%2F%204%20%3D%200x1.%3C%2FP%3E%3CP%3EAddress%3A%20base%20%2B%200x3800%20%2B%20offset%2F4%20%3D%200xFFFB0000%20%2B%200x3800%20%2B%200x1%20%3D%200xFFFB3801.%3C%2FP%3E%3CP%3EFor%20a%2032-bit%20register%2C%20all%20four%20SLBs%20(SLB0%E2%80%93SLB3)%20control%20the%20four%20bytes%20(e.g.%2C%200x4%20to%200x7).%3C%2FP%3E%3CP%3E%3CSTRONG%3ESoft%20Locking%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EOption%201%3A%20Write%20to%20Mirrored%20Address%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3EWrite%20a%2032-bit%20value%20to%200xFFFB2004%20(e.g.%2C%200x80000000%20to%20initiate%20a%20mode%20transition%3B%20refer%20to%20MC_ME%20chapter%20for%20valid%20values).%3C%2FP%3E%3CP%3EThis%20updates%20ME_MCTL%20at%200xFFFB0004%20and%20sets%20SLB0%E2%80%93SLB3%20in%20the%20SLBRn%20register%20at%200xFFFB3801.%3C%2FP%3E%3CP%3EExample%3A%20*(volatile%20uint32_t%20*)0xFFFB2004%20%3D%200x80000000%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EOption%202%3A%20Direct%20SLB%20Write%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3EWrite%20to%200xFFFB3801%20to%20set%20SLB0%E2%80%93SLB3.%3C%2FP%3E%3CP%3EWrite%200xFF%20(WE0%E2%80%93WE3%3D1%2C%20SLB0%E2%80%93SLB3%3D1)%20to%20lock%20all%20four%20bytes.%3C%2FP%3E%3CP%3EExample%3A%20*(volatile%20uint8_t%20*)0xFFFB3801%20%3D%200xFF%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EUnlocking%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWrite%200xF0%20to%200xFFFB3801%20(WE0%E2%80%93WE3%3D1%2C%20SLB0%E2%80%93SLB3%3D0)%20to%20clear%20SLB0%E2%80%93SLB3%2C%20unlocking%20the%20register.%3C%2FP%3E%3CP%3EExample%3A%20*(volatile%20uint8_t%20*)0xFFFB3801%20%3D%200xF0%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EHard%20Locking%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWrite%200x00000001%20to%200xFFFB3FFC%20to%20set%20GCR.HLB%2C%20locking%20SLBs%20until%20reset.%3C%2FP%3E%3CP%3EExample%3A%20*(volatile%20uint32_t%20*)0xFFFB3FFC%20%3D%200x00000001%3B%3C%2FP%3E%3CP%3EBelow%20in%20an%20example%20of%20register%20set%20whose%20all%204%20address%20set%20are%20enable%20and%20can%20be%20R%2FW.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_0-1752748012305.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_0-1752748012305.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348051i250A64751649A461%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_0-1752748012305.png%22%20alt%3D%22mayank22_0-1752748012305.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBelow%20in%20an%20example%20of%20register%20set%20whose%20Base%20%2B%20offset%20%26amp%3B%20Mirror%20addresses%20are%20enabled%20and%20can%20be%20R%2FW%20and%20other%20addresses%20can%E2%80%99t%20be%20set.%3C%2FP%3E%3CP%3EThis%20poses%20a%20serious%20issue%20as%20SLB%20bits%20confirms%20soft%20locking%20and%20GCR%20bits%20are%20set%20to%20implement%20hard%20lock.%3C%2FP%3E%3CP%3EFor%20All%20MC_CGM%20caped%20registers%20I%20can%20find%20the%20same%20problem.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_1-1752748012405.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_1-1752748012405.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348052i8577F080E8066B9B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_1-1752748012405.png%22%20alt%3D%22mayank22_1-1752748012405.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWhat%20could%20be%20the%20reason%20for%20these%20different%20behavior.%20Some%20addresses%20can%20be%20modified%20and%20changed%20other%20are%20reserved.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148959%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148959%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3Eif%20I%20Hard%20lock%20any%20one%20module%20%2C%20all%20other%20modules%20are%20getting%20hard%20locked%20automatically%2C%20which%20raises%20issue%20in%20Low%20power%20mode.%20since%20I%20do%20not%20want%20FXOSC%2FSXOSC%20and%20CMU%20to%20be%20hard%20locked%20here.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EThe%20register%20protection%20is%20applied%20Pbridge.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1754636157965.png%22%20style%3D%22width%3A%20656px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1754636157965.png%22%20style%3D%22width%3A%20656px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351516i706250D89AE5F564%2Fimage-dimensions%2F656x397%3Fv%3Dv2%22%20width%3D%22656%22%20height%3D%22397%22%20role%3D%22button%22%20title%3D%22petervlna_0-1754636157965.png%22%20alt%3D%22petervlna_0-1754636157965.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20on%20the%20PBRIDGE%20is%20the%20MC_CGM%20module%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1754636218800.png%22%20style%3D%22width%3A%20617px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1754636218800.png%22%20style%3D%22width%3A%20617px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351517iEA10126CA0059023%2Fimage-dimensions%2F617x125%3Fv%3Dv2%22%20width%3D%22617%22%20height%3D%22125%22%20role%3D%22button%22%20title%3D%22petervlna_1-1754636218800.png%22%20alt%3D%22petervlna_1-1754636218800.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWhich%20have%20then%20mapped%20peripherals%20under%20MC_CGM.%20Looks%20like%20you%20will%20need%20to%20use%20SLB%20instead%20of%20HLB%20to%20solve%20this.%3C%2FP%3E%0A%3CP%3EAs%20HLB%20will%20lock%20whole%20MC_CGM.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148218%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148218%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Peter%20%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20help.%20I%20can%20configure%20Soft%20lock%20and%20monitor%20SLB%20for%20all%20modules%20now.%3C%2FP%3E%3CP%3EI%20have%20another%20question%20regarding%20Hard%20Lock%20GCR%20bit.%20According%20to%20your%20explanation%20for%20all%20the%20MCCGM%20capped%20modules%20which%20are%26nbsp%3B%20CMU%2CFXOSC%2CSXOSC%2C%20PLLDIG%20and%20MCCGM%20shall%20have%20one%20common%20base%20address%20%2C%20that%20is%200xFFFB0000.%3C%2FP%3E%3CP%3Enow%20according%20to%20section%2077.1.1%20Register%20protection%20configuration%2C%20the%20%3CSTRONG%3ENOTE%3C%2FSTRONG%3E%20talks%20about%20operations%20in%20Low%20power%20mode.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_0-1754552830865.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_0-1754552830865.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351335iD3109A79A54CC80F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_0-1754552830865.png%22%20alt%3D%22mayank22_0-1754552830865.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAs%20I%20said%20%2C%20having%20the%20same%20base%20address%20%2C%20if%20I%20Hard%20lock%20any%20one%20module%20%2C%20all%20other%20modules%20are%20getting%20hard%20locked%20automatically%2C%20which%20raises%20issue%20in%20Low%20power%20mode.%20since%20I%20do%20not%20want%20FXOSC%2FSXOSC%20and%20CMU%20to%20be%20hard%20locked%20here.%3C%2FP%3E%3CP%3Eis%20there%20any%20way%20around%20this%20problem.%3C%2FP%3E%3CP%3EThanks%20and%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EHere%20is%20the%20result%20of%20SLB%20for%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECMU_LFREFR%2032%20-%26nbsp%3B%20addresses%20base%20and%20offset%3C%2FP%3E%0A%3CP%3EBase%20for%20CGM%20module%20is%26nbsp%3B%200xFFFB_0000%3C%2FP%3E%0A%3CP%3ECMU%20offset%20is%200x140%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1753947014813.png%22%20style%3D%22width%3A%20567px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1753947014813.png%22%20style%3D%22width%3A%20567px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350413iD7A98F999D478088%2Fimage-dimensions%2F567x380%3Fv%3Dv2%22%20width%3D%22567%22%20height%3D%22380%22%20role%3D%22button%22%20title%3D%22petervlna_0-1753947014813.png%22%20alt%3D%22petervlna_0-1753947014813.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ECGM%20LFREFR%20offset%20is%200x14C%20from%20module%20base%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1753947034996.png%22%20style%3D%22width%3A%20533px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1753947034996.png%22%20style%3D%22width%3A%20533px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350416iEEAB267DCBDCEFAF%2Fimage-dimensions%2F533x36%3Fv%3Dv2%22%20width%3D%22533%22%20height%3D%2236%22%20role%3D%22button%22%20title%3D%22petervlna_1-1753947034996.png%22%20alt%3D%22petervlna_1-1753947034996.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_4-1753947541951.png%22%20style%3D%22width%3A%20692px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_4-1753947541951.png%22%20style%3D%22width%3A%20692px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350423i29FF9F2539F3E293%2Fimage-dimensions%2F692x593%3Fv%3Dv2%22%20width%3D%22692%22%20height%3D%22593%22%20role%3D%22button%22%20title%3D%22petervlna_4-1753947541951.png%22%20alt%3D%22petervlna_4-1753947541951.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20set%20SLB%20for%26nbsp%3BCMU_LFREFR%20via%20write%20to%20mirror%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_3-1753947365013.png%22%20style%3D%22width%3A%20694px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_3-1753947365013.png%22%20style%3D%22width%3A%20694px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350420i0A4C544D39E180E1%2Fimage-dimensions%2F694x566%3Fv%3Dv2%22%20width%3D%22694%22%20height%3D%22566%22%20role%3D%22button%22%20title%3D%22petervlna_3-1753947365013.png%22%20alt%3D%22petervlna_3-1753947365013.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2142720%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142720%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%2C%20This%20is%20also%20not%20working%20.%3C%2FP%3E%3CDIV%3E%3CTABLE%20border%3D%221%22%20cellspacing%3D%220%22%20cellpadding%3D%220%22%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%3CP%3ECMU_LFREFR%2032%3C%2FP%3E%3C%2FTD%3E%3CTD%3E%3CP%3EOffset%200xCh%3C%2FP%3E%3C%2FTD%3E%3CTD%3E%3CP%3EProtected%20size%20-%2016%20(Bytes%202%20and%203)%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E0xFFFB0000%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3CSPAN%3E%20%2F*%20CMU----------*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBase%20address%20-0xFFFB000C%3C%2FP%3E%3CP%3EMirror%20address%20-0xFFFB200C%3C%2FP%3E%3CP%3ESLB%20-%200xFFFB3803%3C%2FP%3E%3CP%3EGCR%20-%200xFFFB3FFC%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_0-1753789974341.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_0-1753789974341.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350024i2CCCB24F8D7A4C4A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_0-1753789974341.png%22%20alt%3D%22mayank22_0-1753789974341.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2142377%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142377%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3ELooking%20at%20simple%20test%3A%26nbsp%3B%3CSTRONG%3EMC_CMU%20-%20CSR%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1753772600568.png%22%20style%3D%22width%3A%20688px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1753772600568.png%22%20style%3D%22width%3A%20688px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349910i94B96CB2D41D49FB%2Fimage-dimensions%2F688x518%3Fv%3Dv2%22%20width%3D%22688%22%20height%3D%22518%22%20role%3D%22button%22%20title%3D%22petervlna_0-1753772600568.png%22%20alt%3D%22petervlna_0-1753772600568.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EBase%20Address%20-%200xFFFB014C%20-%20This%20is%20offset%20address.%20Not%20Base.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EBase%20for%20MC_CMU%20module%20is%200xFFFB%200140.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EMirror%20Address%20-0xFFFB214C%26nbsp%3B%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EWould%20be%20base%20%2Boffset%20%2B%20mirror%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3ESLB%20-0xFFFB3943%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3ETake%20as%20base%20address%20of%20whole%20CGM%20as%20present%20in%20ref%20manual%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1753772881109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1753772881109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349911iB7BB0E09733E307F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_1-1753772881109.png%22%20alt%3D%22petervlna_1-1753772881109.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%20calculations%20are%3A%3C%2FP%3E%0A%3CP%3E0xFFFB0000%20%2B%203800%20%2B%20position%20of%20SLB%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EGCR%20-%200xFFFB413C%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3ESame%20as%20above%3C%2FP%3E%0A%3CP%3E0xFFFB0000%2B3FF0%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2141717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Peter%20%2C%20here%20are%20some%20samples%20where%20SLB%20and%20GCR%20are%20not%20working.%26nbsp%3B%20can%20You%20please%20check%20this%20addresses%20and%20confirm%20if%20they%20show%20different%20behavior.%20if%20not%20then%20what%20could%20be%20the%20problem%20with%20these%20modules%20%3F%3C%2FP%3E%3CP%3E%3CSTRONG%3E1.%20MC_CMU%20-%26nbsp%3B%200xFFFB0140%20-%20%26nbsp%3B%7B%20MODULE_CMU%2C%200xC%2CREG_SIZE_16%7D%2C%20CMU_LFREFR%3C%2FSTRONG%3E%3C%2FP%3E%3COL%3E%3COL%3E%3CLI%3EBase%20Address%20-%200xFFFB014C%3C%2FLI%3E%3CLI%3EMirror%20Address%20-0xFFFB214C%3C%2FLI%3E%3CLI%3ESLB%20-0xFFFB3943%3C%2FLI%3E%3CLI%3EGCR%20-%200xFFFB413C%3C%2FLI%3E%3C%2FOL%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_0-1753700010986.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_0-1753700010986.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349738i28D614B3FADD7F78%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_0-1753700010986.png%22%20alt%3D%22mayank22_0-1753700010986.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E2.%20MC_CMU%20-%26nbsp%3B%200xFFFB0140%26nbsp%3B%20%26nbsp%3B%7B%20MODULE_CMU%2C%200x18%2CREG_SIZE_32%7D%2C%20CMU_MDR%3C%2FSTRONG%3E%3C%2FP%3E%3COL%3E%3COL%3E%3CLI%3EBase%20Address%20-%200xFFFB0158%3C%2FLI%3E%3CLI%3EMirror%20Address%20-%200xFFFB2158%3C%2FLI%3E%3CLI%3ESLB%20-%200xFFFB3946%3C%2FLI%3E%3CLI%3EGCR%20-%200xFFFB413C%3C%2FLI%3E%3C%2FOL%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_1-1753700066515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_1-1753700066515.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349739i410E737E6C625C2D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_1-1753700066515.png%22%20alt%3D%22mayank22_1-1753700066515.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E3.%20PLLDIG%200xFFFB0080%20-%20%3C%2FSPAN%3E%3CSPAN%3E%7B%20MODULE_PLLDIG%2C%200x20%2C%20REG_SIZE_16%7D%2C%20PLLDIG_PLLCR%3C%2FSPAN%3E%3C%2FP%3E%3COL%3E%3COL%3E%3CLI%3E%3CSPAN%3EBase%20Address%20-%200xFFFB00A0%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EMirror%20Address%20-%200xFFFB20A0%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3ESLB%20-%200xFFFB0F5D%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EGCR%20-%200xFFFB407C%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FOL%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_4-1753700213295.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_4-1753700213295.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349742i6A990F5E7D2A8E8A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_4-1753700213295.png%22%20alt%3D%22mayank22_4-1753700213295.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E4.%20PLLDIG%200xFFFB0080%20-%20%3C%2FSPAN%3E%3CSPAN%3E%7B%20MODULE_PLLDIG%2C%200x28%2CREG_SIZE_32%7D%2C%20PLLDIG_PLLDV%3C%2FSPAN%3E%3C%2FP%3E%3COL%3E%3COL%3E%3CLI%3E%3CSPAN%3EBase%20Address%20-%200xFFFB00A8%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EMirror%20Address%20-%200xFFFB20A8%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3ESLB%20-%200xFFFB388A%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EGCR%20-%200xFFFB407C%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_5-1753700236791.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_5-1753700236791.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349743i93B95E43200B3947%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_5-1753700236791.png%22%20alt%3D%22mayank22_5-1753700236791.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E5.%20PMCDIG%200xFFFA0400%20-%20%3C%2FSPAN%3E%3CSPAN%3E%7B%20MODULE_PMCDIG%2C%200x0%2CREG_SIZE_32%7D%2C%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3COL%3E%3CLI%3E%3CSPAN%3EBase%20Address%20-%200xFFFA0400%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EMirror%20Address%20-%200xFFFA2400%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3ESLB%20-%200xFFFA3C00%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EGCR%20-%200xFFFA43FC%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_6-1753700259740.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_6-1753700259740.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349744iBD1D73C45A6752D6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_6-1753700259740.png%22%20alt%3D%22mayank22_6-1753700259740.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E6.%20PMCDIG%200xFFFA0400%20-%3C%2FSPAN%3E%3CSPAN%3E%7B%20MODULE_PMCDIG%2C%200x10%2CREG_SIZE_32%7D%2C%3C%2FSPAN%3E%3C%2FP%3E%3COL%3E%3COL%3E%3CLI%3E%3CSPAN%3EBase%20Address%20-%200xFFFA0410%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EMirror%20Address%20-%200xFFFA2410%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3ESLB%20-%200xFFFA3C04%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EGCR%20-%200xFFFA43FC%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayank22_7-1753700335502.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayank22_7-1753700335502.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349745iB90FBE11455C9A5C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayank22_7-1753700335502.png%22%20alt%3D%22mayank22_7-1753700335502.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2138200%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138200%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20have%20checked%20the%20PREG_PROT%20and%20it%20behave%20like%20described%20in%20reference%20manual%3A%3C%2FP%3E%0A%3CP%3Eon%20ME_CGM%20register%20SC_DC0%3A%3C%2FP%3E%0A%3CP%3EBase%20%3A%26nbsp%3B%200xFFFB0000%20%2B%20Offset%207E8%3C%2FP%3E%0A%3CP%3EMirror%3A%200xFFFB07E8%3C%2FP%3E%0A%3CP%3E%3D%20Base%20(0xFFFB0000)%20%2B%20Offset(7E8)%20%2B%20Mirror%20(0x2000)%3C%2FP%3E%0A%3CP%3EIn%20the%20example%20I%20have%20locked%20the%20SC_DC0%20form%20ME_CGM%20module%20by%20Soft%20lock.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1753172674705.png%22%20style%3D%22width%3A%20866px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1753172674705.png%22%20style%3D%22width%3A%20866px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348779i46AE5F42B8B3D3C7%2Fimage-dimensions%2F866x546%3Fv%3Dv2%22%20width%3D%22866%22%20height%3D%22546%22%20role%3D%22button%22%20title%3D%22petervlna_0-1753172674705.png%22%20alt%3D%22petervlna_0-1753172674705.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHere%20is%20the%20breakdown%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1753172729779.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1753172729779.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348781i326E34F1C5C3B462%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_1-1753172729779.png%22%20alt%3D%22petervlna_1-1753172729779.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EArea%204%3A%26nbsp%3B%20is%201.5%20KB%20and%20holds%20the%20Soft%20Lock%20Bits%2C%20%3CSTRONG%3Eone%20bit%20per%20byte%20in%20area%201%3C%2FSTRONG%3E.%20The%20four%20Soft%20Lock%20Bits%20associated%20with%20one%20module%20register%26nbsp%3B%20word%20are%20arranged%20at%20byte%20boundaries%20in%20the%20memory%20map.%20The%20Soft%20Lock%20Bit%20registers%20can%20be%20directly%20written%20using%20a%20bit%20mask.%3C%2FP%3E%0A%3CP%3ESo%20you%20have%20to%20divide%20the%20area%20of%20Soft%20lock%20bits%20by%208%20to%20see%20corresponding%20SLB%20settings.%3C%2FP%3E%0A%3CP%3EBase%20(of%20module)%20%2B%203800%20%2B%20(one%20bit%20per%20byte%20of%20area%201)%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_2-1753172994361.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_2-1753172994361.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348784i240EEAB8DF9D050A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_2-1753172994361.png%22%20alt%3D%22petervlna_2-1753172994361.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_3-1753173019294.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_3-1753173019294.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348785i304A6C887FC2D0D0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_3-1753173019294.png%22%20alt%3D%22petervlna_3-1753173019294.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFor%20Hard%20lock%20bit%20it%20is%20one%20for%20whole%20module.%3C%2FP%3E%0A%3CP%3EArea%205%20is%20512%20bytes%20large%20and%20holds%20the%20configuration%20bits%20of%20the%20protection%20mode.%26nbsp%3B%3CSTRONG%3EThere%20is%20one%20configuration%20hard%20lock%20bit%20per%20module%3C%2FSTRONG%3E%20that%20prevents%20all%20further%26nbsp%3Bmodifications%20to%20the%20Soft%20Lock%20Bits%20and%20can%20only%20be%20cleared%20by%20a%20system%20reset%20once%26nbsp%3Bset.%20The%20other%20bits%2C%20if%20set%2C%20will%20allow%20user%20access%20to%20the%20protected%20module.%3C%2FP%3E%0A%3CP%3EBase%20(of%20module)%200xFFFB0000%20%2B%20Offset%203FFC%3C%2FP%3E%0A%3CP%3EAs%20GCR%20is%20at%20end%20of%20area%205.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_5-1753173243793.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_5-1753173243793.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348790i784C0BF514985C8D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_5-1753173243793.png%22%20alt%3D%22petervlna_5-1753173243793.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_4-1753173057363.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_4-1753173057363.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348786i3FC76DED2F2D5723%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_4-1753173057363.png%22%20alt%3D%22petervlna_4-1753173057363.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136474%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Register%20Protection%20for%20MPC5746C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136474%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20will%20test%20it%20and%20come%20back%20to%20you%20ASAP.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E