Interrupt nesting method for transplanting muCOS-II to ARM7
A nesting and mode technology, applied in the direction of program startup/switching, multi-program installation, etc., can solve problems such as program running errors, 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 accompanying drawings and examples.
[0036] In order to realize interrupt nesting and ensure the correctness of program operation when interrupt nesting occurs, the program design must solve two key problems:
[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 to be protected into the stack.
[0038] b. Protect the BL during the interrupt processing to prevent it from returning correctly when sub-functions are called during the interrupt.
[0039] Based on this, the present invention provides an interrupt nesting method transplanted from μCOS-II to ARM7. The basic idea is to change the processor mode before re-enabling the interrupt, and use the LR in the non-interrupt mode to record the BL instruction...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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