- This topic has 4 个回复, 2 个参与人, and was last updated 5 years, 4 months 前 by xuhua78.
-
作者帖子
-
六月 12, 2019 - 10:21 下午 #1587xuhua78参与者
Open On-Chip Debugger 0.10.0+dev-00433-g849f49ca (2019-01-04-07:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1000 kHz
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Info : mohor tap selected
Info : adv debug unit selected
Info : Option 1 is passed to adv debug unit
Info : core 0 selected
Info : add flash_bank rv32m1 rv32m1.flash0
Info : add flash_bank rv32m1 rv32m1.flash1
Info : J-Link V9 compiled Oct 25 2018 11:46:07
Info : Hardware version: 9.30
Info : VTarget = 0.278 V
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway…
Error: rv32m1.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : adv debug unit is configured with option ADBG_USE_HISPEED六月 13, 2019 - 5:48 下午 #1595Howard参与者能说一下你的操作步骤,用的什么JLINK调试器?
六月 13, 2019 - 5:53 下午 #1596xuhua78参与者改用 开发板调试器 应该可以了。 运行如下: 但是 JLink CDC UART PORT 没有驱动起来 什么原因?
Open On-Chip Debugger 0.10.0+dev-00433-g849f49ca (2019-01-04-07:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 100 kHz
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Info : mohor tap selected
Info : adv debug unit selected
Info : Option 1 is passed to adv debug unit
Info : core 0 selected
Info : add flash_bank rv32m1 rv32m1.flash0
Info : add flash_bank rv32m1 rv32m1.flash1
Info : J-Link LPCXpresso V2 compiled Sep 23 2016 12:14:15
Info : Hardware version: 1.00
Info : VTarget = 3.300 V
Info : clock speed 100 kHz
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : adv debug unit is configured with option ADBG_USE_HISPEED
Info : Listening on port 3333 for gdb connections
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : accepting ‘gdb’ connection on tcp/3333
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : Flash write discontinued at 0x00003092, next section at 0x000fff00
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
===== RI5CY registers
(0) zero (/32): 0x00000000
(1) ra (/32): 0x00000000
(2) sp (/32): 0x00000000
(3) gp (/32): 0x00000000
(4) tp (/32): 0x00000000
(5) t0 (/32): 0x00000000
(6) t1 (/32): 0x00000000
(7) t2 (/32): 0x00000000
(8) s0 (/32): 0x00000000
(9) s1 (/32): 0x00000000
(10) a0 (/32): 0x00000000
(11) a1 (/32): 0x00000000
(12) a2 (/32): 0x00000000
(13) a3 (/32): 0x00000000
(14) a4 (/32): 0x00000000
(15) a5 (/32): 0x00000000
(16) a6 (/32): 0x00000000
(17) a7 (/32): 0x00000000
(18) s2 (/32): 0x00000000
(19) s3 (/32): 0x00000000
(20) s4 (/32): 0x00000000
(21) s5 (/32): 0x00000000
(22) s6 (/32): 0x00000000
(23) s7 (/32): 0x00000000
(24) s8 (/32): 0x00000000
(25) s9 (/32): 0x00000000
(26) s10 (/32): 0x00000000
(27) s11 (/32): 0x00000000
(28) t3 (/32): 0x00000000
(29) t4 (/32): 0x00000000
(30) t5 (/32): 0x00000000
(31) t6 (/32): 0x00000000
(32) npc (/32): 0x000FFF80
(33) ppc (/32): 0x00000000
(65) ustatus (/32)
(70) utvec (/32)
(85) uhartid (/32)
(130) uepc (/32)
(131) ucause (/32)
(833) mstatus (/32)
(838) mtvec (/32)
(898) mepc (/32)
(899) mcause (/32)
(3153) privlv (/32)
(3925) mhartid (/32)六月 13, 2019 - 5:58 下午 #1597xuhua78参与者改用 开发板调试器 应该可以了。 运行如下: 但是 JLink CDC UART PORT 没有驱动起来 什么原因?
Open On-Chip Debugger 0.10.0+dev-00433-g849f49ca (2019-01-04-07:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 100 kHz
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Info : mohor tap selected
Info : adv debug unit selected
Info : Option 1 is passed to adv debug unit
Info : core 0 selected
Info : add flash_bank rv32m1 rv32m1.flash0
Info : add flash_bank rv32m1 rv32m1.flash1
Info : J-Link LPCXpresso V2 compiled Sep 23 2016 12:14:15
Info : Hardware version: 1.00
Info : VTarget = 3.300 V
Info : clock speed 100 kHz
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : adv debug unit is configured with option ADBG_USE_HISPEED
Info : Listening on port 3333 for gdb connections
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : accepting ‘gdb’ connection on tcp/3333
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : Flash write discontinued at 0x00003092, next section at 0x000fff00
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
===== RI5CY registers
(0) zero (/32): 0x00000000
(1) ra (/32): 0x00000000
(2) sp (/32): 0x00000000
(3) gp (/32): 0x00000000
(4) tp (/32): 0x00000000
(5) t0 (/32): 0x00000000
(6) t1 (/32): 0x00000000
(7) t2 (/32): 0x00000000
(8) s0 (/32): 0x00000000
(9) s1 (/32): 0x00000000
(10) a0 (/32): 0x00000000
(11) a1 (/32): 0x00000000
(12) a2 (/32): 0x00000000
(13) a3 (/32): 0x00000000
(14) a4 (/32): 0x00000000
(15) a5 (/32): 0x00000000
(16) a6 (/32): 0x00000000
(17) a7 (/32): 0x00000000
(18) s2 (/32): 0x00000000
(19) s3 (/32): 0x00000000
(20) s4 (/32): 0x00000000
(21) s5 (/32): 0x00000000
(22) s6 (/32): 0x00000000
(23) s7 (/32): 0x00000000
(24) s8 (/32): 0x00000000
(25) s9 (/32): 0x00000000
(26) s10 (/32): 0x00000000
(27) s11 (/32): 0x00000000
(28) t3 (/32): 0x00000000
(29) t4 (/32): 0x00000000
(30) t5 (/32): 0x00000000
(31) t6 (/32): 0x00000000
(32) npc (/32): 0x000FFF80
(33) ppc (/32): 0x00000000
(65) ustatus (/32)
(70) utvec (/32)
(85) uhartid (/32)
(130) uepc (/32)
(131) ucause (/32)
(833) mstatus (/32)
(838) mtvec (/32)
(898) mepc (/32)
(899) mcause (/32)
(3153) privlv (/32)
(3925) mhartid (/32)六月 13, 2019 - 11:09 下午 #1602xuhua78参与者可以了。
-
作者帖子
- 抱歉,回复话题必需登录。