Skip to main content
stst9184
Associate III
February 11, 2015
Question

READ PROTECTION can't be removed

  • February 11, 2015
  • 13 replies
  • 4239 views
Posted on February 11, 2015 at 15:44

We've got a new board and we can't flash them. I am sending an output from STVP

> Programming  OPTION BYTE area...

Removing *READ PROTECTION* option, this will ERASE all the device flash memory!

< OPTION BYTE programming completed.

> Verifying OPTION BYTE area...

Error : The device is protected

Operation aborted

Error : < OPTION BYTE verifying failed.

What can I do?

#damaged-flash #stvp #option-bytes
This topic has been closed for replies.

13 replies

Tesla DeLorean
Guru
February 12, 2015
Posted on February 12, 2015 at 18:26

What is ''System Loader''?

The ROM based loader in the STM32, it can be used to prod the devices internals, and provides a secondary method of access to the device.

https://www.google.com/search?q=stm32+system+loader

You might also want to try doing boundary scan of your board, or inspect/x-ray for solder shorts or other mundane manufacturing issues.

As Jack indicates there might be other causes, but I'd start with manufacturing, handling and process issues, and rule them out first.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
stst9184
stst9184Author
Associate III
February 12, 2015
Posted on February 12, 2015 at 20:02

Ok we have ULINK2, ULINKPro which are too expensive for boundary scans. What is recommended for it. is it enough this https://www.olimex.com/Products/ARM/JTAG/ARM-USB-TINY-H/ ? or better something else?

Tesla DeLorean
Guru
February 12, 2015
Posted on February 12, 2015 at 20:37

We're not using a commercial solution, we have in-house tools and hardware that tickle the JTAG scan chain directly. A printer port base Wiggler would probably suffice, or an STM32 SPI type arrangement, or GPIOs

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..