2018-02-08 04:13 PM
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?
ThanksBill#rop-option-bytes-stm32f103rbt62018-02-10 01:45 PM
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
2018-02-11 04:00 PM
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!