The present invention discloses a flash memory with a generalized interface for facilitating to develop multi-type flash memories and a method thereof, and the objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description. The present invention needs not be limited to the following embodiment.
Please refer to
In practice, the logical controller 42 further includes an access interface 421 for connecting with the external system 50, wherein the access interface 421 is one selected from a group consisting of a flash memory access interface, a USB port, a COM port and a print port. In this embodiment, the logical controller 42 could further include a programmable circuit device (not shown) for storing specifications of the physical memory 41 to achieve the purpose of simulating the interface and functions of different flash memories easily. Furthermore, the logical controller further includes a wear leveling module for programming the physical memory evenly or an anti-disturbance module for preventing write disturbance and keeping the validity of data in the physical memory. According to the present invention, the physical memory 41 is mapped to an entire continuous memory space and the user from the external system 50 need not manage any block of the physical memory 41. For example, referring to
Please refer to
Similarly, the logical controller 42 further includes an access interface 421 for connecting with the external system 50, wherein the access interface 421 is one selected from a group consisting of a flash memory access interface, a USB port, a COM port and a print port. In this embodiment, the logical controller 42 could further include a programmable circuit device (not shown) for storing specifications of the physical memory 41 to achieve the purpose of simulating the interface and functions of different flash memories easily. Furthermore, the logical controller further includes a wear leveling module for programming the physical memory evenly or an anti-disturbance module for preventing write disturbance and keeping the validity of data in the physical memory. According to the above embodiment, the present invention also discloses a method of the generalized flash memory for managing the flash memory and achieving the purpose of facilitating to develop multi-type flash memories easily. Please refer to
In practice, the request is a single operation for the physical memory and free of managing a block-mapping of physical memory. Preferably, the step d) further comprises step d1) of programming the physical memory evenly by a wear leveling module of the logical controller for keeping the physical memory as an entire continuous memory space, as in the procedure S841; and step d2) of keeping the validity of data in the physical memory via an anti-disturbance module of the logical controller for preventing write disturbance of the physical memory, as in the procedure S842. The present invention further discloses a logical controller with a programmable circuit device to store specifications of the physical memory for providing an identify function of the physical memory and communicating with the external system in a unified format, thereby facilitating to develop multi-type flash memories. Certainly, the physical memory can be a Random Access Memory (RAM). Moreover, the logical controller further includes an access interface for connecting with the external system; and the access interface can be one selected from a group consisting of a flash memory access interface, a USB port, a COM port and a print port.
In conclusion, the present invention provides a generalized flash memory, which provides a generalized interface for managing the flash memory, simplifies the entire structure and the managing process thereof, is capable of achieving the purpose of mapping the physical memory to an entire continuous memory space, and can rectify those drawbacks of the prior art and solve the above problems. The present invention further discloses a logical controller with a programmable circuit device to store specifications of the physical memory for providing an identify function of the physical memory and communicating with the external system in a unified format, thereby facilitating to develop multi-type flash memories. Meanwhile the prior art fail to disclose that. Accordingly, the present invention possesses many outstanding characteristics, effectively improves upon the drawbacks associated with the prior art in practice and application, produces practical and reliable products, bears novelty, and adds to economical utility value. Therefore, the present invention exhibits a great industrial value.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims, which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.