Skip to content

Commit b4b4d05

Browse files
committed
Profiling on Cortex-M: fix typo in openOCD command
1 parent 6247821 commit b4b4d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2020-06-02-profiling-firmware-on-cortex-m.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Using OpenOCD, we write the register so that PCSAMPLEENA = 1, CYCCNTENA = 1,
301301
CYCTAP = 1, and POSTPRESET = 3. This requires the following command:
302302

303303
```
304-
(gdb) monitor mmw 0xE0001000 0x1207 0x103FF
304+
(gdb) monitor mww 0xE0001000 0x1207 0x103FF
305305
```
306306

307307
Last but not least, we enable ITM port 0 which is a built in openOCD feature:

0 commit comments

Comments
 (0)