Debugging Method Overview of ARM Development

xiaoxiao2021-03-06  15

When the user uses the ARM processor to develop embedded systems, select the appropriate development tool to speed up development schedule, save development costs. Therefore, a set of integrated development environments (IDEs) containing editing software, compiling software, assembly software, link software, debugging software, engineering management, and function libraries, is essential, as for embedded real-time operating systems, evaluation boards, etc. Other development tools can be selected according to the size of the application software and the development plan. Developing ARM-based applications, including editing, compiling, compiling, links, etc., including editing, compiling, assembly, links, etc. You can complete them on the PC. The debugging work needs to be completed with other modules or products. The current common debugging method has the following Several: 1, the instruction set simulator partially integrated development environment provides the instruction set simulator, which is convenient for users to complete some simple debugging work on the PC, but because the instruction set simulator is very different from the real hardware environment, even Programs that users use instruction set simulator debugging may not be able to run in real hardware environments, and users must eventually complete the development of the entire application on the hardware platform. 2, resident monitor software resident monitoring software (Resident Monitors) is a program running on the target board, the debugging software in the integrated development environment passes the Ethernet port, parallel port, serial port and other communication ports and resident monitoring software Make interaction, the debugging software release command notifies the execution of the monitoring software control program, reads and writes memory, reads and writes registers, and sets breakpoints. Resident monitoring software is a relatively low and effective debugging method without any other hardware debugging and simulation equipment. ARM's Angel is the software, most embedded real-time operating systems are also commissioned by this class software. Different are in the embedded real-time operating system, resident monitoring software is existing as a task as an operating system. The inconvenience of residing monitoring software is that it is relatively high for hardware devices. It is generally developed after hardware stability, and it takes up a part of the resources on the target board, and cannot fully simulate the full speed of the program. So it is not very suitable for some strict conditions. 3, JTAG emulator JTAG emulator is also known as JTAG debugger, is an apparatus for debugging through the JTAG boundary scan port of the ARM chip. The JTAG emulator is relatively inexpensive, and the connection is convenient, and through the existing JTAG boundary scanning port with the ARM CPU nuclear communication, it belongs to the complete non-insert (ie, no single resource) debugging, it does not require the target memory, not occupying any port of the target system These are necessary to reside the monitoring software. In addition, since JTAG debugging target procedures are performed on the target board, the simulation is closer to the target hardware, therefore, many interface issues, such as high frequency operation restrictions, AC and DC parameters do not match, and the length of the wire is minimized. . Developing a JTAG emulator using an integrated development environment is currently using the most commissioning. 4. Online emulator online emulator uses the simulation head to completely replace the CPU on the target board, fully simulate the behavior of the ARM chip, and provide a more in-depth debugging. However, this type of emulator typically requires extremely complex design and processes, which must usually use extremely complex design and processes to be high-speed simulation clock vessels. Online emulator is usually used in hardware development in ARM, and is used less in software development, and its price is also a factor in the online emulator.

转载请注明原文地址:https://www.9cbs.com/read-46090.html

New Post(0)