Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 months ago.
flash memory not writable
maybe this question will be listed twice but i can not see it listed since the first time i posted it (the forum has some problem at the moment).
Is there a possibility to make the flash memory (the memory where the firmware resides) not writable?
1 Answer
8 years, 10 months ago.
Yes, generally that is possible. How exactly depends on your device.
Hi Erik. Thanks but I have no idea of the theoretical possibilities that exists. Can you list some? What if i have for example a nucleo board. How to do it there?
posted by 27 Jan 2016Normally you will use an offline compiler for this, which has somewhere options to enable CRP (code-read-protection, where also the write protection exists. Although do remember if you flashed the wrong thing this permanently kills your MCU. For most products just implementing the read protection is sufficient: It allows you to prevent others from checking out your firmware, but it does not prevent firmware updates.
posted by 27 Jan 2016