- **status**: new --> closed
- **Resolution**:  --> Issue not in OpenOCD upstream



---

** [tickets:#361] STM32H7 flash error**

**Status:** closed
**Milestone:** 0.11.0
**Created:** Thu Sep 01, 2022 06:38 AM UTC by Mohos Tamás
**Last Updated:** Thu Sep 01, 2022 08:45 AM UTC
**Owner:** nobody


Hi,
I'm unable to flash to STM32H735IGT6 chips.  I can connect and read/write to 
flash  with the CubeProgrammer tool, using the same stlink and CPU.

arm-none-eabi-objcopy -O binary -S build/PCIO_20220609.elf 
build/PCIO_20220609.bin      
openocd -f interface/stlink.cfg -f target/stm32h7x_dual_core.cfg -c "program 
build/PCIO_20220609.elf verify reset exit"
Open On-Chip Debugger 0.11.0 (2021-11-18) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
C:/dev/tools/OpenOCD-20211118-0.11.0/bin/../share/openocd/scripts/target/stm32h7x_dual_core.cfg:3:
 Error: can't read "SYS": no such variable
in procedure 'script'
at file "embedded:startup.tcl", line 26
at file 
"C:/dev/tools/OpenOCD-20211118-0.11.0/bin/../share/openocd/scripts/target/stm32h7x_dual_core.cfg",
 line 3
make: *** [flash] Error 1

Can someone please help me to resolve this issue.
Thank you.


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to