Check patentability & draft patents in minutes with Patsnap Eureka AI!

MCU and MCU debugging interface control method

A debug interface and control method technology, applied in information storage, static memory, instruments, etc., can solve the problem that the debug interface cannot be opened again, and achieve the effect of facilitating secondary development, avoiding theft, and protecting security

Active Publication Date: 2020-11-20
广芯微电子(广州)股份有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides an MCU and a method for controlling the debugging interface of the MCU, which can effectively solve the problem in the prior art that the debugging interface of the MCU cannot be opened again after being disabled

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • MCU and MCU debugging interface control method
  • MCU and MCU debugging interface control method
  • MCU and MCU debugging interface control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0043] see figure 2 , an embodiment of the present invention provides a kind of MCU, comprises storage module 10, access control module 11 and erasing sign module 12; Described storing module 10 contains debugging interface prohibition keyword; Described erasing sign module 12 contains erasing flag;

[0044] The access control module 11 is used for:

[0045] Judging whether the debugging interface prohibits keywords are written;

[0046] If the debugging interf...

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

PUM

No PUM Login to View More

Abstract

The invention discloses an MCU and an MCU debugging interface control method. The method comprises the following steps: judging whether a debugging interface forbidding keyword is written or not; if the debugging interface forbids that the keyword is not written in, allowing access initiated to the storage module; if the debugging interface forbids that the keyword is written in, judging a sourcefor initiating access to the storage module; if the source for initiating the access to the storage module is not the debugging interface, allowing the access initiated to the storage module; if the source for initiating the access to the storage module is the debugging interface and the erasing flag bit is valid, allowing the access initiated to the storage module, wherein the erasing flag bit effectively means that the storage module is subjected to chip passing erasing operation before access is initiated; by adopting the embodiment of the invention, the connectivity of the debugging interface is kept in the physical level, the embedded software of the chip can be subjected to secondary development, and the safety of data in the chip is protected.

Description

technical field [0001] The invention relates to the field of embedded development, in particular to an MCU and an MCU debugging interface control method. Background technique [0002] In the process of MCU (Micro Control Unit, Micro Control Unit) embedded development, due to the deviation of software engineers' understanding of chip hardware circuits, it is inevitable that some software errors will occur during the development process. The introduction of the debugging interface is a very effective means to solve this problem. At this stage, most MCU chips have a debugging interface for embedded engineers to download software programs and locate software errors during embedded software development. The online debugging interface of MCU mainly includes JTAG, SWD, OCDS single-line interface and so on. These interfaces have their own characteristics and are suitable for different software development and debugging scenarios. [0003] The debugging interface in the MCU is use...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G11C16/10G11C16/26
CPCG11C16/10G11C16/26
Inventor 王锐张良臣李建军莫军王亚波
Owner 广芯微电子(广州)股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More