Cannot access Memory (@0xe00ffff0,Read,Acc Size:4byte) on MK64 MCU

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

Cannot access Memory (@0xe00ffff0,Read,Acc Size:4byte) on MK64 MCU

1,180 Views
hr_gopalgowda
Contributor I

Hello every one 

I'm using 

IDE : Keil V5.25.2.0

using latest software package : Keil.Kinetis_K60_DFP.1.5.0

MCU : MK64FN1M0VLL12 microcontroller on which security as been enabled (i.e FSEC reg value 0x54).

hr_gopalgowda_1-1717507739582.png

 

When I try to Flash using Ulink2 Debugger I am getting following error : Cannot access Memory (@0x00ffff0,Read,Acc size: 4byte):

hr_gopalgowda_0-1717507180574.png

The MCU core is getting detected by the Kiel target.

When we enter load the program it asks for the Mass erase (As per the User guide the after Mass erase MCU loses its security) when click on Ok for Mass Erase the following error pop up.

I have tried Resetting MCU and Program the flash still same issue.

But when I tried J-tag the MCU core is not detecting in Keil target debug menu.

please help me to resolve this error, We lost many device due to this.

 

Thanks and Regards, 

Gopal Gowda.

 

 

0 Kudos
Reply
3 Replies

1,135 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, it would be possible to know the configuration used on the FREC? before this issue. There is a possibility that the MCU is locked.

Best regards,
Pavel

1,121 Views
hrGopalGowda
Contributor I

Hi Pavel,

Thank you for your support,

FSEC reg value is configured to 0x54 before observing this issue.

Thanks and Regards

Gopal Gowda H R

0 Kudos
Reply

1,083 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, if you have this configuration 0x54.

b00: MCU security status is secure
b01: factory access denied
b01: Mass erase enable
b01: Backdoor Key access disable

I recommend changing to the default state, doing a mass erase, and testing it again with a simple Blink LED if the flash is not successful the MCU may be and will stay in brick mode.

I know you explore these steps but review the thread maybe could help you.

Resurrecting ‘bricked’ NXP Kinetis Devices | MCU on Eclipse

Best regards,
Pavel