cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103RBT6 doesn't run after ROP option set

Bill Dempsey
Senior
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
2 REPLIES 2
STOne-32
ST Employee
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

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!