I am using Arm Project Manager (APM) for writing the firmware in my ARM board. My question is: What are the live debugging features available in APM? Let's say I need to inspect the value at some pin of the CPU.

Any tutorial / video is helpful.

  • \$\begingroup\$ You mean this tool for which the documentation is marked as "Withdrawn" on infocenter.arm.com? That's worrisome. \$\endgroup\$ – Kevin Vermeer Mar 7 '11 at 19:54
  • \$\begingroup\$ Also, why don't you inspect the value of the pin with an oscilloscope or DMM - Is it a BGA or QFN with inaccessible tracks? The basic idea (which I've used in gdb) is to read the value at the memory address which stores the pin status. \$\endgroup\$ – Kevin Vermeer Mar 7 '11 at 19:56
  • \$\begingroup\$ Yes exactly. I don't get much help how to do debug in hardware with JTAG port using APM \$\endgroup\$ – David Mar 7 '11 at 19:57
  • \$\begingroup\$ when you use gdb to inspect the values, how do you do live debugging. how do you stop your processor at certain moment to inspect some value. In brief can you please describe me the debugging flow? \$\endgroup\$ – David Mar 7 '11 at 20:01
  • \$\begingroup\$ Briefly, monitor reset halt, b main(or other function), continue, s to desired point in program, x addr where addr is the desired location. Use OpenOCD to connect remotely. I started learning with this lab. However, this is really a different question. \$\endgroup\$ – Kevin Vermeer Mar 7 '11 at 20:24

The APM doesn't include a debugger. You need to use the debugger supplied in the ARM Software Development Toolkit.

I use the Rowley CrossWorks tools for ARM development. They come with an excellent debugger, which uses many of the more popular JTAG interfaces.

  • \$\begingroup\$ Your link was broken, and mine pointed to a broken site. For now, the PDF of the docs (see Ch. 3 for the debugger) is at this URL \$\endgroup\$ – Kevin Vermeer Mar 7 '11 at 20:03
  • \$\begingroup\$ i am novice in doing real time debugging in embedded. can you please point me to some pointers to get started. or please let me know the standard process used. \$\endgroup\$ – David Mar 7 '11 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.