Professional Documents
Culture Documents
Debugging
Debugging an application in an
MMUless environment can also be more
time consuming. Typically, debugging
has to be done at arms length from the
hardware and frequently without a
console, over something simple such as
a serial port. Recently, some silicon
vendors have compounded the
obstacles in debugging. For example, a
lack of memory access alignment error
trapping creates additional debug work.
Without this error trapping built into
hardware, unaligned memory access
errors may pass through the system
without the system reporting it. The
system may still function indefinitely
though usually unreliably. Without this
trapping, developers need to forensically
examine all the code that could have
potentially run on the system to
determine the origin of the alignment
error prior to debugging the underlying
problem. On the other hand, silicon
manufacturers such as Motorola have
offered hardware debug options such as