作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 开发研究与工程应用 • 上一篇    下一篇

基于龙芯平台的J-Link协议移植实现

夏豪骏,王海瑞   

  1. (昆明理工大学信息工程与自动化学院,昆明 650500)
  • 收稿日期:2012-10-23 出版日期:2014-02-15 发布日期:2014-02-13
  • 作者简介:夏豪骏(1987-),男,硕士研究生,主研方向:嵌入式操作系统;王海瑞,教授
  • 基金资助:
    国家自然科学基金资助项目“捣固车计算机自动引导一体化控制系统关键技术研究”(61263023)

Implementation of Porting J-Link Protocol Based on Loongson Platform

XIA Hao-jun, WANG Hai-rui   

  1. (College of Information Engineering and Automation, Kunming University of Science and Technology, Kunming 650500, China)
  • Received:2012-10-23 Online:2014-02-15 Published:2014-02-13

摘要: 介绍目前在嵌入式系统中广泛应用的仿真器J-Link和龙芯处理器,论述J-Link协议在龙芯平台上的移植实现过程,给出移植过程中的关键步骤,即J-Link的初始化、EJTAG控制数据的组织、J-Link的协议封装、数据对齐以及USB协议使用,在龙芯平台上可成功实现移植过程。实验结果表明,与现有方法相比,使用移植后的J-Link仿真器进行EJTAG在线烧写Flash,烧写的速度及系统稳定性提高明显。

关键词: J-Link协议, 龙芯, USB协议, EJTAG规范, 移植, 通讯

Abstract: This paper introduces the widely adopted J-Link emulator and processor based on Loongson core in embedded system. It describes the realization of porting J-Link protocol to Loongson platform and the key steps of porting are presented. The key steps are the J-Link initialization, the organization of EJTAG control data, J-Link protocol encapsulation, data alignment and using of USB protocols. Porting is implemented on Loongson platform successfully and experimental result shows that when on line programming Flash with EJTAG in ported J-Link emulator, the programming speed and system stability are significantly enhanced.

Key words: J-Link protocol, Loongson, USB protocol, EJTAG specification, porting, communication

中图分类号: