what is m_flash_config in linker description file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

what is m_flash_config in linker description file

1,208件の閲覧回数
momo12
Contributor III

What is this section about?

  m_flash_config        (RX)  : ORIGIN = 0x00000400, LENGTH = 0x00000010

readout protection? Apparently during development of a bootloader I wrote to this adress and now my s32k is locked.

How can I unlock it?

Where in the documentation can I read details about this?

Thx

0 件の賞賛
2 返答(返信)

845件の閲覧回数
lee_ys
Contributor I

I am going through the same situation.(m_flash_config        (RX)  : ORIGIN = 0x00000400, LENGTH = 0x00000010

readout protection? Apparently during development of a bootloader I wrote to this adress and now my s32k is locked.)

 

answer : (If the MCU is secure and mass erase is disabled, the MCU is bricked, unfortunately.)

What is the more detailed situation for the above answer?

0 件の賞賛

987件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
Please have a look at Section 36.4.1 Flash configuration field description in the S32K1xx RM, rev.8

pastedImage_1.png

And the Flash Security Register (FSEC) description, Section 36.4.4.1.4.

The FSEC register is loaded from the Flash Configuration Field out of reset.

If the MCU is secure and mass erase is disabled, the MCU is bricked, unfortunately.

 

In S32DS, the field can be configured in startup_S32K144.S file:

pastedImage_2.png

Regards,

Daniel

0 件の賞賛