Topic : Option bytes read on STM32 using RFLASHER

Forum : ARM

Original Post
Post Information Post
June 21, 2017 - 8:31am
wonder cakes

hello,

I am using stm32L1, I programmed it to be read out protected and now I want to readout the option bytes value using RFlasher.

Does RFlasher has that option ?

Replies
Post Information Post
+1
0
-1
June 21, 2017 - 1:58pm
Lamjed Mtimet

Hi,

When the device is read out protected, you can't read the device.

This option isn't available in RFlasher.

Best regards,

Raisonance Support Team 

+1
0
-1
June 22, 2017 - 2:29pm
wonder cakes

Thank you for your response.

I want to readout only the option bytes value, not the flash content, can I do that with the RFlasher?

In addition, how can I update only the value of the option bytes without changing the flash contents? (for example from 0x11 to 0x22, when both represent memory protection)

Another problem I have is when I erase the memory and the read it (when readout protection disabled) the content of the flash is 0x00 instead of 0xff. Has anyone experienced such a problem before?

+1
0
-1
June 29, 2017 - 9:07am
Lamjed Mtimet

Hi,

When the MCU is read out protected you can't read it, even the value of option bytes.

You can change the value of the option byte by tow ways : 

  1. Chnage the STM32xxx_OptionBytes.c file values.
  2. Follow the RM indication section option bytes

Could you please give as more details about the problem with erasing flash ?

Best Regards

Raisonance Support Team