Problem with GDB arm debugging [message #1235335] |
Fri, 24 January 2014 04:53 |
Hoxford B Messages: 3 Registered: January 2014 |
Junior Member |
|
|
I am attempting to debug a simple arm based c project. I keep getting a pop up error window containing the following error when ever I attempt to debug the program:
Error
Exception occurred during launch
Reason:
Error within Debug UI:
java.lang.reflect.InvocationTargetException
See attached file for full error log.
The target I am attempting to debug is the STM32F4_Discovery board. I am using GNU Arm tools to build the project, ST-Util or OpenOCD for the target gdb server, and GNU's arm-none-eabi-gdb for debugging.
Focusing on how I set up my external tool for the target gdb server I am using the following settings:
Location: dirpath\st-util.exe
Arguments: -m , so the gdb server wont quit, I get the same error with out the argument.
For debugging I am using the following settings:
GDB Hardware Debugging
GDB Command: arm-none-eabi-gdb
Remote Target: Generic TCP/IP localhost 4242
Startup: UN-checked Reset and Halt, added the command: monitor reset halt, unchecked Set program counter at, checked Set breakpoint at main, unchecked Resume, added the command continue
Using Standard GDB Hardware Debugging Launcher
Unchecked Launch in backgound under the common tab.
ANY help with this problem would be much appreciated. I feel I have scoured the internet to no avail with assistance with this problem. Thanks in advance.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05556 seconds