Some progress, I can flash the board using AC6 plugin in eclipse using the elf produced by the makefile.
There is a problem with the reset though, so I had to add "reset_config none separate".
I am using the 7th pin from the left on the bottom of COMS/DBG for reset, is this correct?
The generated cfg with my reset edition is:
# This is an TestSTMFirmware board with a single STM32F730R8Tx chip
# Generated by System Workbench for STM32
# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)
source [find interface/stlink-v2.cfg]
set WORKAREASIZE 0x8000
transport select "hla_swd"
set CHIPNAME STM32F730R8Tx
set BOARDNAME TestSTMFirmware
# CHIPNAMES state
set CHIPNAME_CPU0_ACTIVATED 1
# Enable debug when in low power modes
set ENABLE_LOW_POWER 1
# Stop Watchdog counters when halt
set STOP_WATCHDOG 1
# STlink Debug clock frequency
set CLOCK_FREQ 8000
# use hardware reset, connect under reset
# connect_assert_srst needed if low power mode application running (WFI...)
reset_config srst_only srst_nogate connect_assert_srst
set CONNECT_UNDER_RESET 1
# BCTM CPU variables
source [find target/stm32f7x.cfg]
reset_config none separate
So this works when flashing from Eclipse, but when trying from the makefile I get the "Cannot identify target as a STM32 family." problem.
OpenOCD was installed using brew and the version is:
Mac-Pro:iceboot andrewcapon$ openocd --version
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
Getting quite confused here