📄 basic-dhrystone-project.html
字号:
<!DOCTYPE PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Atmel Corporation - Basic Dhrystone 1.4</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<h1>Basic Dhrystone Project 1.4</h1>
<div id="breadcrumb">
<a href="../index.html">Main</a> >
<a href="examples.html">Examples</a> >
Dhrystone
</div>
<h2>Purpose</h2>
<p>
This application measures how many dhrystone per seconds that the chip can
produce under several different configurations.
</p>
<div class="requirements">
<h2>Hardware Requirements</h2>
<p>
This package can be used with the following Atmel evaluation kits:
<ul>
<li>AT91SAM7S-EK</li>
<li>AT91SAM7A3-EK</li>
<li>AT91SAM7SE-EK</li>
<li>AT91SAM7X-EK</li>
<li>AT91SAM9261-EK</li>
<li>AT91SAM9263-EK</li>
<li>AT91SAM9RL-EK</li>
<li>AT91SAM9XE-EK</li>
<li>AT91SAM9G20-EK</li>
<li>AT91CAP9-DK</li>
<li>AT91CAP9-STK</li>
</ul>
</p>
</div>
<h2>Description</h2>
<p>
When launched, this program displays a menu on the DBGU, enabling the user
to choose between several options:
<ul>
<li>Change the processor & master clock frequencies</li>
<li>Enable or disable the processor instruction cache (SAM9 only)</li>
<li>Start a dhrystone measurement</li>
</ul>
</p>
<h2>Usage</h2>
<ol>
<li>
Build the program and download it inside the evaluation board. 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>
On the computer, open the DBGU port with a terminal application
(e.g. HyperTerminal on Microsoft Windows).
</li>
<ul>
<li>Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.</li>
</ul>
<li>
Start the application.
</li>
<li>
The application menu should appear as shown below (example for AT91SAM9263):
<blockquote>
<code>
-- Basic Dhrystone Project 1.4 --<br />
<br />
Menu :<br />
------<br />
0: Set PCK = 240 MHz, MCK = 120 MHz<br />
1: Set PCK = 120 MHz, MCK = 120 MHz<br />
2: Set PCK = 96 MHz, MCK = 48 MHz<br />
3: Set PCK = 48 MHz, MCK = 48 MHz<br />
i: Toggle instruction cache<br />
m: Perform measurements<br />
h: Display this menu again<br />
</code>
</blockquote>
Select one or more options to set the configuration of the device, then
start a measurement by typing 'm'.
</li>
</ol>
<h6>Atmel Corporation ©2008</h6>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -