About | Contact Us | Register | Login
ProceedingsSeriesJournalsSearchEAI
Communications and Networking. 17th EAI International Conference, Chinacom 2022, Virtual Event, November 19-20, 2022, Proceedings

Research Article

A Low-Cost Semihosting Approach to Debug DSP Application

Cite
BibTeX Plain Text
  • @INPROCEEDINGS{10.1007/978-3-031-34790-0_3,
        author={Tao Huang and Haoqi Ren and Zhifeng Zhang and Bin Tan and Jun Wu},
        title={A Low-Cost Semihosting Approach to Debug DSP Application},
        proceedings={Communications and Networking. 17th EAI International Conference, Chinacom 2022, Virtual Event, November 19-20, 2022, Proceedings},
        proceedings_a={CHINACOM},
        year={2023},
        month={6},
        keywords={DSP Semihosting GDB Embedded debugging},
        doi={10.1007/978-3-031-34790-0_3}
    }
    
  • Tao Huang
    Haoqi Ren
    Zhifeng Zhang
    Bin Tan
    Jun Wu
    Year: 2023
    A Low-Cost Semihosting Approach to Debug DSP Application
    CHINACOM
    Springer
    DOI: 10.1007/978-3-031-34790-0_3
Tao Huang1, Haoqi Ren1, Zhifeng Zhang1, Bin Tan2, Jun Wu3,*
  • 1: Department of Computer Science
  • 2: School of Electronic and Information Engineering
  • 3: School of Computer Science
*Contact email: wujun@fudan.edu.cn

Abstract

Applications of digital signal processor (DSP) involve large amounts of data processing. In order to be able to improve the speed of DSP application development, it is necessary to be able to implement debugging functions that can support File I/O at a small cost of modification. This paper proposes a complete set of implementation methods of the semihosting debugging function on a DSP without an operating system, including hardware support and software algorithms. On hardware, this article adds only one self-trapping instruction to support semihosting debugging. In software, this article is based on the GDB File I/O extension protocol to design and implement the debugging agent software and C language library underlying file operations. And after optimizing library files and application source code, the I/O speed of the architecture can meet users’ debugging needs. This solution can realize the semihosting debugging function for DSP chip at a low cost and has good performance. Therefore, provides more powerful debugging functions for DSP application development. In assembly level debugging, observing the execution of each assembly instruction can also verify the instruction execution of the chip itself. The addition of file operation can greatly validate the chip with larger data.

Keywords
DSP Semihosting GDB Embedded debugging
Published
2023-06-10
Appears in
SpringerLink
http://dx.doi.org/10.1007/978-3-031-34790-0_3
Copyright © 2022–2025 ICST
EBSCOProQuestDBLPDOAJPortico
EAI Logo

About EAI

  • Who We Are
  • Leadership
  • Research Areas
  • Partners
  • Media Center

Community

  • Membership
  • Conference
  • Recognition
  • Sponsor Us

Publish with EAI

  • Publishing
  • Journals
  • Proceedings
  • Books
  • EUDL