Skip to main content
Bill Dempsey
Associate III
Feb 9, 2018 12:13 AM UTC
Question

STM32F103RBT6 doesn't run after ROP option set

Posted on February 09, 2018 at 01:13

Hi

I am using ST-LINK to program a 

STM32F103RBT6.  I program it and the unit runs - then I set option bytes via the menu for readout protection and the unit stops.  Power cycle et al does not recover.  Are there other steps I need to do when using ROP?

If I reset ROP and reflash all is well...

Any hints?

Thanks

Bill

#rop-option-bytes-stm32f103rbt6
This topic has been closed for replies.

2 replies

STOne-32
ST Technical Moderator
Feb 10, 2018 9:45 PM UTC
Posted on February 10, 2018 at 22:45

Dear

Dempsey.Bill

‌

if you are using our Embedded Nucleo64 STLink, it is a known limitation. See page 6 of this manual

http://www.st.com/resource/en/user_manual/dm001058pdf

As SWD/Jtag is Always connected at power up, it is seen by the micro as an non wanted intrusion and the CPU halts.

you need to completely disconnect the ST-link from the stm32f103 target.

hope it helps you

Cheers,

STOne-32

Bill Dempsey
Associate III
Feb 12, 2018 12:00 AM UTC
Posted on February 12, 2018 at 00:00

Thank you!  (It is not a Nucleo board but is wired with SWD JTAG so the same issue is there.)  I had to remove the external STLINK and power cycle and sure enough it runs!