HP (Hewlett-Packard) EZ-KIT Switch User Manual


 
Example 6: Displaying a Bitmap File on the EZ-KIT Lite
5-4 Getting Started with ADSP-BF548 EZ-KIT Lite
VisualDSP++ 5.0 includes full documentation about the LCD device
driver.
Example 6: Displaying a Bitmap File on
the EZ-KIT Lite
This chapter’s example program (Example_6.dpj) uses the facilities of the
FSS and LCD driver to read a bitmap image from the EZ-KIT Lite hard
disk and to display the image on the LCD. There is remarkably little
application-level code needed to achieve the result, but before examining
the code, we will examine the project set-up. Note that FSS requires only a
few non-default project settings.
Example 6: Project Options
Open the Example_6.dpj file in VisualDSP++ and examine the Project
window (Figure 5-1).
There is a new Generated Files folder with source files in the Startup and
User Heap subfolders. What are these source files and why do we need
them? The files were generated automatically when the project was created
in response to customization options for an extra user-defined heap and
for modifiable memory cache control tables. We need an extra heap for
FSS’s use; we also need to modify the cache characteristics of the memory
area that the heap occupies. The project’s linker description file
(
Example_6.ldf) was also created automatically; the .ldf file plays an
important part in defining the system and user heaps.
To see the customizations made when the project was created, open the
project’s options viewer using the Project–>Project Options menu selec-
tion or by right-clicking the project name in the Project window and
selecting Project Options. In the project tree control, scroll down to the
LDF Settings node and select the User Heap item (Figure 5-2).