Advertisement
ALTracer

stm32f723 dap info

Nov 6th, 2024
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.42 KB | None | 0 0
  1. $ openocd -f interface/stlink-dap.cfg -c 'transport select dapdirect_swd' -f target/stm32f7x.cfg -c 'init; dap info 0' 2>stm32f7-dap-info.log
  2. Open On-Chip Debugger 0.12.0-01005-gabeba723 (2023-03-28-19:25)
  3. Licensed under GNU GPL v2
  4. For bug reports, read
  5.     http://openocd.org/doc/doxygen/bugs.html
  6. dapdirect_swd
  7. Info : STLINK V2J38M27 (API v2) VID:PID 0483:374B
  8. Info : Target voltage: 3.226230
  9. Info : Unable to match requested speed 2000 kHz, using 1800 kHz
  10. Info : Unable to match requested speed 2000 kHz, using 1800 kHz
  11. Info : clock speed 1800 kHz
  12. Info : stlink_dap_op_connect(connect)
  13. Info : SWD DPIDR 0x5ba02477
  14. Info : [stm32f7x.cpu] Cortex-M7 r1p1 processor detected
  15. Info : [stm32f7x.cpu] target has 8 breakpoints, 4 watchpoints
  16. Info : starting gdb server for stm32f7x.cpu on 3333
  17. Info : Listening on port 3333 for gdb connections
  18. AP # 0x0
  19.         AP ID register 0x74770001
  20.         Type is MEM-AP AHB3
  21. MEM-AP BASE 0xe00fd003
  22.         Valid ROM table present
  23.         Component base address 0xe00fd000
  24.         Peripheral ID 0x00001a0452
  25.         Designer is 0x020, STMicroelectronics
  26.         Part is 0x452, Unrecognized
  27.         Component class is 0x1, ROM table
  28.         MEMTYPE system memory present on bus
  29.     ROMTABLE[0x0] = 0x00001003
  30.         Component base address 0xe00fe000
  31.         Peripheral ID 0x04000bb4c8
  32.         Designer is 0x23b, ARM Ltd
  33.         Part is 0x4c8, Cortex-M7 ROM (ROM Table)
  34.         Component class is 0x1, ROM table
  35.         MEMTYPE system memory present on bus
  36.     [L01] ROMTABLE[0x0] = 0x00001003
  37.         Component base address 0xe00ff000
  38.         Peripheral ID 0x04000bb4c7
  39.         Designer is 0x23b, ARM Ltd
  40.         Part is 0x4c7, Cortex-M7 PPB ROM (Private Peripheral Bus ROM Table)
  41.         Component class is 0x1, ROM table
  42.         MEMTYPE system memory present on bus
  43.     [L02] ROMTABLE[0x0] = 0xfff0f003
  44.         Component base address 0xe000e000
  45.         Peripheral ID 0x04000bb00c
  46.         Designer is 0x23b, ARM Ltd
  47.         Part is 0x00c, Cortex-M4 SCS (System Control Space)
  48.         Component class is 0xe, Generic IP component
  49.     [L02] ROMTABLE[0x4] = 0xfff02003
  50.         Component base address 0xe0001000
  51.         Peripheral ID 0x04000bb002
  52.         Designer is 0x23b, ARM Ltd
  53.         Part is 0x002, Cortex-M3 DWT (Data Watchpoint and Trace)
  54.         Component class is 0xe, Generic IP component
  55.     [L02] ROMTABLE[0x8] = 0xfff03003
  56.         Component base address 0xe0002000
  57.         Peripheral ID 0x04000bb00e
  58.         Designer is 0x23b, ARM Ltd
  59.         Part is 0x00e, Cortex-M7 FPB (Flash Patch and Breakpoint)
  60.         Component class is 0xe, Generic IP component
  61.     [L02] ROMTABLE[0xc] = 0xfff01003
  62.         Component base address 0xe0000000
  63.         Peripheral ID 0x04000bb001
  64.         Designer is 0x23b, ARM Ltd
  65.         Part is 0x001, Cortex-M3 ITM (Instrumentation Trace Module)
  66.         Component class is 0xe, Generic IP component
  67.     [L02] ROMTABLE[0x10] = 0xfff41002
  68.         Component not present
  69.     [L02] ROMTABLE[0x14] = 0xfff42002
  70.         Component not present
  71.     [L02] ROMTABLE[0x18] = 0x00000000
  72.     [L02]   End of ROM table
  73.     [L01] ROMTABLE[0x4] = 0xfff43003
  74.         Component base address 0xe0041000
  75.         Peripheral ID 0x04001bb975
  76.         Designer is 0x23b, ARM Ltd
  77.         Part is 0x975, Cortex-M7 ETM (Embedded Trace)
  78.         Component class is 0x9, CoreSight component
  79.         Type is 0x13, Trace Source, Processor
  80.         Dev Arch is 0x47704a13, ARM Ltd "Embedded Trace Macrocell (ETM) architecture" rev.0
  81.     [L01] ROMTABLE[0x8] = 0xfff45002
  82.         Component not present
  83.     [L01] ROMTABLE[0xc] = 0x1ff02002
  84.         Component not present
  85.     [L01] ROMTABLE[0x10] = 0x00000000
  86.     [L01]   End of ROM table
  87.     ROMTABLE[0x4] = 0xfff43003
  88.         Component base address 0xe0040000
  89.         Peripheral ID 0x04000bb9a9
  90.         Designer is 0x23b, ARM Ltd
  91.         Part is 0x9a9, Cortex-M7 TPIU (Trace Port Interface Unit)
  92.         Component class is 0x9, CoreSight component
  93.         Type is 0x11, Trace Sink, Port
  94.     ROMTABLE[0x8] = 0x1ff03002
  95.         Component not present
  96.     ROMTABLE[0xc] = 0x1ff03002
  97.         Component not present
  98.     ROMTABLE[0x10] = 0x00000000
  99.         End of ROM table
  100.  
  101. Info : Listening on port 6666 for tcl connections
  102. Info : Listening on port 4444 for telnet connections
  103. shutdown command invoked
  104.  
  105. $ ./build/blackmagic -tv 5
  106. Black Magic Debug App v1.10.0-1311-geb0058a8
  107.  for Black Magic Probe, ST-Link v2 and v3, CMSIS-DAP, J-Link and FTDI (MPSSE)
  108. Using 0483:374b 0674FF495150807567022545 STMicroelectronics
  109.  STM32 STLink ---
  110. ST-Link firmware version: V2J38M27
  111. Leaving MASS Mode
  112. Running in Test Mode
  113. Target voltage: 3.23V
  114. Divisor for 4.000MHz is 0
  115. Speed set to 3.600MHz for SWD
  116. Leaving MASS Mode
  117. DP DPIDR 0x5ba02477 (v2 rev5) designer 0x43b partno 0xba
  118. TARGETID 0x14520041 designer 0x20 partno 0x4520
  119. adiv5: power-down failed
  120. AP   0: IDR=74770001 CFG=00000000 BASE=e00fd000 CSW=a3800040 (AHB3-AP var0 rev7)
  121. Halt via DHCSR(00030003): success after 4ms
  122. ROM Table: BASE=0xe00fd000 SYSMEM=1, Manufacturer 020 Partno 452 (PIDR = 0x00001a0452)
  123. ROM Table: BASE=0xe00fe000 SYSMEM=1, Manufacturer 43b Partno 4c8 (PIDR = 0x04000bb4c8)
  124. ROM Table: BASE=0xe00ff000 SYSMEM=1, Manufacturer 43b Partno 4c7 (PIDR = 0x04000bb4c7)
  125.   0 0x0e000e000: Generic IP component - Cortex-M4 SCS (System Control Space) (PIDR = 0x04000bb00c DEVTYPE = 0x00 ARCHID = 0x0000)
  126.   -> cortexm_probe
  127. CPUID 0x411fc271 (M7 var 1 rev 1)
  128. cortexm_probe: Examining Part ID 0x4520, AP Part ID: 0x0452
  129. Calling stm32f1_probe
  130. Calling stm32f4_probe
  131.   1 0x0e0001000: Generic IP component - Cortex-M3 DWT (Data Watchpoint and Trace) (PIDR = 0x04000bb002 DEVTYPE = 0x00 ARCHID = 0x0000)
  132.   2 0x0e0002000: Generic IP component - Cortex-M7 FBP (Flash Patch and Breakpoint) (PIDR = 0x04000bb00e DEVTYPE = 0x00 ARCHID = 0x0000)
  133.   3 0x0e0000000: Generic IP component - Cortex-M3 ITM (Instrumentation Trace Module) (PIDR = 0x04000bb001 DEVTYPE = 0x00 ARCHID = 0x0000)
  134.   4 Entry 0xfff41002 -> Not present
  135.   5 Entry 0xfff42002 -> Not present
  136.   ROM Table: END
  137.  1 0x0e0041000: Debug component - Cortex-M7 ETM (Embedded Trace) (PIDR = 0x04001bb975 DEVTYPE = 0x13 ARCHID = 0x4a13)
  138.  2 Entry 0xfff45002 -> Not present
  139.  3 Entry 0x1ff02002 -> Not present
  140.  ROM Table: END
  141. 1 0x0e0040000: Debug component - Cortex-M7 TPIU (Trace Port Interface Unit) (PIDR = 0x04000bb9a9 DEVTYPE = 0x11 ARCHID = 0x0000)
  142. 2 Entry 0x1ff03002 -> Not present
  143. 3 Entry 0x1ff03002 -> Not present
  144. ROM Table: END
  145. ***  1   STM32F72x M7
  146. ST-Link v2/v3 adaptors cannot handle multi-drop correctly, pretending everything's fine
  147. RAM   Start: 0x00000000 length = 0x4000
  148. RAM   Start: 0x20000000 length = 0x20000
  149. RAM   Start: 0x20020000 length = 0x60000
  150. Flash Start: 0x00200000 length = 0x10000 blocksize 0x4000
  151. Flash Start: 0x08000000 length = 0x10000 blocksize 0x4000
  152. Flash Start: 0x08010000 length = 0x10000 blocksize 0x10000
  153. Flash Start: 0x08020000 length = 0x60000 blocksize 0x20000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement