摘要
介绍目前在嵌入式系统中广泛应用的仿真器J-Link和龙芯处理器,论述J-Link协议在龙芯平台上的移植实现过程,给出移植过程中的关键步骤,即J-Link的初始化、EJTAG控制数据的组织、J-Link的协议封装、数据对齐以及USB协议使用,在龙芯平台上可成功实现移植过程。实验结果表明,与现有方法相比,使用移植后的J-Link仿真器进行EJTAG在线烧写Flash,烧写的速度及系统稳定性提高明显。
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.
出处
《计算机工程》
CAS
CSCD
2014年第2期267-270,共4页
Computer Engineering
基金
国家自然科学基金资助项目"捣固车计算机自动引导一体化控制系统关键技术研究"(61263023)