Font Size: a A A

Design And Implementation Of Programmer And Debugger For Freescale HCS08/HCS12 Family MCUs

Posted on:2010-10-04Degree:MasterType:Thesis
Country:ChinaCandidate:Z W MengFull Text:PDF
GTID:2178360275459249Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Freescale HCS08/HCS12 family MCUs have been accepted by all kinds of industries all over the world for their powerful computing,lower energy consumption and price.Freescale has introduced a new on-chip debug technology which named Background Debug Mode(BDM) in Freescale HCS08/HCS12 family MCUs.Because of its superior performance.This technique is received gradually by the industry and becomes a widely used method of on-chip debugging of MCU.Foreign companies provide a powerful programmer and debugger of BDM,but it can not be accepted by domestic users for its high price.A lot of rearches have been done in many national colleges and universities,but there are mainly three problems can be found in their programmer and debuggers.Firstly, these debuggers' speed is too low to communication with new freescale MCUs.Sencondly, these debuggers are unable to compatible with Freescale's IDE,CodeWarrior.Thirdly, since USB1.1 has been adopted,the communication speed can not be enhanced.Based on the in-depth analysis of the existing HCS08/HCS12 debuggers at home and abroad and combanding the latest technology in this field,a hardware and device driver schema which adopts the USB2.0 technology has been brought out.This thesis implements an efficient universal BDM debugger which can be used in Freescale HCS08/HCS12 familiy MCUs.This design resolves the common bottleneck of communication frequency and speed.Meanwhile,in the basis of research in the communication specification,this thesis analyzeds the communication interface functions of CodeWarrior IDE and implements specific communication functions for USBDM.These entire features make USBDM can be work with CodeWarrior.USBDM DLL can also used in other projects and provides a convinent way to update firmware.
Keywords/Search Tags:MCU, Programmer&Debugger, OCD, BDM, HCS08/HCS12
PDF Full Text Request
Related items