IP Library Granted Patent US 8,225,051
Granted Patent B2
US 8,225,051 · App. 11/902,111 · Granted Jul 17, 2012

Access control method for a memory, memory controller for controlling access to the memory, and data processing apparatus

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,225,051
App. No.
11/902,111
Granted
Jul 17, 2012
Kind
B2
Abstract

In an access control method for a memory including a first memory block and a second memory block, first flag is read from the first memory block, and second flag is read from the second memory block. A comparison between the first flag and the second flag is done, and then, the comparison result is outputted as a first calculation value. One of the first memory block and the second memory block is selected in response to the first calculation value to decide a valid memory block. In the access control method for the memory executed in the above-mentioned manner, even when the first flag and the second flag employed in order to determine the valid memory block are brought into any statuses, the valid memory block does not become indefinite, and a single memory block can be determined as the valid memory block.

Claims (12)

1. A data processing apparatus for performing write and read operations simultaneously, comprising: a memory that includes and second memory blocks, the first memory block having a first user data area, a first setting data area storing a first flag data, and the second memory block having a second user data area, a second setting data area storing a second flag data,

respectively; and a memory controller that compares between the first and second flag data to determine one of the first and second memory blocks for a write operation, wherein in a first state, the memory controller performs the write operation to write a first data to the second user data area and updates the second flag data to a first value, wherein in a second state following the first state, the memory controller performs the write operation to write a second data to the first user data area and updates the first flag data to the first value, wherein in a third state following the second state, the memory controller performs the write operation to write a third data to the second user data area based on a result of the comparing between the first and second flag data, and updates the second flag data to a second value, wherein in a fourth state following the third state, the memory controller performs the write operation to write a fourth data to the first user data area based on a result of the comparing between the first and second flag data, and updates the first flag data to the second value, and wherein in a fifth state following the fourth state, the memory controller performs the write operation to write a fifth data to the second user data area based on a result of the comparing between the first and second flag data, and updates the second flag data to the first value.

2. The data processing apparatus according to claim 1 , wherein the memory controller that compares between the first and second flag data to determine one of the first and second memory blocks as a valid memory block, wherein the memory controller determines the first memory block as the valid memory block and performs a read operation for the first memory block and a write operation for the second memory block, when the first flag data is in agreement with the second flag data, and wherein the memory controller determines the second memory block as the valid memory block and performs the read operation for the second memory block and the write operation for the first memory block, when the first flag data is different from the second flag data.

3. The data processing apparatus according to claim 2 ,

wherein a first security setting data and a first write parameter belong to the first setting data area, and a second security setting data and second write parameter belong to the second setting data area, and

wherein the memory controller controls the write operation based on a write parameter of the setting data area corresponding to the valid memory block, and the read operation based on a security setting data of the setting data area corresponding to the valid memory block.

4. The data processing apparatus according to claim 3 , wherein the first security setting data is stored in a first sector in which the first flag data is stored, and the second security setting data is stored in a second sector in which the second flag data are stored.

5. The data processing apparatus according to claim 1 ,

wherein the memory controller performs the write operation for one of the first and second memory blocks and the read operation for other of the first and second memory blocks, simultaneously, and

wherein the memory controller updates one of the first and second flag data corresponding to the memory block for which the write operation is performed and remains other of the first and second flag data.

6. The data processing apparatus according to claim 1 ,

wherein the memory controller performs the write operation for one of the first and second memory blocks and the read operation for other of the first and second memory blocks based on a XOR value between the first flag data and the second flag data.

Assignments (2)
CHANGE OF NAME Recorded Nov 2, 2010
From: NEC ELECTRONICS CORPORATION
To: RENESAS ELECTRONICS CORPORATION
Reel/Frame 025235/0233 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 19, 2007
From: KUGE, YUUJI
To: NEC ELECTRONICS CORPORATION
Reel/Frame 019907/0295 →