Analog Devices ADSP-BF537 EZ-KIT Lite Getting Started page 77

Hide thumbs Also See for ADSP-BF537 EZ-KIT Lite:
Table of Contents

Advertisement

It is also interesting to look at the interaction between the
thread and the audio threads when volume change messages are processed.
It is highly unlikely that you can halt the processor in the midst of this
activity (which occurs once or twice a second). Instead, we will set a break-
point at a key location in the program. Open the
Caesar_Cipher_ThreadType.cpp
instruction
if ( 0 >= send (m_iSocket, m_vOutBuf, strlen (m_vOutBuf), 0) )
at the end of the
around line 72. You can set a breakpoint by positioning the cursor on the
desired line and pressing the F9 key. (Note the red circle placed in the gut-
ter bar of the editor window).
To reset your program, choose the Debug–>Reset menu item, then
File–>Reload Program. If you still are connecting via telnet, terminate the
session by pressing Ctrl+] and typing
program.
After halting this application (any application), you may find it
impossible to run the program again and pick up where you left
off. Typically, this is because various interrupts in the system went
un-serviced when you halted, placing the application into an
unknown state. When in doubt, reset and reload.
As done previously, wait for the assigned IP address to appear in the Out-
put window and then telnet to that address. You get the welcome message.
Then press the
(the audio pass-through, of course, also stops). Going back to the VDK
State History window, notice an interesting flurry of activity on the right
Getting Started with ADSP-BF537 EZ-KIT Lite
www.BDTIC.com/ADI
Controlling a real-time application via TCP/IP
file and place a breakpoint at the
Caesar_Cipher_ThreadType::Run()
key. VisualDSP++ quickly halts at the just-set breakpoint
+
member function,
in the DOS window. Run the
quit
Caesar Cipher
3-11

Advertisement

Table of Contents
loading

Table of Contents