1. A semiconductor device, comprising: a non-volatile storage unit including a data area divided into a plurality of blocks and a protection area storing protection information for prohibiting access block by block; a reading unit reading said protection information stored in said protection information area; and a control unit; wherein said control unit erases data stored in the corresponding block, before canceling access prohibition of any of the blocks.