Microcontroller operation method and terminal
A technology of microcontroller and operation method, applied in the direction of program control design, program control device, instrument, etc., can solve other problems such as unsupported, large space, and inapplicability of large-scale operating systems, so as to improve the application rate and reduce the file size Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] Please refer to figure 1 , a method for operating a microcontroller, comprising the steps of:
[0070] S1. Receive a space allocation request, and allocate a corresponding independent storage space for the kernel program, application program, and device driver of the microcontroller according to the space allocation request;
[0071] Specifically, in this embodiment, the program structure of the microcontroller includes a kernel program, an application program, and a device driver, wherein the kernel program is developed based on the real-time operating system kernel, and realizes the creation, startup, scheduling, and upgrade of the application program and other operations, and provide communication interfaces for each application program; application program is an indispensable part of software design, and it is one or more programs that realize functional requirements, and it contains one or more tasks inside; device driver program is for The external devices of the...
Embodiment 2
[0093] The difference between this embodiment and Embodiment 1 is that it further defines how to manage all application programs through the kernel program:
[0094] Specifically, all application programs are scheduled through the scheduler of the kernel program;
[0095] Upgrade all the application programs by executing the upgrade program in the kernel program;
[0096] Please refer to image 3 , in this embodiment, the scheduler of the kernel program schedules and executes all application programs, and includes an upgrade task in the main program of the kernel program, and judges whether there is an application program that needs to be upgraded through the upgrade task, and if so, restricts other applications The program accesses all resources of the application program to be upgraded, stops the application program to be upgraded, and then upgrades and starts the application program to be upgraded, thereby realizing the management of the application program through the kerne...
Embodiment 3
[0098] Please refer to figure 2 , an operating terminal of a microcontroller, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the first embodiment or the first embodiment when executing the computer program Second, the various steps of the method of operating the microcontroller.
[0099] In summary, the operating method and terminal of a microcontroller provided by the present invention can allocate corresponding independent ROM and RAM storage spaces for the kernel program, application program and device driver of the microcontroller according to the space allocation request, and can It avoids the fact that each program runs in the same or overlapping space because there is no memory management unit; when starting the kernel program, it includes the initialization of the kernel program and the establishment of a synchronization mechanism to facilitate subsequent management of the applic...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com