Research on PC-Like Debugging Methods for Assembly Language Programs in Embedded System

Authors

  • Jian Zhang, Changyong Liu, Fusong Xiong, Yihuai Wang

Abstract

Microcontrollers have limited resources, however, they also require faster response times and operating efficiency. Therefore, in the development of embedded systems, assembly language is often used for powering up chip and calling system service. By analyzing the debugging method of printf in PC programming, designs the component of printf in the embedded system, and gives the debugging method of this component, application practice on STMicroelectronics' STM32 chip. Practice has shown that the use of a PC-like debugging method of printf in the embedded system assembler can effectively output the intermediate process information of the program operation, help users to track and debug the assembler, reduce the development difficulty of the assembler and provide debugging method for readers to learn assembler program.

Published

2020-03-31

Issue

Section

Articles