Getting Started with ADSP-BF537 EZ-KIT Lite
2-9
Running a TCP/IP application on an ADSP-BF537 EZ-KIT Lite
6. Open the source file
lwip_sysboot_threadtype.c
. Add the follow-
ing line to the top of the file:
VDK_ThreadID g_AttenuatorID
.
7. Replace the function
lwip_sysboot_threadtype_RunFunction()
with the contents of
lwip_sysboot_threadtype_RunFunction() Implementation” on
page 2-12
. The new lines of code are delineated in italics.
Build and run the new project. As described earlier, the assigned IP
address is echoed to Vi+
Output
window.
Open the
Command Prompt
window again. This time, use the telnet
application to connect to the EZ-KIT Lite:
telnet xxx.xxx.xxx.xxx
Once connected, you receive the welcome message implemented in
Caesar_Cipher_ThreadType::Run()
. Type characters in the
Output
win-
dow—the letters
A
through
Z
(upper and lowercase) are incremented by
one, while non-letters are echoed back undisturbed (see
When finished, close the telnet session with
Ctrl+]
, then type
quit
at the
telnet prompt.
You can test the EZ-KIT Lite’s capability to handle multiple concurrent
connections by opening multiple command prompt windows and running
a telnet session in each of the windows. If you have access to multiple
computers on the same network, this is another means to effectively dem-
onstrate the ability to maintain multiple concurrent connections.
Figure 2-4. Telnet Command Prompt
www.BDTIC.com/ADI