Can't program/debug STM32F746ZGT6 from System Workbench
I tried to create (using the “New” Wizard) multiple projects with a variety of settings just so I can find a way to connect to my custom board.
The last one I made is a C project, an executable of type “AC6 STM32 MCU GCC”; using the “AC6 STM32 MCU GCC” toolchain.
Custom board using “STM32F746ZGTx” mcu, ST-LinkV2 device; SWD interface.
Project Firmware Configuration: “Cube HAL”
No other drivers or utilities selected.
Hust a counter added to “main” just in case.
I can build succesfully.
I CAN program my custom board using the STM32 ST-Link utility.
I use an STM32F4-Discovery board as an ST-Link-V2 programmer. The FW has been upgraded; here is output from ST-Link utility:
“11:03:37 : ST-LINK SN : 51FF72064983485233342387
11:03:37 : ST-LINK Firmware version : V2J24S0
11:03:37 : Connected via SWD.
11:03:37 : SWD Frequency = 1,8 MHz.
11:03:37 : Connection mode : Normal.
11:03:37 : Debug in Low Power mode enabled.
11:03:37 : Device ID:0x449
11:03:37 : Device family TM32F74x/F75x”
I can’t program/debug using the System Workbench.
I tried all sort of fixes I found on your forum and elsewhere.
Errors I get from various levels/sources:
>>>
Open On-Chip Debugger 0.9.0-dev-00415-g2d4ae3f-dirty (2015-06-12-17:54)
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
adapter speed: 1800 kHz
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
Error: open failed
in procedure ‘init’
in procedure ‘ocd_bouncer’