Black box apparatus of embedded system and realization method for black box apparatus

A technology of embedded system and implementation method, which is applied in the direction of instruments, electrical digital data processing, hardware monitoring, etc., can solve the problems of not being able to record the abnormal state of the embedded system, unfavorable analysis and investigation of the cause of the abnormality of the embedded system, etc., and achieve cost Low cost, small cost, fast positioning effect
CN108549591AActive Publication Date: 2018-09-18FENGHUO COMM SCI & TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FENGHUO COMM SCI & TECH CO LTD
Publication Date
2018-09-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a black box apparatus of an embedded system and a realization method for the black box apparatus. The black box apparatus comprises a sub-software running state monitoring module, an exception interrupt generation module and a black box; the sub-software running state monitoring module monitors running states of sub-software; the exception interrupt generation module is used for generating interrupts during exceptional interruption or reset of the sub-software; a black box comprises a PSoC, an SRAM, a nonvolatile memory and a power supply module; the SRAM stores the running states and reset information of the sub-software in real time; the PSoC interacts with a CPLD and a CPU of the embedded system; and when the embedded system is reset or crashes, all the stored information is read from the SRAM and stored in the nonvolatile memory, and related information is output from the nonvolatile memory according to an instruction. The black box apparatus can achieve recording and monitoring functions of the black box, and is convenient for checking and analyzing exception generation reasons of the embedded system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to an embedded system, in particular to a black box device of the embedded system and a realization method thereof. Background technique

[0002] At present, embedded systems are widely used in technical fields such as industrial control, intelligent home appliances, and intelligent management equipment.

[0003] Existing embedded systems, whose functions are mainly focused on intelligent control, generally do not have black box functions. Therefore, after an abnormality occurs in the embedded system, it does not have the ability to store abnormalities. Therefore, after the system restarts due to abnormalities, it cannot accurately Understand the specific reason for the exception. like:

[0004] After the system is restarted due to power failure or abnormal voltage, it is impossible to know exactly which power supply is abnormal;

[0005] After the CPU is reset and restarted, it is impossible to know exactly what type of reset ...

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