Hi Antisvin,
Hope you are doing good, I’ve finally got the time to try this.
I’m receiving this error:
openocd -f /Users/Mac/Desktop/xibeca.cfg -c “program /Users/Mac/Desktop/ACDC.bin verify reset exit”
Open On-Chip Debugger 0.12.0
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
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : clock speed 1800 kHz
Info : STLINK V3J8M3 (API v3) VID:PID 0483:3754
Info : Target voltage: 3.301401
Info : [stm32h7x.cpu0] Cortex-M7 r1p1 processor detected
Info : [stm32h7x.cpu0] target has 8 breakpoints, 4 watchpoints
Error: read_memory: read at 0x5c001004 with width=32 and count=1 failed
Error executing event examine-end on target stm32h7x.cpu0:
/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg:237: Error: read_memory: failed to read memory
in procedure ‘program’
in procedure ‘stm32h7x_dbgmcu_mmw’ called at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 170
in procedure ‘stm32h7x_mmw’ called at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 260
in procedure ‘stm32h7x_mrw’ called at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 242
at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 237
Info : starting gdb server for stm32h7x.cpu0 on 3333
Info : Listening on port 3333 for gdb connections
Error: read_memory: read at 0x5c001004 with width=32 and count=1 failed
Error executing event examine-end on target stm32h7x.cpu0:
/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg:237: Error: read_memory: failed to read memory
in procedure ‘program’
in procedure ‘ocd_process_reset’
in procedure ‘ocd_process_reset_inner’ called at file “embedded:startup.tcl”, line 1193
in procedure ‘stm32h7x_dbgmcu_mmw’ called at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 170
in procedure ‘stm32h7x_mmw’ called at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 260
in procedure ‘stm32h7x_mrw’ called at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 242
at file “/opt/homebrew/Cellar/open-ocd/0.12.0/bin/…/share/openocd/scripts/target/stm32h7x.cfg”, line 237
Error: timed out while waiting for target halted
** Unable to reset target **
shutdown command invoked