Font Size: a A A

Research And Design Of ARM Debugger For Tracking Multiple Signals Synchronously

Posted on:2022-02-09Degree:MasterType:Thesis
Country:ChinaCandidate:C S HangFull Text:PDF
GTID:2518306479478434Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the development of semiconductor technology and ARM architecture,the performance of ARM architecture microcontrollers is increasing,and embedded systems with it as the core can be widely applied in the Internet of Things,industrial control and other fields.In specific application scenarios,a complete embedded system usually consists of two parts: software and hardware,and traditional debugging methods use a variety of highly targeted tools for joint debugging.This type of debugging method is relatively mature,but has disadvantages such as poor portability,high cost,and unsynchronized debugging information of software and hardware.In addition,the mainstream ARM debuggers in the domestic and foreign markets are only used for program downloading and debugging,and lack the function of debugging hardware circuits,which also brings inconvenience to the overall debugging and iteration of the system.Aiming at the deficiencies of existing embedded system debugging methods and debuggers,this thesis studies and designs a debugger for ARM-based microcontroller software and hardware joint debugging.These include hardware debuggers that can obtain circuit signals and processor trace data synchronously,and host computer debugging software that can visualize the trace data.In the overall design process,first of all,this thesis studies the ARM Core Sight debug and trace architecture,analyzes the processor trace data protocol,and proposes the idea of inserting circuit signal data into the trace data.On this basis,this thesis finally proposed a method for synchronous tracking of system software and hardware signals,so that the hardware signals and software data acquired by the debugger correspond to each other in time,and provide more accurate debugging information.In addition,this thesis implemented a hardware debugger with simultaneous tracking of multiple signals.By extending MDK and Visual Studio Code,a tracking data display environment that works with this debugger is designed.In summary,the debugger designed in this thesis reduces the equipment requirements in the debugging process of embedded systems.By cooperating with free host computer debugging software,the user's debugging cost is further reduced.The mechanism of synchronous tracking of software and hardware signals proposed in this thesis combines the software and hardware debugging information of embedded system effectively.This mechanism helps to improve the efficiency debugging and reduce the difficulty of debugging,and has certain practical value in embedded system development and teaching activities.
Keywords/Search Tags:synchronization, trace, multiple signals, ARM Cortex-M, debugger
PDF Full Text Request
Related items