Re: SW4STM32 or CubeMX to init STM32 device
I followed Bernars instructions.
My STM32CubeMX STM32F4Discovery project imported, I deleted Configuration from the entry in Build Artifact, I copied the Debug script from the AC6 installation and put it in the same folder as the Linker Script, I told the Debug Configuration to create a new Debug for AC6, I manualy set the Debug Script to local and then I plugged in the board and clicked on Debug.
The STLink activity light changed from red to green to red to green repeatedly, indicating that OpenOCD and StLink and the USB driver were talking to the board and the previous code loaded into the STM32F4Discovery board was overwritten.
IT WORKS.
Now to write some code to learn about the STM32. Thank you folks for System Workbench and I look forward to continuous improvements such as a tighter inegration with STM32CubeMX.
By the by, where does thta nasty Configuration entry come from, STM32CubeMX, eclipse, or CDT?