Unlock instant, AI-driven research and patent intelligence for your innovation.

Software starting method, device and equipment based on multi-core microcontroller and storage medium

A technology of micro-controller and startup device, which is applied in the direction of program control device, software testing/debugging, program loading/starting, etc. It can solve the problems of high coupling degree of functional modules, difficulty in risk analysis and evaluation of test coverage, etc., to reduce Coupling degree, ease of update and modification, and ease of post-maintenance effects

Pending Publication Date: 2022-07-12
WEICHAI POWER CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When adding functional modules to the software or changing the data in the current functional modules, it is necessary to redevelop relevant interfaces or add other strategies. If conflicts occur in the process of microcontroller resources, it is necessary to re-adjust partitions and re-plan codes and data. The specific segment size and starting address, this method results in a high degree of coupling of each functional module
[0003] Among them, the change of each functional module will lead to the change of the final software file, and the risk analysis and test coverage evaluation after the change of the software file will be extremely difficult

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software starting method, device and equipment based on multi-core microcontroller and storage medium
  • Software starting method, device and equipment based on multi-core microcontroller and storage medium
  • Software starting method, device and equipment based on multi-core microcontroller and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0049] like Figure 1 to Figure 5 As shown, the present invention discloses a software startup method based on a multi-core microcontroller, the method is applied to a multi-core microcontroller, and the multi-core microcontroller includes a master core and a plurality of slave cores; the method includes the following steps:

[0050] S10. Divide the software into a boot module and several functional modules, and specify the address segments of the boot module and several functional modules in the non-volatile flash memory respectively in the codes of the boot module and several functional ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a software starting method, device and equipment based on a multi-core microcontroller and a storage medium, and the method comprises the steps: dividing software into a guide module and a plurality of functional modules, and respectively appointing address fields of the guide module and the plurality of functional modules in codes of the guide module and the plurality of functional modules; electrifying and starting the system; the software is flashed into the nonvolatile flash memory; operating the guide module, starting the main core, and operating at least one functional module by the main core; main functions in the function modules are executed, then the multiple slave cores are started, and the multiple slave cores operate at least one function module corresponding to the multiple slave cores; calling a synchronous interface in the function module corresponding to the master core, and synchronizing the master core and the plurality of slave cores; and the master core and the slave cores all enter a periodic task for execution. According to the method, the plurality of functional modules in one piece of software can be subjected to core-by-core operation, later maintenance is facilitated, the software iteration period is shortened, and the product development period is shortened.

Description

technical field [0001] The present invention relates to the technical field of multi-core controllers, in particular to a software startup method, apparatus, device and storage medium based on a multi-core microcontroller. Background technique [0002] The software needs to be executed through the core to realize the operation. Traditionally, when compiling software, multiple functional modules are integrated into one software, and then the software is stored according to the address segments divided in the non-volatile flash memory and called by the core. When adding functional modules to the software or changing the data in the current functional modules, it is necessary to re-develop relevant interfaces or add other strategies. If there is a conflict of microcontroller resources in the process, it is necessary to re-adjust the partition and re-plan the code and data The specific segment size and start address of each function module are relatively high in this way. [0...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F11/36
CPCG06F9/44505G06F11/362
Inventor 孙潇潘广娟史家涛许晓梦李峰
Owner WEICHAI POWER CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More