lcd-slideshow-project.html
来自「Development tools for the AT91CAP9-DK.Ex」· HTML 代码 · 共 116 行
HTML
116 行
<!DOCTYPE PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Atmel Corporation - LCD Slideshow 1.4</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<h1>LCD Slideshow Project 1.4</h1>
<div id="breadcrumb">
<a href="../index.html">Main</a> >
<a href="examples.html">Examples</a> >
LCD Slideshow
</div>
<h2>Purpose</h2>
<p>
This application displays a slideshow on the on-board LCD screen. Images (in
BMP format) can be added to the slideshow by sending them through a USB virtual
COM port created by the program.
</p>
<div class="requirements">
<h2>Hardware Requirements</h2>
<p>
This package can be used with the following Atmel evaluation kits:
<ul>
<li>AT91SAM9261-EK</li>
<li>AT91SAM9263-EK</li>
<li>AT91SAM9RL-EK</li>
</ul>
</p>
</div>
<h2>Description</h2>
<p>
When executed, the application waits for incoming BMP files over the USB. When
at least one file has been received, a slideshow animation begins. It shows each
image during two seconds before switching to the next one.
</p>
<p>
This example uses the USB to create a virtual COM port on the host. This enables
easy transfer of image files, since any terminal application can be used for that.
<strong>Images must be transferred as a raw stream of data, i.e. without using
any protocol such as XMODEM</strong>.
</p>
<h2>Usage</h2>
<ol>
<li>
Build the application.
</li>
<li>
Optionally, the DBGU port of the board can be connected to the PC and opened
using a terminal application. Debug traces generated by the software will be
available that way.
</li>
<ul>
<li>Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.</li>
</ul>
<li>
Download the application inside the microcontroller memory and run it. Please refer
to the <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6132.pdf">SAM-BA User Guide</a>,
the <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6310.pdf">GNU-Based Software Development</a>
application note or to the <a href="http://www.iar.se/website1/1.0.1.0/78/1/index.php?">IAR EWARM User Guide</a>,
depending on your chosen solution.
</li>
<li>
The following message should be displayed on the DBGU:
<blockquote>
<code>
-- LCD Slideshow Project 1.4 --<br />
</code>
</blockquote>
</li>
<li>
Connect the USB cable between the evaluation board and the computer. On
Microsoft Windows, a driver may be required when the device is plugged for
the first time. Point the installation wizard to the
<strong>at91lib/usb/device/cdc-serial/drv</strong> directory and select the
.inf file located inside it.
</li>
<li>
After the device is enumerated properly by the host, a virtual COM port will
be created. The application will then wait for BMP files to be sent. This is
notified by the message below:
<blockquote>
<code>
Ready to receive BMP file #0.
</code>
</blockquote>
</li>
<li>
Open the virtual COM port using a terminal application.
</li>
<li>
Send a BMP image using the terminal to add it to the current slideshow. The
BMP must have the following format:
<ul>
<li>Width: 240 pixels</li>
<li>Height: 320 pixels</li>
<li>Color resolution: 8- or 24-bits</li>
</ul>
<strong>Note 1</strong>: depending on the terminal application, it may be
necessary to select a "binary" transfer mode for the correct data to be sent.
<br />
<strong>Note 2</strong>: several terminal applications, such as HyperTerminal, use a very
inefficient packet size when transferring data. This may result in a slow
data rate.
</li>
</ol>
<h6>Atmel Corporation ©2008</h6>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?