<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 25, 2014 at 3:39 PM, <span dir="ltr"><<a href="mailto:BM-2cWKH3wgq8zXX9eHfba16oTc8b61ead4Yq@bitmessage.ch" target="_blank">BM-2cWKH3wgq8zXX9eHfba16oTc8b61ead4Yq@bitmessage.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a limit to the number of times write protection can be<br>
disabled/enabled on a board, given that the hardware has been sufficiently<br>
prepped?</blockquote><div><br></div><div>I don't think there is a practical limit. The flash memory itself usually has maximum durability of 10's or 100's of thousands of erase/write cycles. I am not entirely sure about the status register where write protect info is stored, though.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If I use flashrom to disable write protection on a board, then do<br>
nothing, then enable write protection again, there shouldn't be any reason<br>
I can't just disable write protection again later, correct?<br></blockquote><div><br></div><div>Correct, assuming you do not make changes to the hardware. If /WP is asserted when the write-protect enable bit is set in the status register, then write-protection will be re-enabled. Then you will need to de-assert /WP before clearing the enable bit.</div>
</div><div><br></div>-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.