CN103020010A - Storage framework of embedded system - Google Patents

Storage framework of embedded system Download PDF

Info

Publication number
CN103020010A
CN103020010A CN2012105642759A CN201210564275A CN103020010A CN 103020010 A CN103020010 A CN 103020010A CN 2012105642759 A CN2012105642759 A CN 2012105642759A CN 201210564275 A CN201210564275 A CN 201210564275A CN 103020010 A CN103020010 A CN 103020010A
Authority
CN
China
Prior art keywords
embedded system
memory
data
storage
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105642759A
Other languages
Chinese (zh)
Inventor
张钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SINO WEALTH ELECTRONIC CO Ltd
Original Assignee
SINO WEALTH ELECTRONIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SINO WEALTH ELECTRONIC CO Ltd filed Critical SINO WEALTH ELECTRONIC CO Ltd
Priority to CN2012105642759A priority Critical patent/CN103020010A/en
Publication of CN103020010A publication Critical patent/CN103020010A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a storage framework of an embedded system. The framework comprises a master control chip which comprises a data memory; a central processing unit connected with the data memory; an ROM (read only memory) program memory connected with the central processing unit, wherein an operating program of the storage framework of the embedded system is stored; and an RAM (random access memory) configurable memory connected with the central processing unit for being configured to another data memory or another program memory according to demand. The framework provided by the invention mixes advantages of the ROM and RAM program memories, and configures code storage plans freely according to demand, and considers the cost and the expandability of function. Meanwhile, the framework provided by the invention has the advantages of low cost, expandable program space and convenience in maintenance and upgrade. Almost applications can be met by an elastic system framework.

Description

The embedded system storage architecture
Technical field
The present invention relates to the embedded system technical field of memory, specifically, the present invention relates to a kind of embedded system storage architecture.
Background technology
Embedded system is in cost consideration and need to selects suitable main control chip, and the main control chip of different storage architectures has larger difference at cost usually for different application.The program storage of main control chip is divided into the ROM(ROM (read-only memory) usually) type and RAM(random access memory) two kinds of types.The cost of ROM type scheme is low, but code revision and Function Extension are difficult, and the RAM type needs plug-in storer, and cost is higher but Function Extension and renewal are more convenient.
For the design of embedded system, the design of storage architecture is one of key factor, not only will consider concrete application, also needs to take into account the scheme cost.When system is relatively simple, when program and data are less, such as only having tens K bytes even less, usually adopt the scheme of main control chip internal memory, whole system cost compare economy; And complicated when systematic comparison, program and data are all larger, and such as reaching hundreds of K byte even take million (M) during as unit, main control chip can't built-in so large storer, and whole system then adopts the mode of plug-in storer at this moment.The present invention is mainly for the system that adopts the memory built-in scheme, and therefore following content all describes for this system without explanation.
Storer generally can be divided into two types: RAM and ROM.Fig. 1 is that a kind of program storage of prior art is the schematic block diagram of the embedded system storage architecture of RAM type, as shown in Figure 1, if program storage is the RAM type in this main control chip, then need a plug-in external memory storage, be used for when system powers on, from external memory storage in the middle of the program storage of loading procedure in the sheet, for the CPU(central processing unit) reading command and operation.This system is common in some small-sized digital products and uses, such as MP3, USB flash disk or SD card etc.And for the simpler application of some functions, then adopt program storage be ROM(except common mask ROM, also comprise OTP ROM and Flash ROM etc.) scheme of type.Fig. 2 is that a kind of program storage of prior art is the schematic block diagram of the embedded system storage architecture of ROM type, and as shown in Figure 2, system need not to reach cost-effective purpose by external memory storage.
The system of RAM type is because want plug-in storer, thus higher than ROM type system scheme cost, but that advantage is the program space is larger, it is stronger that function can be done, and modification of program and upgrading are convenient to problem correction and Function Extension than being easier to, and are fit to change more application; The system advantage of ROM type is that manufacturing cost is lower, but the program space is limited, and is difficult for revising, in case program has bug or partial function to need upgrading, can bring higher maintenance and maintenance cost, and suitable function is relatively simple, the less application of variation.
In addition, because data-carrier store generally only is used for storing the contents such as various variablees, storehouse, data volume requires not high, but the application that has need to be used Presentation Function, then may need plug-in data-carrier store, be used for storing the data such as character library, picture, as shown in Figure 3.
Summary of the invention
Technical matters to be solved by this invention provides a kind of embedded system storage architecture, merges ROM type and RAM type program storer advantage separately, and free configuration code storage scheme is as required taken into account the extendability of cost and function.
For solving the problems of the technologies described above, the invention provides a kind of embedded system storage architecture, comprise main control chip, comprise in the described main control chip:
Data-carrier store;
Central processing unit is connected with described data-carrier store;
The program storage of ROM type is connected with described central processing unit, is stored with the working procedure of described embedded system storage architecture;
The configurable memory of RAM type is connected with described central processing unit, is used for being configured to as required another data-carrier store or another program storage.
Alternatively, described embedded system storage architecture also comprises:
External memory storage is external in outside the described main control chip, is connected with described configurable memory with described data-carrier store respectively, is stored with extender and/or the data of described embedded system storage architecture.
Alternatively, when described configurable memory was configured to another program storage, then it read in the described configurable memory by the program code of external described external memory storage with described extender as the extending space of described program storage.
Alternatively, the described configurable memory Function Extension that the described program code realization in described external memory storage needs by timesharing and/or segmentation load store.
Alternatively, described load operation is realized by corresponding code control in the described program storage.
Alternatively, when described configurable memory was configured to another data-carrier store, then it read in described growth data in the described configurable memory by external described external memory storage as the extending space of described data-carrier store.
Alternatively, described configurable memory by timesharing and/or segmentation load store the described growth data in described external memory storage to satisfy the application demand when the data variable insufficient space.
Alternatively, described configurable memory is to be realized by the part of described data-carrier store.
Alternatively, described configurable memory is connected with described central processing unit by a configurable bus.
Alternatively, when described configurable memory is configured to another program storage, shares a program bus with described program storage and be connected with described central processing unit.
Compared with prior art, the present invention has the following advantages:
The present invention is directed to the relative merits of dissimilar embedded systems in the above-mentioned prior art, a kind of new storage architecture has been proposed, merged ROM type and RAM type memory advantage separately, free configuration code storage scheme is as required taken into account the extendability of cost and function.
The present invention have simultaneously low-cost low, the program space can be expanded and maintenance upgrade advantage easily, with a kind of flexible system architecture, satisfies simultaneously major applications.
Description of drawings
The above and other features of the present invention, character and advantage will become more obvious by the description below in conjunction with drawings and Examples, wherein:
Fig. 1 is that a kind of program storage of prior art is the schematic block diagram of the embedded system storage architecture of RAM type;
Fig. 2 is that a kind of program storage of prior art is the schematic block diagram of the embedded system storage architecture of ROM type;
Fig. 3 is the schematic block diagram of embedded system storage architecture of a kind of plug-in data-carrier store of prior art;
Fig. 4 is the schematic block diagram of the embedded system storage architecture of one embodiment of the invention;
Fig. 5 is the schematic block diagram that configurable memory and the program storage of another embodiment of the present invention shares the embedded system storage architecture that a program bus is connected with central processing unit.
Embodiment
The invention will be further described below in conjunction with specific embodiments and the drawings; set forth in the following description more details so that fully understand the present invention; but the present invention obviously can implement with the multiple alternate manner that is different from this description; those skilled in the art can do similar popularization, deduction according to practical situations in the situation of intension of the present invention, therefore should be with content constraints protection scope of the present invention of this specific embodiment.
Storage architecture of the present invention has increased a kind of configurable RAM type memory take the system (Fig. 2) of aforementioned ROM type memory as the basis.This configurable RAM storer can be configured to data-carrier store or program storage as required, and optional plug-in storer expands, to satisfy diversified application, as shown in Figure 4.
Fig. 4 is the schematic block diagram of the embedded system storage architecture of one embodiment of the invention, this embedded system storage architecture 400 comprises main control chip 401, comprises in this main control chip 401: the program storage 404 of data-carrier store 402, central processing unit 403, ROM type and the configurable memory 405 of RAM type.Wherein, central processing unit 403 is connected with data-carrier store 402; The program storage 404 of ROM type is connected with central processing unit 403, is stored with the working procedure of embedded system storage architecture 400.And the configurable memory 405 of RAM type is connected with central processing unit 403 by a configurable bus, is used for being configured to as required another data-carrier store or another program storage.
In the present embodiment, as shown in Figure 4, this embedded system storage architecture 400 can also comprise external memory storage 406.This external memory storage 406 can be external in outside the main control chip 401, is connected with configurable memory 405 with data-carrier store 402 respectively, is stored with extender and/or the growth data of this embedded system storage architecture 400.
In default situation, all programs leave in the middle of the program storage 404 of the built-in ROM type of main control chip 401, and completion system is used required all functions, and is similar with the scheme of Fig. 2.
When configurable memory 405 is configured to another program storage, then it is as the extending space of the program storage 404 of ROM type, this configurable memory 405 can pass through external external memory storage 406, the program code of extender is read in the middle of this configurable memory 405, and the system class of principle and Fig. 1 seemingly.But these configurable memory 405 capacity do not need very large, can by timesharing and/or segmentation load store externally the program code in the storer 406 realize the Function Extension that needs, concrete load operation then can be realized by corresponding code control in the program storage 404 of ROM type.Because most of Core Feature of program realizes that by the program in the ROM storer therefore required RAM memory span can significantly reduce, only need to satisfy and often change or the demand of expanded function gets final product.On ROM and two kinds of storer physics of RAM cost, both differ more than 1 times, so in fact adopt this scheme to compare with the scheme of Fig. 1, the cost of main control chip 401 quite even may be slightly excellent be specifically decided on the distribution condition of ROM and RAM amount of capacity.Add in the situation that needs equally external memory storage 406, the cost of whole system can think that difference is little.
When configurable memory 405 is configured to another data-carrier store, then it is as the extending space of data-carrier store 402, can growth data be read in the configurable memory 405 by external external memory storage 406, other data-carrier store 402 functions in its function and the main control chip 401 are identical.Simultaneously also support plug-in external memory storage 406 to expand, to satisfy the application demand when the data variable insufficient space.This moment, this configurable memory 405 also can be by timesharing and/or the segmentation load store growth data in the storer 406 externally, and is with satisfied application demand when the data variable insufficient space, similar with the application demand of Fig. 3.
In another embodiment, if with the part in the data-carrier store in Fig. 2 scheme, realize (not shown) in the mode of configurable memory, then because the storer total volume is constant, it is identical comparing cost with Fig. 2 scheme, but the extendability of using is obviously better.
When application scheme during the external data storer, if external memory storage 506 is not with full, then can adopt configurable memory 505 is configured to program storage, the expanded function program is left in the middle of the same external memory storage 506, be equivalent to scheme shown in Figure 5.
Fig. 5 is the schematic block diagram that main control chip 501 interior configurable memories 505 and the program storage 504 of another embodiment of the present invention shares the embedded system storage architecture 500 that program buss are connected with central processing unit 503.As shown in Figure 5, in the present embodiment, data-carrier store 502 with embodiment illustrated in fig. 4 in data-carrier store 402 and indifference.The key distinction is that when the configurable memory 505 of RAM type is configured to another program storage then it can share a program bus with program storage 504 and be connected with central processing unit 503 as the extending space of the program storage 504 of ROM type.
Those skilled in the art understand, and embedded system be in cost consideration and need to select suitable main control chip, and the main control chip of different storage architectures has larger difference at cost usually for different application.According to top elaboration as can be known, a kind of embedded storage architecture that the present invention proposes can allow same main control chip be applied in the middle of more the application, has cost and the flexible advantage of expansion concurrently.
The present invention is directed to the relative merits of dissimilar embedded systems in the above-mentioned prior art, a kind of new storage architecture has been proposed, merged ROM type and RAM type memory advantage separately, free configuration code storage scheme is as required taken into account the extendability of cost and function.
The present invention have simultaneously low-cost low, the program space can be expanded and maintenance upgrade advantage easily, with a kind of flexible system architecture, satisfies simultaneously major applications.
Although the present invention with preferred embodiment openly as above, it is not to limit the present invention, and any those skilled in the art can make possible change and modification without departing from the spirit and scope of the present invention.Therefore, every content that does not break away from technical solution of the present invention, all falls within the protection domain that claim of the present invention defines any modification, equivalent variations and modification that above embodiment does according to technical spirit of the present invention.

Claims (10)

1. an embedded system storage architecture (400) comprises main control chip (401), and described main control chip comprises in (401):
Data-carrier store (402);
Central processing unit (403) is connected with described data-carrier store (402);
The program storage of ROM type (404) is connected with described central processing unit (403), is stored with the working procedure of described embedded system storage architecture (400);
The configurable memory of RAM type (405) is connected with described central processing unit (403), is used for being configured to as required another data-carrier store or another program storage.
2. embedded system storage architecture according to claim 1 (400) is characterized in that, described embedded system storage architecture (400) also comprises:
External memory storage (406), be external in outside the described main control chip (401), be connected with described configurable memory (405) with described data-carrier store (402) respectively, be stored with extender and/or the data of described embedded system storage architecture (400).
3. embedded system storage architecture according to claim 2 (400), it is characterized in that, when described configurable memory (405) is configured to another program storage, then it reads in the described configurable memory (405) by the program code of external described external memory storage (406) with described extender as the extending space of described program storage (404).
4. embedded system storage architecture according to claim 3 (400), it is characterized in that described configurable memory (405) Function Extension that the described program code realization in described external memory storage (406) needs by timesharing and/or segmentation load store.
5. embedded system storage architecture according to claim 4 (400) is characterized in that, described load operation is realized by corresponding code control in the described program storage (404).
6. embedded system storage architecture according to claim 2 (400), it is characterized in that, when described configurable memory (405) is configured to another data-carrier store, then it reads in described growth data in the described configurable memory (405) by external described external memory storage (406) as the extending space of described data-carrier store (402).
7. embedded system storage architecture according to claim 6 (400), it is characterized in that, described configurable memory (405) by timesharing and/or segmentation load store the described growth data in described external memory storage (406) to satisfy the application demand when the data variable insufficient space.
8. embedded system storage architecture according to claim 6 (400) is characterized in that, described configurable memory (405) is to be realized by the part of described data-carrier store (402).
9. each described embedded system storage architecture (400) in 8 according to claim 1 is characterized in that described configurable memory (405) is connected with described central processing unit (403) by a configurable bus.
10. each described embedded system storage architecture (400) in 5 according to claim 1, it is characterized in that, when described configurable memory (405) is configured to another program storage, shares a program bus with described program storage (404) and be connected with described central processing unit (403).
CN2012105642759A 2012-12-21 2012-12-21 Storage framework of embedded system Pending CN103020010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105642759A CN103020010A (en) 2012-12-21 2012-12-21 Storage framework of embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105642759A CN103020010A (en) 2012-12-21 2012-12-21 Storage framework of embedded system

Publications (1)

Publication Number Publication Date
CN103020010A true CN103020010A (en) 2013-04-03

Family

ID=47968631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105642759A Pending CN103020010A (en) 2012-12-21 2012-12-21 Storage framework of embedded system

Country Status (1)

Country Link
CN (1) CN103020010A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808953A (en) * 2015-05-07 2015-07-29 广东欧珀移动通信有限公司 Device and method for controlling data storage and mobile terminal
CN107015827A (en) * 2017-03-20 2017-08-04 深圳市共进电子股份有限公司 The method of embedded system and its automatic running third party's extender
CN108132909A (en) * 2016-12-01 2018-06-08 深圳市三诺数字科技有限公司 A kind of processing method and processing device of DSP data storage
CN109460377A (en) * 2018-10-15 2019-03-12 浙江理工大学 A kind of data transmission device and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2836094Y (en) * 2005-06-08 2006-11-08 北京飞天诚信科技有限公司 Universal serial bus transmission device
CN2874631Y (en) * 2005-09-02 2007-02-28 上海瑞控信息技术有限公司 Easy extension embedded type core module
CN101122783A (en) * 2007-09-20 2008-02-13 成都方程式电子有限公司 SCM memory system
CN201145900Y (en) * 2008-01-15 2008-11-05 上海海尔集成电路有限公司 Microcontroller
CN101751277A (en) * 2008-12-16 2010-06-23 联发科技股份有限公司 Data processing and addressing methods for use in an electronic apparatus, as well as electronic apparatus
EP2216719A1 (en) * 2009-02-09 2010-08-11 Kabushiki Kaisha Toshiba Mobile electronic apparatus and data management method in mobile electronic apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2836094Y (en) * 2005-06-08 2006-11-08 北京飞天诚信科技有限公司 Universal serial bus transmission device
CN2874631Y (en) * 2005-09-02 2007-02-28 上海瑞控信息技术有限公司 Easy extension embedded type core module
CN101122783A (en) * 2007-09-20 2008-02-13 成都方程式电子有限公司 SCM memory system
CN201145900Y (en) * 2008-01-15 2008-11-05 上海海尔集成电路有限公司 Microcontroller
CN101751277A (en) * 2008-12-16 2010-06-23 联发科技股份有限公司 Data processing and addressing methods for use in an electronic apparatus, as well as electronic apparatus
EP2216719A1 (en) * 2009-02-09 2010-08-11 Kabushiki Kaisha Toshiba Mobile electronic apparatus and data management method in mobile electronic apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808953A (en) * 2015-05-07 2015-07-29 广东欧珀移动通信有限公司 Device and method for controlling data storage and mobile terminal
CN108132909A (en) * 2016-12-01 2018-06-08 深圳市三诺数字科技有限公司 A kind of processing method and processing device of DSP data storage
CN107015827A (en) * 2017-03-20 2017-08-04 深圳市共进电子股份有限公司 The method of embedded system and its automatic running third party's extender
CN107015827B (en) * 2017-03-20 2020-06-16 深圳市共进电子股份有限公司 Embedded system and method for automatically operating third-party extension program thereof
CN109460377A (en) * 2018-10-15 2019-03-12 浙江理工大学 A kind of data transmission device and method

Similar Documents

Publication Publication Date Title
US20200218446A1 (en) Method and apparatus for memory management
CN102693184B (en) Handling dynamic and static data for a system having a non-volatile memory
CN103034617B (en) For realizing buffer structure and the management method of the storage of reconfigurable system configuration information
TWI425355B (en) Data access method, memory controller, memory storage system
TWI510923B (en) Data storage device and flash memory control method
US20060087885A1 (en) Memory card, semiconductor device, and method of controlling memory card
CN104350546A (en) Row hammer refresh command
CN106227683B (en) Electronic equipment and information processing method
CN104699621A (en) Data storage device and flash memory control method
CN103020010A (en) Storage framework of embedded system
CN104463033A (en) Storage region setting method, storage region setting device and terminal
US20150248238A1 (en) Host-managed logical mass storage device using magnetic random access memory (mram)
CN103646063A (en) Satellite-borne high-speed file management system
CN102662913A (en) Method and MCU (microcontroller unit) chip for improving storage performance of MCU
CN108604211B (en) System and method for multiblock data transactions in a system-on-chip
CN103258173A (en) Wearable device, write-in system and write-in method for card
KR20180096660A (en) Validating memory device actions using reference values
CN103425436A (en) Terminal equipment and virtual storage unit management method
CN101446927B (en) Flash memory system and control method thereof
CN102855162B (en) A kind of data-updating method, data update system and memorizer
US20150046632A1 (en) Memory address management method, memory controller and memory storage device
US11474555B1 (en) Data-driven platform characteristics capture and discovery for hardware accelerators
WO2015089230A1 (en) Unified memory type aware storage module
US10261899B2 (en) Method, device and system for data processing using dedicated mapping between logical and physical addresses
CN202548824U (en) Monolithic FLASH module for starting multiple user programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403

RJ01 Rejection of invention patent application after publication