SmartFusion2: Difference between revisions

From ift
No edit summary
No edit summary
Line 61: Line 61:
=Tutorials=
=Tutorials=
Programming of the SF2 takes a loooong time, even before the activity light starts to flash on the FlashPro4. Don't despair, the program is probably not crashed.
Programming of the SF2 takes a loooong time, even before the activity light starts to flash on the FlashPro4. Don't despair, the program is probably not crashed.
The tutorials were made for an early version of Libero11, but the text has somewhat been updated to be in line with the release version of Libero11. In case of doubt, refer to the text and use common sense.
The tutorials were made for an early version of Libero11, but the text has somewhat been updated to be in line with the release version of Libero11. In case of doubt, refer to the text and use common sense. Some of the demo C code has also changed.
Add tips or corrections for tutorials below.
Add tips or corrections for tutorials below.


The tutorials are made for the SF2-STARTER-KIT-ES-2 which contains the BGA896 SF2 engineering sample (ES stamped on bottom left on chip). Newer starterkits may contain other devices and the device configuration would thus be different.
The tutorials are made for the SF2-STARTER-KIT-ES-2 which contains the BGA896 SF2 engineering sample (ES stamped on bottom left on chip). Newer starterkits may contain other devices and the device configuration would thus be different.
Most of the "answers for questions" strongly depend on the chip and the version of the software and thus are not correct.
==Tutorial 1: SF2 fabric==
==Tutorial 1: SF2 fabric==



Revision as of 09:16, 13 June 2013

Installation process

Download

Download from:

http://www.actel.com/download/software/liberosoc/files.aspx?os=WIN

Get a free 1 year license

Goto: http://www.actel.com/Portal/DPortal.aspx and choose "Libero Gold Node Locked for Windows" You need to register an account if you have not allready done so.

Find out your Disk Serial Number

Windows 8:

1. Open up a command prompt window by right clicking anywhere on the Start Screen and then click on "All apps". Scroll to the right until you find the "Windows System" section heading, and click on the "Command Prompt" tile.

2. Type in: vol.

3. The Volume Serial Number is the Disk Serial Number.

Windows XP / Windows Vista / Windows 7:

1. Open up a command prompt window (Start Menu > All Programs > Accessories > Command Prompt).

2. Type in: vol.

3. The Volume Serial Number is the Disk Serial Number.


It will take a couple of hours before the license arrives.


Install

Start LiberoSoCv11

  • Select Install Libero SoC (not the SA)
  • Select to install ALL
    • Synplify Pro
    • SoftConsole
    • Synphony
    • Identify
    • ModelSim
    • Fusion
    • Igloo, Igloo nano
    • Igloo Plus
    • Iglooe
    • ProAsic3
    • ProAsic3E
    • ProAsic3L
    • SmartFusion
    • SmartFusion2


Apply and install license if you not already have a license installed.

Start up Libero and select the tab marked "Catalog" in the bottom left. Press the button above saying to download new cores.

Tutorials

Programming of the SF2 takes a loooong time, even before the activity light starts to flash on the FlashPro4. Don't despair, the program is probably not crashed. The tutorials were made for an early version of Libero11, but the text has somewhat been updated to be in line with the release version of Libero11. In case of doubt, refer to the text and use common sense. Some of the demo C code has also changed. Add tips or corrections for tutorials below.

The tutorials are made for the SF2-STARTER-KIT-ES-2 which contains the BGA896 SF2 engineering sample (ES stamped on bottom left on chip). Newer starterkits may contain other devices and the device configuration would thus be different.

Most of the "answers for questions" strongly depend on the chip and the version of the software and thus are not correct.

Tutorial 1: SF2 fabric

Tutorial 2: SF2 ARM Cortex-M3

If you forget to check the box marked "Monitor FPGA fabric PLL Lock" in step 2 point 13 the output data from the SF2 over RS232 data will be garbled.

Tutorial 1: SF2 USB