Created
October 21, 2020 18:39
-
-
Save rubeniskov/ce217245a85558f3a971869ff7c57a51 to your computer and use it in GitHub Desktop.
arm-none-eabi-gdb +openocd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm-none-eabi-gdb \ | |
-iex 'target extended | openocd \ | |
--debug \ | |
-f interface/stlink.cfg \ | |
-f target/stm32f1x.cfg \ | |
-c "gdb_port pipe"' \ | |
-iex 'mon halt' \ | |
-iex 'mon tpiu config internal swo.log uart false 2000000' \ | |
-iex 'shell bash -m -c "orbuculum -f swo.log &"' \ | |
-iex "file $(pwd)/ucm.elf" \ | |
-iex 'shell bash -m -c "orbcat -c 0,%c &"' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment