File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,24 @@ _WORK IN PROGRESS_
8
8
9
9
10
10
11
- # Debug on stm32f4-discovery
11
+ # Debug on stm32f4-discovery GDB
12
12
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
14
14
15
15
- Start gdb (` arm-none-eabi-gdb ` )
16
16
- Issue command ` target extended-remote localhost:3333 ` or short version ` tar ext :3333 `
17
17
18
+ # Debug on stm32f4-discovery Telnet
19
+
20
+ - Run the ` debug.sh ` to start OpenOCD and connect to the board
21
+
18
22
- Telnet ` telnet localhost 4444 `
19
23
- load binary code into memory with command: ` load_image filename address `
20
24
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
+ ```
23
29
> arm disassemble 0x20000000 10
24
30
0x20000000 0x20ff MOVS r0, #0xff
25
31
0x20000002 0x21de MOVS r1, #0xde
You can’t perform that action at this time.
0 commit comments