Configuring the System Designer License .........3-3 3.4.3 Testing the System Designer License ..........3-3 3.4.4 Troubleshooting..................3-3 Section 4 Using System Designer ................ 4-1 Preparing the Example Files ..............4-1 Design Flow ....................4-2 Synthesizing the FPGA Source File............4-8 FPGA Place and Route................4-11 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
In addition to adding support for new devices, it also adds new support for peripherals previously not supported by the STK500. An additional RS-232 port and a Two-Wire Serial Interface are among the new features. Figure 1-1. STK594 Top Module for STK500 FPSLIC STK594 User Guide Rev. 2819D–FPSLI–11/04...
Page 5
Supports AT94KAL and AT94KAX Devices Supports all Added Features in FPSLIC Devices JTAG Connector for On-chip Debugging Using JTAG ICE Additional RS-232C Port with Available RTS/CTS Handshake Lines On-board 32 kHz Crystal for Easy RTC Implementations FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Figure 2-1 STK500 Starter Kit on page 2. The EXPAND0 written on the STK594 top module should match the EXPAND0 written beside the expansion header on the STK500 board. FPSLIC STK594 User Guide Rev. 2819D–FPSLI–11/04...
PORT E Note: Port E is also present on the STK500, but only PE0 to PE2 (3 least significant bits) are accessible. To access all Port E bits the connector on the STK594 must be used. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Any parts with a J after their date code support JTAG. Example, 4201J. Figure 2-4 shows how to connect the JTAG ICE probe on the STK594 board. Figure 2-4. Connecting JTAG ICE to the STK594 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
RXD and TXD on the STK594 board. Note: If no software RTS/CTS flow control is implemented, a jumper shorting RTS and CTS will ensure correct communication with an external application that uses such flow control. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
I/O pins for the External Interrupts rather than sharing with the general purpose Interrupts I/O pins. Figure 2-10 shows the pinout of a header for the dedicated External Interrupt pins. Figure 2-10. External Interrupt Header INTP0 INTP1 INTP2 INTP3 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
AT94K device will reset and initiate a configuration download from the con- figuration memory. The reset switch found on the STK500 is connected to the AVRRESET. When pressed, the embedded AVR microcontroller resets and begins execution at location $0000. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
It is possible to configure a floating network license through the security dongle. The security dongle allows users to use the software dongle on different machines by removing and placing the dongle on other machines. FPSLIC STK594 User Guide Rev. 2819D–FPSLI–11/04...
Request License button, alternatively the direct link for the license request page is http://www.atmel.com/atmel/products/prod39r.htm. Note: The Serial Number is located on the white sticker on the underside of the STK594 board or on the System Designer case. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
> Leonardo Spectrum. If LeonardoSpectrum launches without any licensing errors, then the LeonardoSpectrum license has been successfully installed. 3.4.4 Troubleshooting You can access the trouble shooting guide from Start > Programs > Atmel > Trouble Shooting Guide. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 15
Installing System Designer FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Atmel web site. Figure 4-2 outlines the design flow followed in this tutorial. For more information on a specific step, consult the appropriate section within this tutorial. Figure 4-2. Design Flow Microcontroller Assembly AVR <> FPGA FPGA Bitstream Interface Place & Route Generation HDL Synthesis FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 18
Figure 4-3. New Project Wizard Window - Step 1 of 6 3. Press Next. The window to create a project file opens, see Figure 4-4. Figure 4-4. New Project Wizard Window - Step 2 of 6 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 19
STK594 development board, and press Next. The software tool flow window opens, see Figure 4-6. Note: 1. Some boards use AT94K40AL-25DQC devices. Figure 4-6. New Project Wizard Window - Step 4 of 6 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 20
Figure 4-7. New Project Wizard Window - Step 5 of 6 Figure 4-8. New Project Wizard Window - Step 6 of 6 7. Press Finish to exit the New Project Wizard. The project window now contains the TUTORIAL design, see Figure 4-9. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 21
Using System Designer Figure 4-9. Project Window 8. From the System Designer desktop, click on the Part Graphic (see Figure 4-9) to switch to the Design Flow Manager, see Figure 4-10. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 22
This tutorial will only show the minimum steps in order to complete a design. The remainder of the steps involves simulation and co-verification. For further information on simulation and co-verification, please consult the “Quick Start Tutorial” available on the Atmel web site. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
FPGA Place and Route tool. FPGA Source File 2. Press the Synthesis Tool button. A dialog box to add VHDL files appears, see Figure 4-12. Figure 4-12. Add VHDL Files Dialog Box FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 24
COUNTER.V under Input. Leonardo also lists COUNTER.edf under Output. 6. Press Run Flow. Figure 4-13 shows a successful synthesis. Figure 4-13. Leonardo Spectrum, Successful Synthesis 7. Close Leonardo Spectrum, when prompted to save your project press No. FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 25
7. Uncheck Generate Template Test Bench File on the bottom left-hand side of the Select Ports dialog. Since we are not performing co-verification, it is not neces- sary to generate the pre-layout test bench file. 8. Press OK. 4-10 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Figure 4-16. Figaro Batch Options Dialog The Figaro Batch Options allows for the setting of various Figaro FPGA compiler constraints. This includes I/O Pin Locking, I/O Pad Attributes and Place & Route quality effort levels. FPSLIC STK594 User Guide 4-11 2819D–FPSLI–11/04...
Page 27
Place & Route, see the online help for further information. c. Press Compile, once completed the Figaro IDS Compile button will turn green. d. Select Exit from the File menu, when prompted to save your design select Yes. 4-12 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 28
4. Select the FPSLIC Control Register Settings tab and use the default settings, see Figure 4-18. 5. Be sure to uncheck the Program Configurator option under the Bitstream Down- load section of the FPSLIC Control Register Settings tab. FPSLIC STK594 User Guide 4-13 2819D–FPSLI–11/04...
Page 29
FPSLIC device. To include only the AVR HEX file, simply uncheck the Include FPGA Bitstream box. Programming only the FPGA portion can be done in a similar fashion. 4-14 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Prior to providing power to the STK500 development board it is necessary to adjust the VTARGET supplied by the STK500 to the STK594, for more informa- tion on this adjustment please refer to Section 2.1.1. FPSLIC STK594 User Guide 4-15 2819D–FPSLI–11/04...
Press Yes to proceed with calibration and select High for accurate calibration. The Checksum is the number of data bits found in the BST file, and it can be used to check if the data is corrupted during programming. 4-16 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 32
LEDs on the STK500 begin to count, the configuration has occurred. If the configu- ration does not occur, press the RESET button found on the STK594 board to initiate a configuration download. Alternatively, power-cycling the STK500 will also initiate a configuration download. FPSLIC STK594 User Guide 4-17 2819D–FPSLI–11/04...
Page 33
Using System Designer 4-18 FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Section 6 Complete Schematics See the following pages the complete schematics and assembly drawings of the STK594. FPSLIC STK594 User Guide Rev. 2819D–FPSLI–11/04...
Page 38
Complete Schematics FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 39
Complete Schematics FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 40
CCLK CCLK cSCL cSDA cSCL cSDA DATA INIT INIT RESET/OE cSER_EN SER_EN cSER_EN SER_EN AT17LV010/LAP CON10A RESET RESET 1N4001 0.003 uF SW 4PDT 0.1 uF Title STK594 : In-System Programming Circuitry Size Document Number CHW5472 Rev A Date: Friday, April 26, 2002 Sheet 4 of 6...
Page 41
VOUT VOUT VOUT VOUT ADJ/GND CON3 10 uF 10 uF LT1117-1.8/SOT T POINT F T POINT F T POINT F Title STK594 : Split Power Rail Circuitry Size Document Number CHW5472 Rev A Date: Friday, April 26, 2002 Sheet 5 of 6...
Page 42
0.1 uF R2OUT R2IN R1OUT R1IN T1IN T1OUT T2IN T2OUT 0.1 uF CONNECTOR DB9 0.1 uF MAX3232 0.1 uF 0.1 uF Title STK594 : RS-232 Spare #2 Circuitry Size Document Number CHW5472 Rev A Date: Friday, April 26, 2002 Sheet 6 of 6...
Page 43
Complete Schematics FPSLIC STK594 User Guide 2819D–FPSLI–11/04...
Page 44
ATMEL CONFIDENTIAL Atmel Corporation Atmel Operations 2325 Orchard Parkway Memory RF/Automotive San Jose, CA 95131, USA 2325 Orchard Parkway Theresienstrasse 2 Tel: 1(408) 441-0311 San Jose, CA 95131, USA Postfach 3535 Fax: 1(408) 487-2600 Tel: 1(408) 441-0311 74025 Heilbronn, Germany Fax: 1(408) 436-4314 Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340...
Need help?
Do you have a question about the FPSLIC STK594 and is the answer not in the manual?
Questions and answers