OK6410A 开发板 (八) 81 linux-5.11 OK6410A JTAG调试
2021/7/14 7:05:05
本文主要是介绍OK6410A 开发板 (八) 81 linux-5.11 OK6410A JTAG调试,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
- 前提条件
1. jlink 调试器 2. OK6410A 板子中 DBGSEL 接地 3. JLink_Windows 4. https://github.com/lisider/ok6410-rawcode/tree/master/bin 中的 1led.bin
过程
连接硬件
怎么连接就不用说了
打开软件
D:\ProgramFiles\ProgramFilesForSW\SEGGER\JLink\JLink.exe
操作后的现象为led4一直闪烁
操作流程如下 Type "connect" to establish a target connection, '?' for help J-Link>connect Please specify device / core. <Default>: ARM11 Type '?' for selection dialog Device> Please specify target interface: J) JTAG (Default) TIF> Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect JTAGConf> Specify target interface speed [kHz]. <Default>: 4000 kHz Speed> Device "ARM11" selected. Connecting to target via JTAG TotalIRLen = 9, IRPrint = 0x0011 JTAG chain detection found 2 devices: #0 Id: 0x2B900F0F, IRLen: 04, ARM ETB #1 Id: 0x07B76F0F, IRLen: 05, ARM1176 Core ARM11 identified. J-Link>h PC: (R15) = 00000000, CPSR = 00000000 (Unknown mode, ARM) Current: R0 =00000000, R1 =00000001, R2 =00000001, R3 =00000001 R4 =5FE30C40, R5 =5FF6BE1C, R6 =00000001, R7 =00000000 USR: R8 =00000000, R9 =5FE2FEE0, R10=5FF6BE04, R11=5FF6BE10, R12=00001414 R13=B34F105C, R14=B966F199 FIQ: R8 =891B2EB0, R9 =C095605F, R10=A701A8F0, R11=8F2A982C, R12=8B300263 R13=B53C17B2, R14=67CBFBB6, SPSR=00000010 IRQ: R13=1E8754BA, R14=A1338D67, SPSR=00000010 SVC: R13=5FE2EF98, R14=5FF3C808, SPSR=00000010 ABT: R13=19AB6EF5, R14=199FD9E6, SPSR=00000010 UND: R13=F181AEF5, R14=BBF06AD6, SPSR=00000010 J-Link>loadbin E:\work\1led.bin 0x50000000 Downloading file [E:\work\1led.bin]... O.K. J-Link>SetPC 0x50000000 J-Link>g J-Link>h PC: (R15) = 50000054, CPSR = 20000010 (User mode, ARM) Current: R0 =7F008824, R1 =00000008, R2 =00512FF3, R3 =00000001 R4 =5FE30C40, R5 =5FF6BE1C, R6 =00000001, R7 =00000000 R8 =00000000, R9 =5FE2FEE0, R10=5FF6BE04, R11=5FF6BE10, R12=00001414 R13=B34F105C, R14=50000048 USR: R8 =00000000, R9 =5FE2FEE0, R10=5FF6BE04, R11=5FF6BE10, R12=00001414 R13=B34F105C, R14=50000048 FIQ: R8 =891B2EB0, R9 =C095605F, R10=A701A8F0, R11=8F2A982C, R12=8B300263 R13=B53C17B2, R14=67CBFBB6, SPSR=00000010 IRQ: R13=1E8754BA, R14=A1338D67, SPSR=00000010 SVC: R13=5FE2EF98, R14=5FF3C808, SPSR=00000010 ABT: R13=19AB6EF5, R14=199FD9E6, SPSR=00000010 UND: R13=F181AEF5, R14=BBF06AD6, SPSR=00000010
这篇关于OK6410A 开发板 (八) 81 linux-5.11 OK6410A JTAG调试的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-12如何创建可引导的 ESXi USB 安装介质 (macOS, Linux, Windows)
- 2024-11-08linux的 vi编辑器中搜索关键字有哪些常用的命令和技巧?-icode9专业技术文章分享
- 2024-11-08在 Linux 的 vi 或 vim 编辑器中什么命令可以直接跳到文件的结尾?-icode9专业技术文章分享
- 2024-10-22原生鸿蒙操作系统HarmonyOS NEXT(HarmonyOS 5)正式发布
- 2024-10-18操作系统入门教程:新手必看的基本操作指南
- 2024-10-18初学者必看:操作系统入门全攻略
- 2024-10-17操作系统入门教程:轻松掌握操作系统基础知识
- 2024-09-11Linux部署Scrapy学习:入门级指南
- 2024-09-11Linux部署Scrapy:入门级指南
- 2024-08-21【Linux】分区向左扩容的方法