debugging STM32F103 RET 6,ST-LINK V2,开发目标命令错误,SWD无法正常工作

ygya80vv  于 2023-03-19  发布在  其他
关注(0)|答案(1)|浏览(804)

我有一个定制的STM32板,基本上只有闪存和使用STM32F103 RET 6所需的元件。这意味着,只有几个用于电压稳定的电容、一个8 MHz石英+电路和几个连接器。
SWDIO、SWCLK和NRST线路通过一个100 Ω电阻连接到一个连接器,因此可以使用它们对器件进行编程。
现在的问题是,我无法通过STM32 CubeProgrammer、CLI或我选择的IDE(Keil uVision)连接到设备。
当我使用我的ST-LINK V2时,将其连接到板和我的PC,然后在程序中按“连接”,我得到错误DEV_TARGET_CMD_ERR
除了“硬件问题”之外,任何地方都没有关于这个错误的解释。如果线路是通过100欧姆的电阻器直接连接到引脚的,那怎么可能呢?
然后我继续尝试CLI,它也不起作用。我的Keil UVision只是抛出了错误“内部命令错误”。
因此,我设置了一个逻辑分析仪,发现该设备实际上正在与我的ST-LINK通信:

它基本上是这样做的:

1.线路重置
1.读取IDCODE(成功)
1.希望写入CTRL/STAT(获得ACK WAIT作为响应)
1.线路重置
1.重复1-4约100次
1.读取IDCODE
1.从CTRL/STAT读取(成功,响应:0xF0000000)
1.不知何故停止做任何事情并抛出上面提到的错误。
我的BOOT 0引脚是浮置的,如果您感兴趣的话。
我不知道如何从这里继续下去。我甚至不能连接到设备,然而,设备显然正在与芯片通信。
我在Evalboard(Nucleo)上检查了我那批的一个芯片,它迅速连接并读取了内存。所以芯片没有缺陷。
我是否必须删除任何写保护或调试接口在Nucleo-Board上自动执行的操作,或者为什么我根本不能使用我的芯片?
先谢谢你了!
以下是对社会福利部沟通的分析:

Time    Type    R/W AP/DP   Register    Request byte    ACK WData   WData details
-0.000  Line reset                          
0.000   Line reset                          
0.000   Operation   read    DebugPort   IDCODE  0xA5    OK  0x1BA01477  DESIGNER=0x477, PARTNO=0xBA01, Version=0x1
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.000   Line reset                          
0.000   Line reset                          
0.001   Operation   read    DebugPort   IDCODE  0xA5    OK  0x1BA01477  DESIGNER=0x477, PARTNO=0xBA01, Version=0x1
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.001   Line reset                          
0.001   Line reset                          
0.002   Operation   read    DebugPort   IDCODE  0xA5    OK  0x1BA01477  DESIGNER=0x477, PARTNO=0xBA01, Version=0x1
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.002   Line reset                          
0.002   Line reset                          
0.002   Operation   read    DebugPort   IDCODE  0xA5    OK  0x1BA01477  DESIGNER=0x477, PARTNO=0xBA01, Version=0x1
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Operation   write   DebugPort   CTRL/STAT   0xA9    WAIT        
0.003   Line reset                          
0.003   Line reset                          
0.003   Operation   read    DebugPort   IDCODE  0xA5    OK  0x1BA01477  DESIGNER=0x477, PARTNO=0xBA01, Version=0x1
0.004   Operation   write   DebugPort   ABORT   0x81    OK  0x0000001F  ORUNERRCLR=1, WDERRCLR=1, STKERRCLR=1, STKCMPCLR=1, DAPABORT=1
0.004   Operation   read    DebugPort   CTRL/STAT   0x8D    OK  0xF0000000  CSYSPWRUPACK=1, CSYSPWRUPREQ=1, CDBGPWRUPACK=1, CDBGPWRUPREQ=1, CDBGRSTACK=0, CDBGRSTREQ=0, TRNCNT=0x000, MASKLANE=0x0, WDATAERR=0, READOK=0, STICKYERR=0, STICKYCMP=0, TRNMODE=Normal, STICKYORUN=0, ORUNDETECT=0

硬件:

这基本上是硬件。x1c 0d1x

j91ykkif

j91ykkif1#

我们发现了问题。问题是VDDA引脚没有足够的能量供应。这意味着,这是一个硬件问题。
为了弄清楚实际问题是什么以及为什么我们没有检测到它:
我们检查了所有VDD(A)引脚,发现每个引脚都提供了正确的电压。在Gerber文件中,我们发现VDDA引脚过孔没有正确连接到3.3V平面。存在巨大的电阻(本例中为600 k Ω)。我们在VDDA引脚处测量到正确的电压,因为有一个电容,它有足够的时间充电。因此,我们测量了正确的电压。然而,一旦uC开始吸取实际功率,电容就不能提供足够的能量/电流,uC无法启动。这也解释了JLINK“无法启动DAP”的错误信息。
因此:DEV_TARGET_CMD_ERR可能是硬件问题。

相关问题