Method and system for concurrent updating of a...

Electrical computers and digital processing systems: memory – Address formation – Address mapping

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S154000, C711S168000

Reexamination Certificate

active

06738887

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a system and methodology to permit concurrent execution and update of a microcontroller's program memory. More specifically, the present invention provides a system and methodology for permitting a microcontroller to execute code from random access memory (RAM) while simultaneously allowing a microcontroller to update programmable read-only memory (PROM). A particular utility for the present invention is in microcontroller based applications, including general applicability to any process system capable of addressing data in two distinct memory units, for example, RAM and PROM.
2. Background of the Invention
A minimal microcontroller based system typically uses a microcontroller to execute a program which has been loaded into PROM such as flash electrically erasable programmable read-only memory (EEPROM). While simple and economical, a number of complications arise when there is a requirement to concurrently update the program memory while simultaneously executing out of the same memory. One traditional solution is to divide the program memory into “pages” and execute out of one page while updating another page, which works for some types of memory devices but not for others such as a typical flash EEPROM which must first be erased completely before it can be written. Another classical solution, and as shown in the system
100
of
FIG. 1
, is to divide available program space between volatile RAM
14
and PROM
16
in which the system microcontroller
12
copies its program from PROM to RAM from which it executes while updating PROM. However, as is well understood in the art, the amount of data that can be copied from PROM into RAM is limited by the number of address lines
18
(A
0
. . . A
15
) available to the microcontroller for accessing data in both PROM and RAM, since the microcontroller cannot uniquely separate (i.e., uniquely address) PROM from RAM. The system
100
also includes a memory bus
20
to permit read/write access to both PROM and RAM.
While both of the aforementioned techniques are common, both preclude using the complete microcontroller memory space for normal program code and also require complicated programming algorithms. In the first case, pages are wasted, and in the other case a copy of the code in RAM wastes space. For example, in the system and methodology disclosed in
FIG. 1
, if the RAM and PROM were both 64 k memory, only 32 k of program code from PROM could be copied into RAM since only 16 address lines (i.e., 64 k of address space addressed by address lines A
0
-A
15
) can be accessed by the microcontroller. Moreover, PROM cannot be updated while the controller is accessing code from RAM.
Accordingly, there exists a need to provide an economical solution to the aforementioned difficulties of the prior art to permit concurrent read/write operations from RAM while updating the PROM memory, to provide reset control of the microcontroller and to provide enable/disable control over RAM.
SUMMARY OF THE INVENTION
Broadly defined, the present invention provides a system for allocating and controlling memory read/write operations. In exemplary embodiments, the system includes a bridge circuit disposed between a microcontroller and a first memory (e.g., PROM). The bridge circuit and the microcontroller have read/write access to a second memory. The bridge circuit includes memory mapped registers adapted to map predetermined address locations from the second memory to the first memory to provide concurrent read/write access to the second memory and the first memory.
In system embodiments, the present invention also provides microcontroller system, that comprises a microcontroller, a memory bus, a first memory accessed by the microcontroller over the memory bus, a second memory accessed by the microcontroller over the memory bus, and a bridge circuit disposed between the microcontroller and the second memory. The bridge circuit includes memory mapped registers adapted to map predetermined address locations from the first memory to the second memory.
In method form, exemplary embodiments include a method for concurrent access to a microcontroller's memory. The method comprises the steps of defining a plurality of memory mapped registers; and mapping address locations from a first memory to a second memory to permit read or write operations to the second memory based on the address locations.
In still another exemplary method of the present invention, a method for concurrent access to a microcontroller's memory is provided that includes the steps of defining a plurality of memory mapped registers to map address locations from a first memory to a second memory; determining the value of an address location; and mapping read or write operations to the second memory if the address location matches the address location of the memory mapped registers.
It will be appreciated by those skilled in the art that although the following Detailed Description will proceed with reference being made to preferred embodiments and methods of use, the present invention is not intended to be limited to these preferred embodiments and methods of use. Rather, the present invention is intended to be limited only as set forth in the accompanying claims.
Other features and advantages of the present invention will become apparent as the following Detailed Description proceeds, and upon reference to the Drawings, wherein like numerals depict like parts, and wherein:


REFERENCES:
patent: 5544107 (1996-08-01), Hill
patent: 5640538 (1997-06-01), Dyer et al.
patent: 5640583 (1997-06-01), Assouad et al.
patent: 5655135 (1997-08-01), Sholander et al.
patent: 5684972 (1997-11-01), Hill et al.
patent: 5703584 (1997-12-01), Hill
patent: 5826093 (1998-10-01), Assouad et al.
patent: 5884027 (1999-03-01), Garbus et al.
patent: 5913045 (1999-06-01), Gillespie et al.
patent: 5963497 (1999-10-01), Holland
patent: 6016547 (2000-01-01), Ono
patent: 11189113 (1999-07-01), None
patent: 2000000606 (2000-01-01), None
patent: 2000000804 (2000-01-01), None
patent: 2000215277 (2000-08-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and system for concurrent updating of a... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and system for concurrent updating of a..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and system for concurrent updating of a... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3185453

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.