资源描述:
《一种基于jtag接口的仿真器系统分析》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、AbstractAbstractWithstrongsupportbygovernment,smartcardindustryhasenteredarapiddevelopmentperiodinChina.Bankcards,IDcards,electronicpassports,SIMcards,fuelcards,socialsecuritycardsconstitutethesmartcardfamily.Withdeepdevelopmentofthehigh-securitychipcard,manycardprovidersbegintodeveloponARM7.Curren
2、tly,smartcarddevelopmenttoolsareembeddedinCMScodes.However,criticalCMScodesmightbeleakedbyusingULINK2.Therefore,anewsecurityemulatorhasbeenneeded.Hardwareemulator,whichisbasedonJTAGinterface,waschosentobetherightemulatorarchitectureinthisproject.Thispaperdescribestheprinciple,designandimplementatio
3、nofnewsimulator.ThissimulatorwasmadeupofFPGA,MCU,andDLL.DebugcommandswastransferredfromAGDIinterfacetosimulator,whosetransfertoolwasUSBdataline.DebugcommandswereparsedandwereconvertedtoJTAGcommandsinMCU.Meanwhile,FPGARegisterinformationwascapturedandsenttoAGDIinterfacebyMCU.Inthisproject,CypressEZ-
4、USBFX2waschosenasMCU.AnUSB2.0transceivercontrollerwasinMCU,andwasabletoautocompleteUSBcommandpackingandunpackingprocess.ThenweanalysedULINK2debugcontrolmechanismsbyJTAGprotocol,ARMdebugprinciple,andULINK2signals.MCUfirmwarecodewasdesignedtoachieveasimulationofULINK2,andachievebetterperformanceaswel
5、lastransmissionencryption.Theresultshowsthatthenewemulatoriswithhighperformanceandconfidentiality.SomeperformanceindicatorsaremuchbetterthanULINK2,andtherestisasgoodasit.WebelievethatitmeetsthedesignrequirementsandisabletoreplaceULINK2.Keywords:SimulatorJTAGMCUFPGA万方数据万方数据目录i目录第一章绪论................
6、........................................11.1研究背景.................................................11.2市面常见的仿真器比较.....................................11.2.1软件仿真调试..........................................21.2.2硬件仿真调试..........................................21.2.3存储器监控调试..............................
7、..........21.3项目工作安排.............................................31.4论文章节安排.............................................3第二章JTAG协议简介................................................52.1JTAG协议概述..............