Digital Signal Processing Reference
In-Depth Information
2. Load a small (~20KB) JPEG image onto a USB flash drive. Insert the drive into the USB
slot on the DE2 board. Mount the drive as discussed in the chapter and use the nxview
program to display the image. Make sure that there is sufficient memory available before
you run the nxview program.
3. Follow the instructions in the chapter for establishing a network connection on the DE2
board and starting the boa web server. To demonstrate the working system, open a web
browser on your PC and view the web page being served by the web server by entering
the DE2 board's IP address as the URL in the web browser.
4. Using the ps, kill, and free commands, try stopping and starting the nano-X, nanowm,
and other graphical programs one at a time. Record the approximate memory required for
each program to run. Create a table that lists the processes and memory requirements for
at least five µClinux programs.
5. Using the ps, kill, and free commands, try stopping and starting the dhcdcd, inetd,
telnetd, ftpd, and boa programs one at a time. Record the approximate memory required
for each program to run. Create a table that lists the processes and memory requirements
for these five µClinux programs.
6. Create a new HTML page on your PC and save it to a USB flash drive. Insert the drive
into the USB slot on the DE2 board. Mount the drive as discussed in the chapter. Delete
the /home/httpd/index.html file using the rm command. Then replace the index.html file
with a symbolic link to the HTML page on your flash drive using the ln command.
Verify that your system displays the new web page by opening a web browser on your
PC and viewing the web page being served by the web server (enter the DE2 board's IP
address as the URL in the web browser).
7. Obtain the licenses needed for the MicroC/OS-II Nios II OS port. The license for the
Nios II MicroC/OS-II port is available from Micrium (www.micrium.com) and a full
commercial license for the Altera tools for schools is available from Altera's University
Program (www.altera.com). Micrium also offers free OS licensing for universities and
students. Follow the steps in Altera's MicroC/OS-II tutorial (available on the DVD or at
Altera's web site) to develop MicroC/OS-II for a Nios II reference design and run an
application program on a DE board. Use the Cyclone II reference design and complete all
steps up to the point where the board is downloaded. Currently, the older 6.1 version of
the Quartus II and Nios II tools are required, but an updated version of the tutorial may
be available soon.
8. For a challenging problem, a Reference design is provided with the MicroC/OS-II
tutorial for commercial Cypress II FPGA boards. Consult this reference design to aid in
modifying your DE Nios II reference design so that it is setup correctly to support
MicroC/OS-II. Check Altera's website for newer versions as they become available.
Search WWH ::




Custom Search