Is it valid to set a "write only" lock bit configuration?

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The datasheet says this:

 

 

Missing from the chart, is the combination LB2=0, LB1=1. Logically this combination should mean that reading the flash contents cannot be read, but can be written. Is this a valid configuration, or will attempting to make this configuration result in failure to program the lock bits or other undefined behavior? (Asking because I don't feel like trying right now and potentially losing a chip. :) )

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Asking because I don't feel like trying right now and potentially losing a chip

You can't "lose" a chip through lockbits. A "chip erase" will always get you back to normal.