Skip to main content
Visitor II
June 3, 2020
Question

How to disable Readout protection in the Steval-BCN002V1(BlueNRG) sensor?

  • June 3, 2020
  • 3 replies
  • 1253 views

Hello,

I'm trying to flash a program on Steval-BCN002V1(BlueNRG) sensor with NUCLEOf446RE using STM32CubeIDE. I'm facing an issue related to read out protection. I'm not able to disable the read out protection using STLink utility (Menu-> target->option bytes) .The error I get is "Could not set option bytes, please reset the target and retry".

I tried a different option to flash by connecting the 20 JTAG connection on the STEVAL-BCN002V1D(Host board) to ST-link v2 but failed.

Any suggestions/tips for what may have caused this error. Is there any other option to disable the read out protection apart from using ST link utility.

It would be great help.

Thanks in advance, 

Nitish

    This topic has been closed for replies.

    3 replies

    Super User
    June 3, 2020

    Seems to be a recurring theme.

    Try using STM32CubeProgrammer and/or upgrading ST-Link firmware to the latest.

    Also note sometimes you may get the error message even though the operation succeeded.

    You could also use the built-in bootloader to change option bytes.

    NSoni.1Author
    Visitor II
    June 4, 2020

    Can you explain in detain how to use built in bootloader.

    I have already tried upgrading firmware and ST cube programmer but that is not working.

    Super User
    June 4, 2020