摘要
为了满足自研芯片配套集成开发环境的需求,自主设计了一套主要由Eclipse、GDB、OpenOCD组成的集成开发环境方案。进一步,选定RISC-V架构的RAC102芯片作为调试目标,在驱动适配和操作系统仿真的基础上,通过对GDB和OpenOCD进行定制化编译、调试和移植,实现了基于RISC-V架构的交叉调试系统。最后,在此方案实现的交叉调试系统中进行GDB调试命令以及对应远程通信协议的分析,在验证交叉调试系统功能正确性的同时,详细说明了各个调试命令对应的远程通信协议数据包集合。
In order to meet the demand of integrated development environment for self-developed chips,a set of integrated development environment scheme composed of Eclipse,GDB and OpenOCD is designed.Further,RAC102 chip of RISC-V architecture is selected as the debugging target.On the basis of driver adaptation and operating system simulation,GDB and OpenOCD are customized compiled,debugging and ported,and a cross-debugging system based on RISC-V architecture is realized.Finally,the GDB debugging command and the corresponding remote serial protocol are analyzed in the cross-debugging system implemented by this scheme,and the corresponding remote serial protocol packet set of each debugging command is explained in detail while verifying the functional correctness of the cross-debugging system.
作者
陈龙震
徐康民
徐天骅
张铆
Chen Longzhen;Xu Kangmin;Xu Tianhua;Zhang Mao(China Electronics Technology Group Corporation No.58 Research Institute,Wuxi 214035,China)
出处
《单片机与嵌入式系统应用》
2023年第12期15-18,22,共5页
Microcontrollers & Embedded Systems