摘要 |
PROBLEM TO BE SOLVED: To provide a microcomputer, a memory device, and an unauthorized memory access detection method which have a high accuracy of detecting unauthorized access (high in security).SOLUTION: In a program area cell matrix 109, normal data is arranged and in a free area within the data area, trap data which is calculated from an offset used for detecting unauthorized access is arranged. An offset holding circuit 102 holds the offset used for detecting unauthorized access to a memory 10. An adder 103 performs operation using a read address, which is included in a read request to the memory 10, and the offset which is supplied from the offset holding circuit 102. A comparison unit 105 compares an operation result from the adder 103 with read data and detects unauthorized access to the memory 10 according to a comparison result. |