Skip to content

Commit 9e9713d

Browse files
committed
update readme
1 parent e7a8feb commit 9e9713d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@ _WORK IN PROGRESS_
88

99

1010

11-
# Debug on stm32f4-discovery
11+
# Debug on stm32f4-discovery GDB
1212

13-
- debug.sh script starts up OpenOCD and connects to the board
13+
- Run the `debug.sh` to start OpenOCD and connect to the board
1414

1515
- Start gdb (`arm-none-eabi-gdb`)
1616
- Issue command `target extended-remote localhost:3333` or short version `tar ext :3333`
1717

18+
# Debug on stm32f4-discovery Telnet
19+
20+
- Run the `debug.sh` to start OpenOCD and connect to the board
21+
1822
- Telnet `telnet localhost 4444`
1923
- load binary code into memory with command: `load_image filename address`
2024
For example: `load_image out.bin 0x20000000`
21-
- Disassemble loaded code:
22-
```
25+
26+
- Disassemble loaded code `arm disassemble address number-of-instructions`
27+
Example:
28+
```
2329
> arm disassemble 0x20000000 10
2430
0x20000000 0x20ff MOVS r0, #0xff
2531
0x20000002 0x21de MOVS r1, #0xde

0 commit comments

Comments
 (0)