潮声隔雨深 · 2020年03月08日

IAR J-Link debug M0+时从USB端抓到的J-Link设备的数据怎么解析

各位大神好,

以下是点击IAR界面上的Reset按钮,抓到的数据,因为芯片这时候会挂掉,所有我想知道这些命令在做什么。

找了很多网站,SEGGER,ARM之类的,都没找到相关的协议。但是CMSIS-DAP的就很容易找到,为什么J-Link就找不到呢,有人了解这个吗?我能在哪找到J-Link调试的相关协议呢。

谢谢!!!!

============================================================================

25.2 OUT 09 64 bc 15 65 ca 00 00 00 00 00 00 01 00 .d..e......... 41.1.0 09:32:36.008
25.1 IN 01 00 04 00 10 00 04 00 bc 15 65 ca 00 00 00 00 ..........e..... 42.1.0 09:32:36.009

           00 00 01 00  5f be 00 00  00 00 00 00  00 00 00 00  ...._...........        42.1.16                    
           00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................        42.1.32                    
           00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................        42.1.48                    
           00 00 00 00  00 00 00 00  f1 0c 00 00               ............            42.1.64                    

25.2 OUT c5 00 01 28 10 00 e0 04 00 00 00 00 00 00 00 c5 ...(............ 43.1.0 09:32:36.858

           00 01 38 10  00 e0 04 00  00 00 00 00  00 00        ..8...........          43.1.16                    

25.1 IN 04 00 00 00 .... 44.1.0(2) 09:32:36.859
25.2 OUT c5 00 01 fc ed 00 e0 04 00 00 00 01 00 00 01 ............... 46.1.0 09:32:36.861
25.1 IN 04 00 00 00 .... 47.1.0 09:32:36.861
25.2 OUT c5 00 01 0c ed 00 e0 04 00 00 00 04 00 fa 05 ............... 48.1.0 09:32:36.862
25.1 IN 04 00 00 00 .... 49.1.0 09:32:38.164
25.2 OUT c5 00 00 f0 ed 00 e0 04 00 00 00 ........... 50.1.0(100) 09:32:38.166
25.1 IN 00 00 00 00 .... 51.1.0(100) 09:32:38.168
25.1 IN ff ff ff ff .... 52.1.0(100) 09:32:38.169
25.2 OUT dc . 350.1.0 09:32:38.468
25.2 OUT 07 . 351.1.0(2) 09:32:38.469
25.1 IN f1 0c 00 00 00 01 00 00 ........ 352.1.0(2) 09:32:38.469
25.2 OUT cf 00 08 01 ff ff ff ff ff ff ff ff ff ff ff ff ................ 355.1.0 09:32:38.471

           ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff  ................       355.1.16                    
           00 00 00 00  f0 ff ff ff  ff ff ff ff  9e e7 ff ff  ................       355.1.32                    
           ff ff ff ff  ff b6 ed ff  ff ff ff ff  ff ff 00 00  ................       355.1.48                    
           a5 00 00 00  00 00                                  ......                 355.1.64                    

25.1 IN ff ff ff ff ff ff ff 9e e7 ff ff ff ff ff ff ff ................ 356.1.0 09:32:38.471

           b6 ed ff ff  ff ff ff ff  ff 00 00 a5  b9 a3 08 5e  ...............^       356.1.16                    
           00 00                                               ..                     356.1.32                    

25.2 OUT cf e4 0d 00 ff 00 81 00 ........ 357.1.0 09:32:38.474
25.1 IN 81 11 00 ... 358.1.0 09:32:38.475
25.2 OUT cf 00 28 00 ff ff ff ff ff 1e 00 00 00 00 ..(........... 359.1.0 09:32:38.476
25.1 IN 1e 00 00 00 00 00 ...... 360.1.0 09:32:38.476
25.2 OUT cf 11 0d 00 ff 00 a9 00 ........ 361.1.0 09:32:38.477
25.1 IN a9 11 00 ... 362.1.0 09:32:38.477
25.2 OUT cf 00 28 00 ff ff ff ff ff 00 00 00 50 00 ..(.........P. 363.1.0 09:32:38.478
25.1 IN 00 00 00 50 00 00 ...P.. 364.1.0 09:32:38.479
25.2 OUT cf 95 0d 00 ff 00 81 00 ........ 365.1.0 09:32:38.480
25.1 IN 81 11 00 ... 366.1.0 09:32:38.480
25.2 OUT cf 00 28 00 ff ff ff ff ff 1e 00 00 00 00 ..(........... 367.1.0 09:32:38.481
25.1 IN 1e 00 00 00 00 00 ...... 368.1.0 09:32:38.481
25.2 OUT cf db 0d 00 ff 00 a9 00 ........ 369.1.0 09:32:38.482
25.1 IN a9 11 00 ... 370.1.0 09:32:38.482
25.2 OUT cf 00 28 00 ff ff ff ff ff 00 00 00 50 00 ..(.........P. 371.1.0 09:32:38.483
25.1 IN 00 00 00 50 00 00 ...P.. 372.1.0 09:32:38.483
25.2 OUT cf 00 0d 00 ff 00 8d 00 ........ 373.1.0 09:32:38.484
25.1 IN 8d 01 00 ... 374.1.0 09:32:38.484
25.2 OUT cf 00 21 00 00 00 00 00 01 00 00 00 00 00 ..!........... 375.1.0 09:32:38.485
25.1 IN 10 00 00 fc 00 00 ...... 376.1.0 09:32:38.485
25.2 OUT cf 00 0d 00 ff 00 81 00 ........ 377.1.0 09:32:38.486
25.1 IN 81 11 00 ... 378.1.0 09:32:38.486
25.2 OUT cf 00 28 00 ff ff ff ff ff 1e 00 00 00 00 ..(........... 379.1.0 09:32:38.487
25.1 IN 1e 00 00 00 00 00 ...... 380.1.0 09:32:38.487
25.2 OUT cf db 0d 00 ff 00 b1 00 ........ 381.1.0 09:32:38.488
25.1 IN b1 11 00 ... 382.1.0 09:32:38.488
25.2 OUT cf 00 28 00 ff ff ff ff ff f0 00 00 00 00 ..(........... 383.1.0 09:32:38.489
25.1 IN f0 00 00 00 00 00 ...... 384.1.0 09:32:38.489
25.2 OUT cf 00 0d 00 ff 00 9f 00 ........ 385.1.0 09:32:38.490
25.1 IN 9f 01 00 ... 386.1.0 09:32:38.490
25.2 OUT cf 00 21 00 00 00 00 00 01 00 00 00 00 00 ..!........... 387.1.0 09:32:38.491
25.1 IN 00 00 00 00 00 00 ...... 388.1.0 09:32:38.491
25.2 OUT cf da 0d 00 ff 00 b7 00 ........ 389.1.0(299) 09:32:38.492
25.1 IN b7 12 00 ... 390.1.0(593) 09:32:38.492
25.2 OUT cf 00 0d 00 ff 00 b7 00 ........ 987.1.0(295) 09:32:38.793
25.1 IN b7 12 00 ... 1576.1.0 09:32:39.093
25.2 OUT dd . 1577.1.0 09:32:39.094
25.2 OUT c5 00 07 ... 1578.1.0 09:32:39.096
25.1 IN 01 00 00 00 .... 1579.1.0 09:32:39.097
25.2 OUT c5 00 00 fc ed 00 e0 04 00 00 00 ........... 1580.1.0 09:32:39.098
25.1 IN 01 00 00 01 04 00 00 00 ........ 1581.1.0 09:32:39.098
25.2 OUT c5 00 00 00 10 00 e0 04 00 00 00 ........... 1582.1.0 09:32:39.099
25.1 IN 00 00 00 20 04 00 00 00 ... .... 1583.1.0 09:32:39.099
25.2 OUT c5 00 01 00 10 00 e0 04 00 00 00 01 00 00 20 .............. 1584.1.0 09:32:39.100
25.1 IN 04 00 00 00 .... 1585.1.0 09:32:39.100
25.2 OUT 09 64 bc 15 65 ca 00 00 00 00 00 00 01 00 .d..e......... 1586.1.0 09:32:39.101
25.1 IN 01 00 04 00 10 00 04 00 bc 15 65 ca 00 00 00 00 ..........e..... 1587.1.0 09:32:39.101

           00 00 01 00  72 ca 00 00  00 00 00 00  00 00 00 00  ....r...........      1587.1.16                    
           00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................      1587.1.32                    
           00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................      1587.1.48                    
           00 00 00 00  00 00 00 00  f1 0c 00 00               ............          1587.1.64                    

25.2 OUT c1 ff ff ff ff ..... 1588.1.0(2) 09:32:39.103
25.1 IN 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 1589.1.0(2) 09:32:39.104

           00 00 00 00  ff ff ff ff  ff ff ff ff  ff ff ff ff  ................      1589.1.16                    
           ff ff ff ff  ff ff ff ff  00 00 00 00  00 00 00 00  ................      1589.1.32                    
           00 00 00 00  00 00 00 00  ff ff ff ff  ff ff ff ff  ................      1589.1.48                    
           ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff  ................      1589.1.64                    
           ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff  ................      1589.1.80                    
           ff ff ff ff  ff ff ff ff  ff ff ff ff  00 00 00 00  ................      1589.1.96                    
           00 00 00 00  ff ff ff ff  ff ff ff ff  ff ff ff ff  ................      1589.1.112                   
1 个回答 得票排序 · 时间排序
一知半解 · 2020年03月08日

我在用cortex-m3内核搭系统,我把j-link接到了它的debug接口,可是数据写进去有点怪怪的

你的回答