Font Size: a A A

Design And Implementation Of PC Debugger Of BL Series MCU Emulator

Posted on:2010-07-11Degree:MasterType:Thesis
Country:ChinaCandidate:Y M WuFull Text:PDF
GTID:2178360275491514Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
In-Circuit-Emulator (ICE) is an essential equipment in designing and debugging embedded system application. It can be used to conduct software and hardware experiments, to debug software and to analyze product. Though the R&D technology of ICE has been mastered by a few vendors, many emulator products still cannot meet the demand of senior users.This article starts with an introduction of several embedded debugging tools and then analyzes their advantages and disadvantages. After that, a design and implementation of the BL series domestic MCU emulator and PC debugger have been proposed according to the market demand. This thesis has mainly solved a series of critical problems such as emulator architecture, the interface between modules, data visiting, user interface designing, debugging method and breakpoint function. Practice has shown that this emulator is a cheap and high quality tool to develop and debug BL series MCU applicationIn this article, some efficient debugging methods oriented to high level users have also been presented on the basis of long time embedded software debug experience. Such as Step Without Interrupt, Read/Write Breakpoint and so on. These methods can help to locate bugs in software quickly and shorten the development cycle of embedded software.Due to the complexity of USB communication protocol and driver development, this thesis also comes up with a strategy with self-recovery mechanism based on APIs to develop USB application. Such method can recover USB communication from abnormal status automatically and makes engineer develop USB device swiftly and efficiently without knowing about the details of the USB driver and low level protocol.Finally, all of the breakthrough and innovation of the paper have been listed. A short perspective of the future work is also included at the end of this article.
Keywords/Search Tags:SEMV-BL emulator, BMIce debugger, USB communication, debugging method, hardware breakpoint
PDF Full Text Request
Related items