1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>6.6.�Actel FlashPro Devices</title><link rel="stylesheet" href="cs.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Sourcery CodeBench Lite"><link rel="up" href="sprite.html" title="Chapter�6.�Sourcery CodeBench Debug Sprite"><link rel="prev" href="debug-sprite-rdi-url.html" title="6.5.�Remote Debug Interface Devices"><link rel="next" href="debug-sprite-altera-url.html" title="6.7.�Altera Devices"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">6.6.�Actel FlashPro Devices</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="debug-sprite-rdi-url.html">Prev</a>�</td><th width="60%" align="center">Chapter�6.�Sourcery CodeBench Debug Sprite</th><td width="20%" align="right">�<a accesskey="n" href="debug-sprite-altera-url.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="debug-sprite-flashpro-url"></a>6.6.�Actel FlashPro Devices</h2></div></div></div><p> 2 On Windows hosts, Sourcery CodeBench Lite supports FlashPro devices used with 3 Actel Cortex-M1 development kits. 4 </p><p> 5 For FlashPro devices, the <em class="replaceable"><code>device-url</code></em> 6 has the following form: 7 8 </p><pre class="screen">flashpro:[//<em class="replaceable"><code>usb12345</code></em>/][?jtagclock=<em class="replaceable"><code>rate</code></em>]</pre><p> 9 </p><p> 10 The optional <em class="replaceable"><code>usb12345</code></em> part indicates 11 the ID of the FlashPro device to connect to, which is useful if 12 you have more than one such device attached to your computer. 13 If the ID is omitted, the Debug Sprite connects automatically to 14 the first detected FlashPro device. 15 You can enumerate the connected FlashPro devices by invoking the 16 Sprite with the <code class="option">-i</code> switch, as follows: 17 18 </p><pre class="screen">> arm-none-eabi-sprite -i flashpro:</pre><p> 19 </p><p> 20 The <code class="literal">jtagclock</code> option allows the communication 21 speed with the target board to be altered. The 22 <em class="replaceable"><code>rate</code></em> is specified in Hz and may range between 23 93750 and 4000000. 24 The default is 93750, the slowest speed supported by the FlashPro device. 25 Depending on your target board, you may be able to increase this rate, 26 but beware that communication errors may occur above a certain threshold. 27 If you encounter communication errors with a higher-than-default speed 28 selected, try reducing the speed. 29 </p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id529666"></a>6.6.1.�Installing FlashPro Windows drivers</h3></div></div></div><p> 30 Windows drivers for the FlashPro device are included with the 31 FlashPro software provided by Actel. Refer to 32 Actel's documentation for details on installing this 33 software. You must use the Actel FlashPro software to configure 34 the FPGA on your Cortex-M1 board, but it does not need to be 35 running when using the Debug Sprite. 36 </p><p> 37 Once you have set up your board using the FlashPro software, 38 you can check that it is recognized by the Sourcery CodeBench Debug Sprite 39 by running the following command: 40 41 </p><pre class="screen">> arm-none-eabi-sprite -i 42flashpro: [jtagclock=<n:93750-4000000>] FlashPro 43 flashpro://usb12345/ - FlashPro Device 44 ...</pre><p> 45 46 If output similar to the above does not appear, your FlashPro 47 device is not working correctly. Contact CodeSourcery for 48 further guidance in that case. 49 </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="debug-sprite-rdi-url.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="sprite.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="debug-sprite-altera-url.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">6.5.�Remote Debug Interface Devices�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�6.7.�Altera Devices</td></tr></table></div></body></html> 50