Debugging aids

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1463
Joined: Fri Oct 19, 2012 5:11 am

Debugging aids

Post by YahooArchive » Sun Oct 28, 2012 7:36 pm

> Are there any PC based debugging aids (breakpoint insertion, single
> step etc) available for ARMExpress development ?

At present there are no ICE or JTAG tools for BASIC, frankly I have
yet to see a low-cost JTAG that works reliably with the GCC tools, and
nothing is worse than an flakey debugger.

BASIC allows a STOP which functions like a breakpoint, it allows you
to dump current variables and continue execution from where it is
placed.
At some point we'll also allow variables to be changed at the STOP.

Both C and BASIC run out of Flash which means that you are limited to
2 hardware breakpoints, which probably could do single step, but then
other breakpoints would have to be compiled in. This is a limit on
the builtin hardware of the ARM.

In both BASIC and C (by including breakpoint) you can read an write any memory location, which is useful for debugging the hardware peripherals



Post Reply