Configure alterable memory as read only, to avoid erasing