8

Does anyone have other solutions for connecting to a remote ARM target without IDA? This is the question and below I give examples of setup's i have tried, should anyone be interested.

Update: updated Codeworks test for remote gdb

Update: GDB setup fixed

I have been looking at a ARM hardware target and have a stable JTAG connection using J-Link. Attempts to get IDA working nicely with the target fail via the JLinkGDBServer. JLinkExe works just fine. As a baseline with JlinkExe I can halt, go and single step. In IDA on connect it attempts to halt and does not notice that the PC (Program Counter) is NOT at 0x0. At this point it gets out of sync and causes the device to halt or jump to a error loop of the device, and IDA does not get the PC to follow it properly.

So I've been looking at other solutions: GDB directly, Eclipse, Codeblocks.

GDB->JlinkGDBServer - stable: works pretty well thus far

Eclipse->JlinkGDBServer - issue with init: after adding the Hardware GDB Debugger from http://download.eclipse.org/tools/cdt/releases/helios I can set the debugger for an empty project to point to the GDBServer but any time I attempt to attach or debug it complains that it cannot start target. I'm not sure how to get it working without source code of target.

Codeblocks->GDB->JlinkGDBServer - works: codeworks Does support remote GDB when you setup an empty project. The Remote settings are in the Project settings. (remote gdb is not started for global debugging settings). Stability similar to GDB though the disassembly window in codeblocks is not working. Could just be me.

At the moment I'm back to IDA and likely writing my own JLink Debugger plugin for it based on http://idaproarmdebug.sourceforge.net

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.