Skip to main content
AWalu.3
Associate II
July 6, 2022
Solved

Regarding STM32G431MBTx board flash memory read protection.

  • July 6, 2022
  • 2 replies
  • 1174 views

Good Morning,

I am using STM32 board with on board debugger. I can build the code as well as Flash the code in Flash memory but not able to read the code from flash memory.

I want to unlock the STM32 with J-link. Please guide me.

In STM32 Level 0, Level 1, Level 2 flash memory read/write protections are there.

How to check particular register value to verify level of protection.

and If it is in Level 1 how how bring back to level 0?

Please check the log messages in below attached image file(after flashing the code in flash memory).

I am not able to run the code in debug mode.

This topic has been closed for replies.
Best answer by Piranha

> I want to unlock the STM32 with J-link. Please guide me.

Apparently using the J-Link STM32 Unlock tool is hard to think of...

2 replies

Piranha
PiranhaBest answer
Principal III
July 6, 2022

> I want to unlock the STM32 with J-link. Please guide me.

Apparently using the J-Link STM32 Unlock tool is hard to think of...

AWalu.3
AWalu.3Author
Associate II
July 7, 2022

Thank You!

With the help of "J-Link STM32 Unlock" utility flash memory unlock issue get solved.