Method for diagnosing no response of equipment in embedded system
A technology of embedded systems and diagnostic equipment, applied in the direction of response error generation, instruments, electrical digital data processing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
specific Embodiment approach
[0076] (1), save the running position of TASK
[0077] In the RTOS system, there is a concept of tasks, each task is responsible for its own affairs, and from a macro point of view, these tasks are all parallel, for the diagnosis of these tasks, the general method is to print the status of the current task, priority Level, stack and other information.
[0078] In this way, first add a PC member in the definition of the TCB task control block to save the last running position of TASK, and set the pc member as tsk_pc. After adding the tsk_pc member in the TCB, you need to set the actual pc pointer to Save to tsk_pc of TCB. Since the device uses the Cortex-M4 core, according to the characteristics of the M4 core, the first action in response to an exception is to automatically save the necessary parts of the scene: sequentially save xPSR, PC, LR, R12 and R3-R0 is automatically pushed into the appropriate stack by the hardware, and the PC value can be taken out before the context...
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