So i select external tool "OCD on ST-LINK/V2", when prompted i select stm32f4discovery.cfg
Below is the console output, there is a warning/Error not sure what this is......
Open On-Chip Debugger 0.7.0 (2013-05-05-10:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.htmlWarn : Interface already configured, ignoring
Error: already specified hl_layout stlink
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : Target voltage: 2.897234
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
I then proceed to open debug session and get the following GDB Hardware Debugger error "Execution is suspended because of error" in the details it says
Execution is suspended because of error.
continue
The program is not being run.
In the console for the arm-none-eabi-gdb
symbol-file C:\\ChibiStudio\\chibios\\testhal\\STM32F4xx\\RTC\\build\\ch.elf
set remotetimeout 20
monitor reset init
"monitor" command not supported by this target.
monitor sleep 50
"monitor" command not supported by this target.
load C:\\ChibiStudio\\chibios\\testhal\\STM32F4xx\\RTC\\build\\ch.elf
You can't do that when your target is `None'
tbreak main
Cannot access memory at address 0x8000194
continue
The program is not being run.