最近在学习Kinetis 单片机,用的是MK21FN1M0VLQ12这颗片子
可是一开始就遇到问题了,板子做出来焊上芯片后JTAG连接不上,提示如下:
SEGGER J-Link Commander V4.86b ('?' for help)
Compiled Jun 27 2014 20:11:09
DLL version V4.86b, compiled Jun 27 2014 20:11:00
Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
Hardware: V8.00
S/N: 20080643
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.364V
Info: TotalIRLen = 4, IRPrint = 0x01
****** Error: Error while identifying Cortex-M device. Wrong AHB ID. Expected 0x
04770001, found 0x00000000
Info: TotalIRLen = 4, IRPrint = 0x01
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
****** Error: Error while identifying Cortex-M core.
Info: Found SWD-DP with ID 0x2BA01477
No device found on SWD.
Failed to identify target. Trying again with slow (4 kHz) speed.
Info: TotalIRLen = 4, IRPrint = 0x01
****** Error: Error while identifying Cortex-M device. Wrong AHB ID. Expected 0x
04770001, found 0x00000000
Info: TotalIRLen = 4, IRPrint = 0x01
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
****** Error: Error while identifying Cortex-M core.
Info: Found SWD-DP with ID 0x2BA01477
No device found on SWD.
No device found at all. Selecting JTAG as default target interface.
J-Link>
测得VOUT33(Pin21)有3.3V电压
复位引脚有类似锯齿波的信号(复位引脚我用了一颗27K电阻上拉然后对地接了1uF电容)
debug部分原理图(复位电路中 的那个二极管暂时没接)
然后我再把整个PCB工程传上来大家帮忙分析下我哪里做错了,谢谢!
|