|
新唐调试器 Nu-Link-Me 化身为 CMSIS-DAP
[复制链接]
本帖最后由 le062 于 2015-8-14 14:42 编辑
原帖bbs.eeworld.com.cn/thread-471104-1-1.html 不能编辑了,另发一贴
源码、原理图及参考资料
github.com/le062/CMSIS-DAP
bin:
USBD_HID_Transfer v0.2.rar
(9.32 KB, 下载次数: 63)
iar下载调试log
- Fri Aug 14, 2015 13:59:37: Loaded macro file: C:\Software\IAR Systems\Embedded Workbench 7.2\arm\config\debugger\ST\STM32F1xx_XL.dmac
- Fri Aug 14, 2015 13:59:37: Loading the I-jet/JTAGjet driver
- Fri Aug 14, 2015 13:59:37: Probe: CMSISDAP S/N 00000000 mapped to a number 59065.
- Fri Aug 14, 2015 13:59:37: EARM v.3.72
- Fri Aug 14, 2015 13:59:37: Emulation layer version 3.72
- Fri Aug 14, 2015 13:59:38: Connecting Cortex-M core ID = 0x24770011 on DAP port 0
- Fri Aug 14, 2015 13:59:38: Recognized CPUID=0x410fc241 Cortex-M4 r0p1 arch ARMv7-M
- Fri Aug 14, 2015 13:59:39: Debug resources: 6 instruction comparators, 4 data watchpoints.
- Fri Aug 14, 2015 13:59:39: CPU status - IN RESET
- Fri Aug 14, 2015 13:59:39: INFO: Configuring trace using 'SWO,ETB' setting ...
- Fri Aug 14, 2015 13:59:39: INFO: SWO trace mode is not supported by the probe - trace is disabled.
- Fri Aug 14, 2015 13:59:39: LowLevelReset(script, delay 200)
- Fri Aug 14, 2015 13:59:39: Calling reset script: C:\Software\IAR Systems\Embedded Workbench 7.2\arm\config\debugger\ST\STM32.ProbeScript@ConnectUnderReset
- Fri Aug 14, 2015 13:59:39: The scripted reset failed with the message:
- Low level script error in C:\Software\IAR Systems\Embedded Workbench 7.2\arm\config\debugger\ST\STM32.ProbeScript line 9:
- Memory access error 3.
- Fri Aug 14, 2015 13:59:40: Connecting Cortex-M core ID = 0x24770011 on DAP port 0
- Fri Aug 14, 2015 13:59:40: Recognized CPUID=0x410fc241 Cortex-M4 r0p1 arch ARMv7-M
- Fri Aug 14, 2015 13:59:40: Debug resources: 6 instruction comparators, 4 data watchpoints.
- Fri Aug 14, 2015 13:59:41: CPU status OK
- Fri Aug 14, 2015 13:59:41: Loaded debugee: C:\Users\Lion\Desktop\STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\FLASH\Dual_Boot\EWARM\
- STM32F10X_XL_BANK1\Exe\STM32F10X_XL_BANK1.out
- Fri Aug 14, 2015 13:59:41: 688 bytes downloaded (7.72 Kbytes/sec)
- Fri Aug 14, 2015 13:59:41: Download completed.
- Fri Aug 14, 2015 13:59:41: LowLevelReset(software, delay 200)
- Fri Aug 14, 2015 13:59:43: Target reset
- Fri Aug 14, 2015 13:59:43: There was 1 warning during the initialization of the debugging session.
复制代码
实际体验并不好,速度慢、可能还会死机 。
不过现在至少是通了,而且开源,有兴趣的同学可以一起优化下。
|
|