cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32N6 Core is locked

Brenden_PLUS
Associate III

So i'm following along with this video

https://www.youtube.com/watch?v=usQ_f6Swpok&list=PLTJzs51NlEICI7ARAHOyUqMhTgJE0UFv0&index=5

 

I have the same

* STM32N6-DK board

 

This is my build command for the GPIO_IO_Toggle application.

* /opt/st/stm32cubeide_1.18.1/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.linux64_2.2.100.202412061334/tools/bin/STM32_SigningTool_CLI -bin GPIO_IOToggle_FSBL.bin -nk -of 0x80000000 -t fsbl -o GPIO_IOToggle_FSBL-Trusted.bin -hv 2.3 -dump GPIO_IOToggle_FSBL-Trusted.bin

 

I tried this on 2 different boards and the same thing happened

 

Bellow is the results from trying to program it.

TheCoreIsLocked.png

 

My output from generating the signed bin

ProgrammingOutput.png

1 ACCEPTED SOLUTION

Accepted Solutions
Brenden_PLUS
Associate III

So i was programming

* 0x07000000

* 0x70000000 - which is the address i should have been programming

 

So after you program the flash.  It goes into being locked.  Then you just flip boot 1 back to 0 and hit reset and it should work

View solution in original post

2 REPLIES 2
Brenden_PLUS
Associate III

Well i guess my bigger question is this permanent or not?  If not how do i unlock it? 

 

I can still program it in Debug mode.  So boot 0 -> gnd and boot1 pin to -> high.  Just i can't seem to flash the chip.  So i can't test larger applications.  

Brenden_PLUS
Associate III

So i was programming

* 0x07000000

* 0x70000000 - which is the address i should have been programming

 

So after you program the flash.  It goes into being locked.  Then you just flip boot 1 back to 0 and hit reset and it should work