Interrupt nesting method for transplanting muCOS-II to ARM7
A nested and patterned technology, applied in the direction of program startup/switching, multi-program installation, etc., can solve problems such as program running errors and sub-functions cannot return correctly, and achieve the effect of avoiding errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The present invention will be described in detail below with reference to the drawings and embodiments.
[0036] In order to realize interrupt nesting and ensure the correctness of program operation when interrupt nesting occurs, program design must solve two key issues:
[0037] a. Before the next level interrupt is enabled, the site information of the previous level interrupt must be protected. The site information mainly includes LR, CPSR, R0~Rn. This problem is easier to implement, just push the information that needs to be protected into the stack.
[0038] b. Protect BL during interrupt processing to prevent it from failing to return correctly when calling sub-functions in interrupts.
[0039] Based on this, the present invention provides an interrupt nesting method ported from μCOS-II to ARM7. The basic idea is to change the processor mode before re-enabling the interrupt, and use the non-interrupt mode LR to record the BL instruction used Return address, so that when a...
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