From: Liviu I. <il...@li...> - 2024-06-20 05:40:19
|
I'm trying to run some unit tests on a Nucleo-H745ZI, but openOCD is not happy with the device: ``` 1: Test command: /Users/ilg/MyProjects/micro-os-plus.github/micro-os-plus-iii/micro-os-plus-iii.git/tests/build/nucleo-h743zi-cmake-debug/xpacks/.bin/openocd "-c" "gdb_port disabled" "-c" "tcl_port disabled" "-c" "telnet_port disabled" "-f" "interface/stlink-dap.cfg" "-f" "target/stm32h7x.cfg" "-c" "program rtos-apis-test.elf verify" "-c" "arm semihosting enable" "-c" "arm semihosting_cmdline rtos-apis-test" "-c" "reset" 1: Working Directory: /Users/ilg/MyProjects/micro-os-plus.github/micro-os-plus-iii/micro-os-plus-iii.git/tests/build/nucleo-h743zi-cmake-debug/platform-bin 1: Test timeout computed to be: 10000000 1: xPack Open On-Chip Debugger 0.12.0+dev-01621-gd4607c225-dirty (2024-06-18-23:02) 1: Licensed under GNU GPL v2 1: For bug reports, read 1: http://openocd.org/doc/doxygen/bugs.html 1: Info : auto-selecting first available session transport "dapdirect_swd". To override use 'transport select <transport>'. 1: Error: read version failed 1: ** OpenOCD init failed ** 1: shutdown command invoked 1: ``` The configuration is a copy/paste from another one that runs fine on a Nucleo-F767ZI board. openOCD is compiled from the top git commit, plus the patch to fix the Cortex-M7 bug. I also tried `target/stm32h7x_dual_bank.cfg` and `board/st_nucleo_h745zi.cfg`, with the same result. Any suggestions? Liviu |