Circuit and Method For Managing Access to Memory
First Claim
1. An interface circuit for managing access to a memory shared between a first processor and a second processor, the interface circuit comprising:
- a timer circuit configured to limit a time interval for access to the memory by the first processor and the second processor, the timer circuit comprising a countdown time interval; and
a conflict manager circuit configured to;
determine that a first request to access the memory is originating from the first processor;
initialize the interface circuit to allow the first processor to access the memory and to prevent the second processor from accessing the memory;
receive a second request to access the memory by the second processor during an execution of a programming and erase subroutine by the first processor;
initiate a countdown time interval using the timer circuit during which the second processor is notified that the second request is accepted and the second request is placed in a state of suspension until an end of the countdown time interval; and
initialize the interface circuit to allow the second processor to access the memory based on determining the end of the countdown time interval and a successful suspension of the execution of the programming and erase subroutine by the first processor.
0 Assignments
0 Petitions
Accused Products
Abstract
A circuit, for managing operations for accessing a flash memory on the basis of requests received from a main CPU and from an auxiliary CPU, may be configured to: associate with the main CPU, a higher access priority to the flash memory than the access priority of the auxiliary CPU; command, in the absence of further requests for accessing the flash memory, the access to the flash memory for the main or auxiliary CPU which has initiated a first access request; verify, following a receipt of a second access request, the access priority associated with this second access request; suspend one of the first or the second access request having lower priority; and authorize the other of the first or the second access request having higher priority.
-
Citations
20 Claims
-
1. An interface circuit for managing access to a memory shared between a first processor and a second processor, the interface circuit comprising:
-
a timer circuit configured to limit a time interval for access to the memory by the first processor and the second processor, the timer circuit comprising a countdown time interval; and a conflict manager circuit configured to; determine that a first request to access the memory is originating from the first processor; initialize the interface circuit to allow the first processor to access the memory and to prevent the second processor from accessing the memory; receive a second request to access the memory by the second processor during an execution of a programming and erase subroutine by the first processor; initiate a countdown time interval using the timer circuit during which the second processor is notified that the second request is accepted and the second request is placed in a state of suspension until an end of the countdown time interval; and initialize the interface circuit to allow the second processor to access the memory based on determining the end of the countdown time interval and a successful suspension of the execution of the programming and erase subroutine by the first processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for managing access to a memory shared between a first processor and a second processor using an interface circuit, the method comprising:
-
determining that a first request to access the memory is originating from the first processor; initializing the interface circuit to allow the first processor to access the memory and to prevent the second processor from accessing the memory; receiving a second request from the second processor to access the memory during an execution of a programming and erase subroutine by the first processor; initiating a countdown time interval during which the second processor is notified that the second request is accepted and the second request is placed in a state of suspension until an end of the countdown time interval; and initializing the interface circuit to allow the second processor to access the memory based on determining the end of the countdown time interval and a successful suspension of the execution of the programming and erase subroutine by the first processor. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A method for managing access to a memory shared between a first processor and a second processor, the method comprising:
-
allowing the first processor to access the memory and preventing the second processor from accessing the memory; receiving a request from the second processor to access the memory; initiating a first countdown time interval in response to the request, an access to the memory by the second processor is suspended during the first countdown time interval; and initiating a second countdown time interval at an end of the first countdown time interval, the second processor allowed to access the memory and the first processor is prevented from accessing the memory during the second countdown time interval; and resuming access to the memory by the first processor at the end of the second countdown time interval, the second processor prevented from accessing the memory at the end of the second countdown time interval. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification