Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 69700e1

Browse files
committed
add commented out ITM configuration
this got lost in a previous commit
1 parent e6dabb3 commit 69700e1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

openocd.gdb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ break main
1313

1414
monitor arm semihosting enable
1515

16+
# # send captured ITM to the file itm.fifo
17+
# # (the microcontroller SWO pin must be connected to the programmer SWO pin)
18+
# # 8000000 must match the core clock frequency
19+
# monitor tpiu config internal itm.txt uart off 8000000
20+
21+
# # OR: make the microcontroller SWO pin output compatible with UART (8N1)
22+
# # 8000000 must match the core clock frequency
23+
# # 2000000 is the frequency of the SWO pin
24+
# monitor tpiu config external uart off 8000000 2000000
25+
26+
# # enable ITM port 0
27+
# monitor itm port 0 on
28+
1629
load
1730

1831
# start the process but immediately halt the processor

0 commit comments

Comments
 (0)