Halt Loop; Uart Isr - Analog Devices ADSP-2189M EZ-KIT Lite Manual

Evaluation system
Table of Contents

Advertisement

Standard Operations

Halt loop

The monitor program idles in the halt loop when the program is not run-
ning user code. While there, you can
registers, download programs, set breakpoints, change the UART's baud
rate, and single step through your code. To enter the halt loop from code,
you must suspend or stop the code, using either a breakpoint or a
instruction. At this point, the halt loop polls the UART. With every char-
acter received from the UART, the command-processing kernel verifies
whether a full command has been received. If a full command has been
received, the kernel processes the command; otherwise, control is returned
to the halt loop to wait for more characters. The only method of executing
your code once the halt loop has been entered is to send a
command in the debugger.
STEP

UART ISR

The UART Interrupt Service Routine (
code is running, but the host is still interacting with the board. As the host
sends bytes, the UART ISR takes the data stream from the UART and
builds the command. As with the halt loop, each character received is
passed to the command-processing kernel. Unlike the halt loop, the mon-
itor returns to your code immediately after the interrupt is serviced.
#
The following restrictions should be observed to ensure correct
board operation.
• The host loses contact with the monitor while the user program is
running if the user program disables the
the
Timer
2-8
interrupt vector.
ADSP-2189M EZ-KIT Lite Evaluation System Manual
and
memory and
READ
WRITE
ISR) is entered when your
Timer
interrupt or changes
Timer
HALT
or
RUN
SINGLE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-2189M EZ-KIT Lite and is the answer not in the manual?

Table of Contents