cancel
Showing results for 
Search instead for 
Did you mean: 

We have a problem downloading to the STM32L100 processor. It was programmed using STLink. Now we want to use STM32CubeProgrammer. Writing is not possible! It is not possible to change the RDP value either. If we use STLink, all is OK.

Entony
Associate II

 10:55:25 : ST-LINK SN : 0034003E3137510339383538

 10:55:25 : ST-LINK FW : V3J8M3B5S1

 10:55:25 : Board    : STLINK-V3MODS

 10:55:25 : Voltage   : 3.29V

 10:55:25 : SWD freq  : 8000 KHz

 10:55:25 : Connect mode: Under Reset

 10:55:25 : Reset mode : Software reset

 10:55:25 : Device ID  : 0x429

 10:55:25 : Revision ID : Rev Y

 10:55:25 : UPLOADING OPTION BYTES DATA ...

 10:55:25 :  Bank     : 0x00

 10:55:25 :  Address    : 0x40023c1c

 10:55:25 :  Size     : 136 Bytes

 10:55:25 :  Bank     : 0x01

 10:55:25 :  Address    : 0x1ff80000

 10:55:25 :  Size     : 136 Bytes

 10:55:25 : UPLOADING ...

 10:55:25 :  Size     : 1024 Bytes

 10:55:25 :  Address    : 0x8000000

 10:55:25 : Read progress:

 10:55:25 : Data read successfully

 10:55:25 : Time elapsed during the read operation is: 00:00:00.003

 10:55:51 : Option byte command : -ob RDP=187 

 10:55:51 : PROGRAMMING OPTION BYTES AREA ...

 10:55:51 :  Bank     : 0x01

 10:55:51 :  Address    : 0x1ff80000

 10:55:51 :  Size     : 136 Bytes

 10:55:51 : Reconnecting...

 10:55:52 : Reconnected !

 10:55:52 : UPLOADING OPTION BYTES DATA ...

 10:55:52 :  Bank     : 0x00

 10:55:52 :  Address    : 0x40023c1c

 10:55:52 :  Size     : 136 Bytes

 10:55:52 :  Bank     : 0x01

 10:55:52 :  Address    : 0x1ff80000

 10:55:52 :  Size     : 136 Bytes

 10:55:52 : OPTION BYTE PROGRAMMING VERIFICATION:

 10:55:52 : Error: Expected value for Option Byte "RDP": 0xBB, found: 0xAA

 10:55:52 : Error: Option Byte Programming failed

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @Entony​ and welcome to the Community :)

What Cubeprogrammer version are you used ? Please make sure to use the latest release.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

Hello @Entony​ and welcome to the Community :)

What Cubeprogrammer version are you used ? Please make sure to use the latest release.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Entony
Associate II

We had an old version, v2.8.0. Now we have a new version v2.9.0 and it works fine!

Thanks for the warning and I'm sorry, that should have occurred to me.;)