CN102036025B - SOC (System on Chip) chip and control method thereof - Google Patents
SOC (System on Chip) chip and control method thereof Download PDFInfo
- Publication number
- CN102036025B CN102036025B CN200910196364.0A CN200910196364A CN102036025B CN 102036025 B CN102036025 B CN 102036025B CN 200910196364 A CN200910196364 A CN 200910196364A CN 102036025 B CN102036025 B CN 102036025B
- Authority
- CN
- China
- Prior art keywords
- space
- main program
- application
- program
- chip
- 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.)
- Active
Links
Images
Abstract
The invention discloses an SOC (System on Chip) chip and a control method thereof, which is applied to an LCD TV (Liquid Crystal Display Television) system. The SOC chip comprises a microprocessor, a read-only memory, a random access memory, a controller and a nonvolatile memory, wherein the controller controls the operation of the whole chip; the read-only memory stores a boot program; the random access memory stores intermediate data; the nonvolatile memory stores a main program and various application programs; and the controller controls storage of data in the nonvolatile memory. The random access memory comprises a main program space and an application program space, the main program space is used for storing the main program, and the application program space is used for storing the application programs. By adopting the SOC architecture of the invention, functions of a plurality of application programs can be realized by successively calling the application programs in the nonvolatile memory to the random access memory for operation, and the effect of complex system control functions can be realized with a smaller system internal random access memory space.
Description
Technical field
The present invention relates to a kind of control chip, relate in particular to a kind of control chip and control method thereof of LCD TV system.
Background technology
General SOC (system on chip) system, due to the control area cost, internal system random access memory (RAM, random access memory) space is less, generally several KB, and, in the face of day by day complicated control system function, the ram space size can not meet for several KB the needs that system is controlled far away.
The SOC system that Fig. 1 is prior art, it comprises microprocessor 1, read-only memory 2 (ROM, readonly memory), random access memory 3.Microprocessor 1 is controlled the operation of whole system chip, and read-only memory 2 inside solidifications have boot or some application programs.When the SOC chip system is started working, read-only memory utilizes the whole device of boot initialization and loads some basic utilities to random access memory 3, and microprocessor 1 moves the application program in random access memory 3 and operates accordingly.But because random asccess memory 3 is less, can only store some simple application programs, cause the SOC chip system can only complete some simple systems and control, and can not carry out complex operations multiple or repeatedly.
Above-mentioned SOC System on Chip/SoC, can an external non-volatility memorizer as flash memory 4 (flash), for storage operation system or application program.But the SOC System on Chip/SoC of this external flash memory 4, generally need the internal system random access memory of larger space to come operation system or application program, still can not only pass through the less random access memory in internal system space and carry out the multiple or repeatedly operation of application program.
Summary of the invention
Problem to be solved by this invention is to provide a kind of and only needs than mini system internal random access memory space, and can complete SOC chip and the control method thereof of control of complex systems function.
The invention provides a kind of SOC System on Chip/SoC, be applied to LCD TV system, it comprises for storing the read-only memory of boot, the random access memory that is used for the intermediate storage of data, be used for controlling the microprocessor of the operation of whole chip, for storing the non-volatility memorizer of various programs, be used for controlling the controller of the access of data in non-volatility memorizer.Wherein, random asccess memory comprises main program space and application space, and the main program space is for storing main program, and application space is for storing application program.
The invention provides a kind of control method of SOC System on Chip/SoC, be applied to LCD TV system, the SOC chip comprises for storing the read-only memory of boot, for storing the random access memory of intermediate data, for controlling the microprocessor of whole chip operation, for storing the non-volatility memorizer of various function programs, and for controlling the controller of non-volatile data access.Wherein, random access memory comprises main program space and application space.The said procedure control method comprises step: the storage main program is in the main program space, and the storage application program is in application space.
Adopt SOC System on Chip/SoC framework of the present invention, by the application program of successively calling in non-volatility memorizer, in random access memory, move, can realize multiple function of application, and only need less internal system random access memory space can realize the effect of control of complex systems function.
The accompanying drawing explanation
Fig. 1 is prior art SOC chip system framework;
Fig. 2 is SOC chip system framework of the present invention;
Fig. 3 is main program working state figure of the present invention;
Fig. 4 is instruction execution flow figure of the present invention.
Embodiment
The problem of mentioning for the above-mentioned background technology, the invention provides a kind of SOC system architecture, is applied to LCD TV system.As shown in Figure 2, comprise microprocessor 1 (MCU, microcontrol nuit) in SOC System on Chip/SoC sheet, read-only memory 2, random access memory 3; And the external dma controller 4 of SOC System on Chip/SoC and flash memory 5.Wherein, random access memory 3 comprises main program space PRAM0 31 and application space PRAM1 32, stores main program and various application program in flash memory 5.
When the SOC System on Chip/SoC is started working, in read-only memory 2, the boot bootload of storage will the initialization whole system, and the main program that will be stored in flash memory 5 is transported to operation in main program space PRAM0 31 in random access memory 3.Below the operation principle of main program is simply introduced.
As shown in Figure 3, the main program rear open state that powers on, then carry out start-up command, comprises initialization directive and the setting of start OSD state.Then carry out the circulation of main program.Detect remote control and button, if be pressed without key, carry out the idle instruction execution---certainly detect signal and arrange.Be finished and inquire about again remote control and button.Be pressed if inquired key, respond the processing that this key is corresponding, obtain needing the instruction of carrying out, and carry out.After return to major cycle, continue inquiry remote control and button.If carried out shutdown command, the major cycle of will being shut down---constantly whether inquiry has key to press, if having, takes away the machine instruction operation, otherwise inquiry always.
Below introduce main program and carry out the detailed process of instruction.As shown in Figure 4, when main program will obtain key after remote control decoding or recognition by pressing keys, give command processing module, command processing module judges and sends instruction Instruct and state State according to current system mode, and call corresponding functional module and carry out this instruction Instruct, then call the OSD module, the OSD module shows according to current state State.As the user will regulate volume, press right button, command processing module obtains key=IR_right, according to current OSD state (without the OSD state time be 1000), send instruction C_chg_volume, state becomes 3000, and call audio-frequency module, audio-frequency module changes total variable N_volume.Then call the OSD module, OSD gets variable N_volume according to 3000 states and shows.
Here further emphasize, main program is transferred command processing module, functional module, and three modules of OSD module, Each performs its own functions to make these three modules.And functional module comprises a lot of modules, as picture module, sound module, high frequency head module etc.Command processing module obtains Instruct and State according to key, and main program is according to this two variablees, Selection and call functional module and OSD module.Utilize State to judge whether calling functional modules, utilize Instruct to judge and call that functional module.When as needs, regulating volume, the sound module in the first calling functional modules of main program, then call the OSD module.As being only opens main menu, only call the effect that the OSD module plays demonstration and get final product.Each functional module, according to the operation that oneself has been called and has been responded with Instruct, as changed the hardware register of volume, changes the value of the volume variable that needs OSD to show simultaneously.OSD, according to status display interface, shows current volume according to the value of volume variable.
In the process of above-mentioned adjusting volume, main program is wanted respectively call instruction processing module, corresponding functional module and OSD module.But, because the space of internal system random access memory 3 is less, be not enough to store application program corresponding to each module.So, when main program response button carries out volume adjusting, the command processing module application program that at first main program will be stored in flash memory 5 through dma controller 4 is carried to operation in the application space PRAM1 32 in random asccess memory 3, and the command processing module application program will be sent corresponding instruction Instruct and state State; The corresponding functional module application program that then main program will be stored in flash memory 5 through dma controller 4 again is carried to operation in application space PRAM1 32, carries out corresponding Instruct instruction; Then the OSD control module application program that main program will be stored in flash memory 5 through dma controller 4 again is carried to operation in application space PRAM1 32, carries out corresponding State state and shows.
As can be seen here, main program moves in random access memory 3 by the application program of repeatedly calling in flash memory 5, can realize various function of application, and without larger random access memory space.In the reality application, read-only memory 2 space sizes are 0.5KB, and main program space PRAM0 31 space sizes are 3.5KB, and the application space size is 4KB.For whole SOC System on Chip/SoC, only need the sheet internal program space of 8KB, complete the function that has about 120KB program size altogether, and these functions are enough to meet the functional requirement of LCD TV system.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.
Claims (7)
1. a SOC chip, be applied to LCD TV system, comprises:
Read-only memory, for storing boot;
Random access memory, for the intermediate storage of data;
Microprocessor, be used for controlling the operation of whole chip;
Non-volatility memorizer, for storing various programs;
Controller, be used for controlling the access of data in non-volatility memorizer;
It is characterized in that:
Described random access memory comprises main program space and application space, and wherein the main program space is for storing main program, and application space is for storing application program;
The application program that described main program will be stored in the non-volatile holographic storage space by controller repeatedly is carried to application space and moves this application program, and described boot is carried to the main program in non-volatility memorizer the main program space and moves this main program.
2. SOC chip as claimed in claim 1, it is characterized in that: application program of the each control store of described main program is in application space.
3. SOC chip as claimed in claim 1 is characterized in that: described non-volatility memorizer is for storing main program and various application program.
4. the control method of a SOC chip program, be applied to LCD TV system, described SOC chip comprises for storing the read-only memory of boot, for storing the random access memory of intermediate data, wherein said random access memory comprises main program space and application space, for controlling the microprocessor of whole chip operation, for storing the non-volatility memorizer of various function programs, and for controlling the controller of non-volatile data access, it is characterized in that, described control method comprises step:
The storage main program is also operation in the main program space;
The storage application program is in application space operation;
Described storage main program refers to the main program in non-volatility memorizer is carried to the main program space in the main program space, and described storage application program refers to the application program be stored in the non-volatile holographic storage space repeatedly is carried to application space in application space.
5. control method as claimed in claim 4, it is characterized in that: the application program that described main program will be stored in the non-volatile holographic storage space by controller is carried to application space.
6. control method as claimed in claim 5 is characterized in that: the each control of described main program is carried to application space by an application program.
7. control method as claimed in claim 4 is characterized in that: described non-volatility memorizer is for storing main program and various function program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910196364.0A CN102036025B (en) | 2009-09-25 | 2009-09-25 | SOC (System on Chip) chip and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910196364.0A CN102036025B (en) | 2009-09-25 | 2009-09-25 | SOC (System on Chip) chip and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102036025A CN102036025A (en) | 2011-04-27 |
CN102036025B true CN102036025B (en) | 2014-01-08 |
Family
ID=43888272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910196364.0A Active CN102036025B (en) | 2009-09-25 | 2009-09-25 | SOC (System on Chip) chip and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102036025B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796771B (en) * | 2014-01-22 | 2018-04-06 | 中国电信股份有限公司 | Control method for down loading and system and downloading guides module |
CN105704514B (en) * | 2014-11-27 | 2018-06-29 | 中国电信股份有限公司 | It is used to implement method, set-top box and the system of secure payment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101004719A (en) * | 2006-01-12 | 2007-07-25 | 联发科技股份有限公司 | Embedded system and method for increasing embedded system security |
CN101004798A (en) * | 2006-12-30 | 2007-07-25 | 凤凰微电子(中国)有限公司 | Smart card of supporting high performance computing, large capacity storage, high-speed transmission, and new type application |
CN201041677Y (en) * | 2007-02-05 | 2008-03-26 | 凤凰微电子(中国)有限公司 | Intelligent card supporting high-performance computing, large-capacity storage and high-speed transmission |
CN101309352A (en) * | 2008-04-16 | 2008-11-19 | 深圳创维-Rgb电子有限公司 | Network television |
-
2009
- 2009-09-25 CN CN200910196364.0A patent/CN102036025B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101004719A (en) * | 2006-01-12 | 2007-07-25 | 联发科技股份有限公司 | Embedded system and method for increasing embedded system security |
CN101004798A (en) * | 2006-12-30 | 2007-07-25 | 凤凰微电子(中国)有限公司 | Smart card of supporting high performance computing, large capacity storage, high-speed transmission, and new type application |
CN201041677Y (en) * | 2007-02-05 | 2008-03-26 | 凤凰微电子(中国)有限公司 | Intelligent card supporting high-performance computing, large-capacity storage and high-speed transmission |
CN101309352A (en) * | 2008-04-16 | 2008-11-19 | 深圳创维-Rgb电子有限公司 | Network television |
Also Published As
Publication number | Publication date |
---|---|
CN102036025A (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102117841B1 (en) | Electronic device and control method thereof | |
JP6554184B2 (en) | Soft processor based image signal source system and image signal processing method | |
US9619241B2 (en) | Display device and control method of displaying a predetermined snapshot image | |
US20160328149A1 (en) | Display screen-based physical button simulation method and electronic device | |
CN109240121B (en) | Control method of household appliance, air conditioner and storage medium | |
CN109539466B (en) | Control method of household appliance, air conditioner and storage medium | |
CN105824379A (en) | Electronic equipment | |
WO2019179493A1 (en) | Application processor and mobile terminal | |
CN103218977A (en) | Method for adjusting screen display of mobile terminal and mobile terminal thereof | |
CN105335178A (en) | Startup control method and apparatus | |
CN102036025B (en) | SOC (System on Chip) chip and control method thereof | |
CN103106088A (en) | Hardware and firmware independently updating system and method thereof | |
CN105116991A (en) | Terminal power saving method and apparatus | |
US20150317185A1 (en) | Method for switching operating system and electronic device using the method | |
CN102880479A (en) | Method and device for remotely modifying basic input output system (BIOS) attribute parameters | |
US20230111529A1 (en) | Home appliance system, mobile apparatus and method for controlling home appliances | |
CN102880390A (en) | Method and system for mobile terminal to enter into sleep mode | |
CN206515683U (en) | Programmable human-computer interface system | |
KR102143521B1 (en) | Non-volatile Memory System, Memory Card Having The Same and Operating Method of Non-volatile Memory System | |
WO2013136997A1 (en) | Program control device, mother board, and information processing device | |
KR200402516Y1 (en) | Release dip switch | |
CN202837937U (en) | Multifunctional, intelligent and remote timing-sequence power supply control device | |
JPH10268914A (en) | Programmable controller | |
TWI417761B (en) | Computer system and the game processing method thereof | |
TW201904233A (en) | Home appliance system with script function and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 214135 -6, Linghu Avenue, Wuxi Taihu international science and Technology Park, Wuxi, Jiangsu, China, 180 Patentee after: China Resources micro integrated circuit (Wuxi) Co., Ltd Address before: 301 room 214000, information industry zone, Wuxi New District, Jiangsu Patentee before: WUXI CHINA RESOURCES SEMICO Co.,Ltd. |
|
CP03 | Change of name, title or address |