cancel
Showing results for 
Search instead for 
Did you mean: 

The core is locked up, how to unlock it?

MQi.1
Senior II

When I programming NUCLEO-L552ZE-Q with STM32CubeProg, it was prompted:

0693W000008yVOkQAM.jpg 

18:20:53 : Memory Programming ...
18:20:53 : Opening and parsing file: test_core_unlock.elf
18:20:53 : File : test_core_unlock.elf
18:20:53 : Size : 21336 Bytes
18:20:53 : Address : 0x08000000
18:20:53 : Erasing memory corresponding to segment 0:
18:20:53 : Bank2 Erasing internal memory sectors [1 2]
18:20:58 : Download in Progress:
18:20:58 : File download complete
18:20:58 : Time elapsed during download operation: 00:00:05.117
18:20:58 : Verifying ...
18:20:58 : Read progress:
18:20:58 : Error: Data mismatch found at address 0x08000000 (byte = 0xFF instead of 0x00)
18:20:58 : Error: Download verification failed
18:20:59 : RUNNING Program ...
18:20:59 : Address: : 0x08000000

How to unlock it?

I thought maybe it was because I have programmed a code with TrustZone before, since the serial LED was blinking continuously, so I made a code without TrustZone, I wanted to programmed it for flushing the code with TrustZone, but it was the same. Then I tried erase the whole memory, it was still the same.

2 REPLIES 2
Ozone
Lead

I don't know about the L552, but a core lock-up usually happens when a faulthandler produces a subsequent fault.

MQi.1
Senior II

I found from 0x08000000 to 0x080003f0 are all FFFFFFFF, how to change it to 0 ?