Method for detecting stack space allowance on real time
A technology of real-time detection and stack space, applied in the field of real-time detection of space margin, can solve problems such as real-time detection of stack space margin, and achieve the effect of avoiding ring breakage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] This method is applied to engine control software, and the platform that this software runs is powerpc8270 processor, and the following example illustrates the specific implementation process of this method:
[0023] 1) In the link file of the control software, the space allocated for the stack is 32K bytes, the top position of the stack is 0x08208000, the bottom position of the stack is 0x08200000, the stack pointer is initialized to the top position of the stack, and the stack pointer access operation is a 4-byte operation, according to Step S1, initialize the stack space to 0x0E0E0E0E from the top of the stack to the bottom of the stack.
[0024] 2) According to step S2, configure the memory management mode as the block conversion mode (that is, BAT, realize BAT by setting the BAT register, there are 8 data BAT registers in total, and 8 data blocks can be set, and the size of each block is 128K-256M bytes ), initialize the DBAT2 register, that is, initialize a block ...
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