Skip to content

Instantly share code, notes, and snippets.

@mirao
Created August 31, 2019 19:05
Show Gist options
  • Save mirao/30c026ee119de72a6cd8c12617d7d7f3 to your computer and use it in GitHub Desktop.
Save mirao/30c026ee119de72a6cd8c12617d7d7f3 to your computer and use it in GitHub Desktop.
Mode details: https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules
Reading symbols from /home/mira/workspace/stm32f4discovery/stm32cube-virtualCOMPort/.pio/build/disco_f407vg/firmware.elf...
done.
PlatformIO Unified Debugger -> http://bit.ly/pio-debug
PlatformIO: debug_tool = stlink
PlatformIO: Initializing remote target...
GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:18)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
none separate
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : tcl server disabled
Info : telnet server disabled
Info : clock speed 2000 kHz
Info : STLINK V2J34M25 (API v2) VID:PID 0483:374B
Info : Target voltage: 2.887920
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection from pipe
target halted due to debug-request, current mode: Thread
xPSR: 0x41000000 pc: 0x08000930 msp: 0x2001ffc0
Info : device id = 0x10076413
Info : flash size = 1024 kbytes
Info : flash size = 512 bytes
0x08000930 in main () at Src/main.c:124
124 } else if (BSP_PB_GetState(BUTTON_KEY) == GPIO_PIN_RESET && lastPushButtonState == GPIO_PIN_SET) {
Temporary breakpoint 1 at 0x80008c4: file Src/main.c, line 75.
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080046f0 msp: 0x20020000
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080046f0 msp: 0x20020000
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080046f0 msp: 0x20020000
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
adapter speed: 4000 kHz
Loading section .isr_vector, size 0x188 lma 0x8000000
Loading section .text, size 0x45d4 lma 0x8000188
Loading section .rodata, size 0x1e0 lma 0x800475c
Loading section .ARM, size 0x8 lma 0x800493c
Loading section .init_array, size 0x4 lma 0x8004944
Loading section .fini_array, size 0x4 lma 0x8004948
Loading section .data, size 0x360 lma 0x800494c
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080046f0 msp: 0x20020000
Start address 0x80046f0, load size 19628
Transfer rate: 17 KB/sec, 2453 bytes/write.
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080046f0 msp: 0x20020000
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080046f0 msp: 0x20020000
PlatformIO: Initialization completed
PlatformIO: Resume the execution to `debug_init_break = tbreak main`
PlatformIO: More configuration options -> http://bit.ly/pio-debug
Note: automatically using hardware breakpoints for read-only addresses.
Temporary breakpoint 1, main () at Src/main.c:75
75 int main(void) {
pio_reset_target
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment