Created
June 2, 2024 14:59
-
-
Save retif/cfcf003c7e75e6841c72b8e49d7ff277 to your computer and use it in GitHub Desktop.
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
//file .gdbinit | |
orbtrace -p vtref,3.3 -e vtref,on | |
//file board.ocd | |
source [find interface/cmsis-dap.cfg] | |
source [find target/stm32h7x_dual_bank.cfg] | |
//file linker.ld | |
https://gist.github.com/retif/8b6106beb179614b2912d4f6f7f23e0a | |
//command | |
openocd -f board.ocd -c "program ofiles/simple.elf" | |
//output | |
(base) alex@hp-laptop:~/projects/orbmule/examples/simple$ openocd -f board.ocd -c "program ofiles/simple.elf" | |
Open On-Chip Debugger 0.11.0 | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.org/doc/doxygen/bugs.html | |
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'. | |
Info : Using CMSIS-DAPv2 interface with VID:PID=0x1209:0x3443, serial=326C708163008E06 | |
Info : CMSIS-DAP: SWD Supported | |
Info : CMSIS-DAP: JTAG Supported | |
Info : CMSIS-DAP: FW Version = 2.1.0 | |
Info : CMSIS-DAP: Interface Initialised (SWD) | |
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 1 nRESET = 1 | |
Info : CMSIS-DAP: Interface ready | |
Info : clock speed 1800 kHz | |
Info : SWD DPIDR 0x6ba02477 | |
Info : stm32h7x.cpu0: hardware has 8 breakpoints, 4 watchpoints | |
Info : starting gdb server for stm32h7x.cpu0 on 3333 | |
Info : Listening on port 3333 for gdb connections | |
Error: timed out while waiting for target halted | |
embedded:startup.tcl:530: Error: ** Unable to reset target ** | |
in procedure 'program' | |
in procedure 'program_error' called at file "embedded:startup.tcl", line 567 | |
at file "embedded:startup.tcl", line 530 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment