after a few month of not doing any daisy programming I came back to my project,
I have been having issues being able to connect the stlink v3mini … I did update all latest libDaisy and DaisySP git hub repros to the latests (and their submodules), updated my arm toolchain, brew update, all that stuff… not sure if there’s something in that which broke it for me…
I also can’t program the daisy with it, but I can still put the daisy in DFU mode to program it…
here’s some terminal output, any help or ideas of things to try would be appreciated,
thanks!
It looks like it finds the Cortex chip, but can’t read to some memory space.
I get the same output trying to program both my project and the example projects.
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport “hla_swd”. To override use ‘transport select ’.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : clock speed 1800 kHz
Info : STLINK V3J7M2 (API v3) VID:PID 0483:374E
Info : Target voltage: 3.208522
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:
/usr/local/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 “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 170
in procedure ‘stm32h7x_mmw’ called at file “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 260
in procedure ‘stm32h7x_mrw’ called at file “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 242
at file “/usr/local/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:
/usr/local/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 “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 170
in procedure ‘stm32h7x_mmw’ called at file “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 260
in procedure ‘stm32h7x_mrw’ called at file “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 242
at file “/usr/local/share/openocd/scripts/target/stm32h7x.cfg”, line 237
Error: timed out while waiting for target halted
** Unable to reset target **
shutdown command invoked