6 years, 9 months ago.

STM32 firmware protection

Is there a way in mbed to protect the firmware from being copied from a Nucleo board? I am using stm32L152 board. I need to send board and dont want the firmware copied and reproduced.

1 Answer

6 years, 9 months ago.

Yes, but you need use the STM32 ST-LINK software which is available from the ST website. You can still use the bin file from MBED to program with but you need to set the JTAG options for security protection via the menus in ST-LINK. Once you do program the part in that mode, your only option in the future is to do a full erase before trying to program again. Hopefully someone from ST can answer as well.

Accepted Answer