Font Size: a A A

Design And Implementation Of Programmer & Debugger Based On S12 Series MCU

Posted on:2010-03-16Degree:MasterType:Thesis
Country:ChinaCandidate:X H ShenFull Text:PDF
GTID:2178360275959246Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Freescale semiconductor is one of the world's largest semiconductor companies.And S12 series microcontroller is its main products,which are widely used in automotive electronics,intelligent home electrical appliance and industrial automation etc.This series of microcontroller have built-in background debug module.It can realize powerful on-chip debugging mode which is very convenient to research embedded system product.This debugging mode is of great benefit to accelerate development progress and shorten the development cycle.However,the research and development on S12 background debug mode(BDM) is less in domestic and the support to the new high performance microcontrollers is not enough.So the domestic designer is mainly used foreign development system.After further research on BDM interface,this paper designs and implements the programmer & debugger system based on S12 series microcontroller.Firstly,this paper compares debugging modes and concludes the corresponding characteristics of them.On the base of analyzing the operation principles of S12 BDM debugging mode,this paper designs the implementation scheme of S12 programmer& debugger.Then,this paper illustrates the development process from the aspects of microcontroller software design and PC software design,and gives the concrete realization of communication flow,programming and debugging function.Using the high performance chip to implement data interaction between PC and target microcontroller,and on the consideration that some operations can be done in parallel,this paper improves the communication flow and increases the communication rate of programmer&debugger.This paper accomplishes the frequency detection of different target chips and completes the universal design of erasing & writing module to enhance the adaptability and universality of target chips.This paper implements the efficient code loading and perfect debugging functions.The technical schemes of this research provide a reference for the development of programmer&debugger based on other types of microcontroller and for the similar embedded products.
Keywords/Search Tags:microcontroller, S12, programmer&debugger, BDM, embedded system
PDF Full Text Request
Related items