Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll Title
anchorTable_AHW
titleAdditional Hardware

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

Additional HardwareNotes
Demo host computerDemo was created and tested on windows
Board
Micro USB to USB Type A CablePower supply over USB. Programming the board. Communication Interface with the board.
ETH cableEthernet configured to use DHCP. Configuration for use of a static IP possible.
Lan to USB / RouterOptional HW for accessing the Web server


...

For general structure and of the reference design, see Project Delivery - Xilinx devices

Content of the zip archieve:

  • Libero Hardware Project
  • SoftConsole Software Project
  • Board configuration file
  • Manual

Design Sources

Scroll Title
anchorTable_DS
titleDesign sources

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

TypeLocationNotes
Libero<design name>/block_design
<design name>/constraints
<design name>/ip_lib
Libero Project likely as zip-archieve /project generation by TE Scripts is not possible?
SoftConsole<design name>/sw_libAdditional Software Template for Vitis and apps_list.csv with settings automatically for Vitis app generation


...

Scroll Title
anchorTable_PF
titlePrebuilt files (only on ZIP with prebult content)

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

File

File-Extension

Description

Constrain files

.pdcPin constrain file

.sdcTime constrain
Programming files

.ipdLibero SoC in system programming via JTAG, not exportable

.stp / .datIn system programming via JTAG

.dat / .stp / .spiIn system programming of SPI-slave

.spiIn system programming of Cortex-M3
SmartDesign component files

.sdb / . cfx
Log files

.log / .rtp / .xml / .scv / .txt
Simulation Files

.mem / .bfm / .dat /.txt / .do
Designer directory

.adbMicrosemi Designer project files

.ba / .v(hd) / .stp / .tclScript-files to run designer


.prj_desLocal revision project file
Input source files (hdl directory )

.vhd / .v / .h

.edn
,
/ _syn.prj / .srrSynplify log file

.pspPrecision project file

precision.logPrecision logfile

.tclScript-files to runsynthesis

.ednSynthesis output file
Generally software related

*.elfSoftware Application file for Processor Systems
Device Tree Blob File*.dtbContains a Device Tree Blob


Download

Reference Design is only usable with the specified Libero/SoftConsole version. Do never use different versions of Microsemi Software for the same Project.

...

  • TEM0002 "Webserver Demo" Reference Design    <<================ ADD / Convert to - LINK

Preparations

The reference design is available as a prebuild zip archieve, which contains the hard & soft -ware project folders and the board configuration file "microsemi-smartfusion2-smartberry-ddr.cfg" . It was created and tested in windows environment.

The zip archieve must to be extracted. The board configuration file needs to copied into your SoftConsole installation directory. When taking the required SoftConsole version into account, SoftConsole version 6.2, and the default installation path, copy the board configuration file into:
"C:\Microsemi\SoftConsole_v6.2\openocd\share\openocd\scripts\board\"

Connecet the board via usb cable to your demo host computer.

Connect the boards ethernet port to your demo host computer. The demo is confiured to establish a network connection via the DHCP protocol, therefore a free router / network port can be used.
A direct port to port connection between the demo host computer and the board is also possible but requires to reconfigure the software project.

Hardware design flashing



Program the FPGA

---------------------------------------------------------------------------------------------------

// File to Programm is under:
// C:\temp\TEM0002-01\Smartberry_Webserver_Demo\LiberoProject\Smartberry_Webserver\designer\SB\export\SD.dat


Open Hardware Project in Libero 12.4:

Start, in the left part of the start page > Open... , point to:
C:\temp\TEM0002-01\LiberoProject_updated\Smartberry_Webserver\Smartberry_Webserver.prjx

Now, one could update outdated Ip-Cores:
In newly opened window "New cores are available" > Klick Dismiss

Automatically set ********************************************************

Setup Programmer manually:
On the left, in section Design Flow,
Program and Debug Design > Configure Hardware > Configure Programmer / Select Programmer
Check for the SmartBerry, should automatically be selected, when none other
Microsemi-FPGA is connected. If not, via Refresh/Rescan Programmers ....

On the left, in section Design Flow,
Program and Debug Design > Program Design > Configure Actions and Procedures
Device_Info / Enc_... / Erase / Program / Read_... / Verify / Verify_...

Automatically set END ****************************************************

On the left, in section Design Flow,
point "Program Design" double click "Run PROGRAM Action" to program the Design

?!?!?!?
Warnings Core 'Actel: ... ' is missing can be ignored,
because the target file:
PPD file 'C:/temp/TEM0002-01/LiberoProject_updated/Smartberry_Webserver/designer/SB/SB.ppd' has been loaded
is included and allready compiled.


Software project flashing


Design Flow

Page properties
hiddentrue
idComments
Notes :
  • Basic Design Steps

  • Add/ Remove project specific description

...

Note

Reference Design is available with and without prebuilt files. It's recommended to use TE prebuilt files for first lunch.

Trenz Electronic provides a tcl based built environment based on Xilinx Design Flow.

See also:

The Trenz Electronic FPGA Reference Designs are TCL-script based project. Command files for execution will be generated with "_create_win_setup.cmd" on Windows OS and "_create_linux_setup.sh" on Linux OS.

TE Scripts are only needed to generate the vivado project, all other additional steps are optional and can also executed by Xilinx Vivado/SDK GUI.  For currently Scripts limitations on Win and Linux OS see: Project Delivery Currently limitations of functionality


  1. _create_win_setup.cmd/_create_linux_setup.sh and follow instructions on shell:
  2. Press 0 and enter to start "Module Selection Guide"
  3. (optional Win OS) Generate Virtual Drive or use short directory  for the reference design (for example x:\<design name>)
  4. Create Project (follow instruction of the product selection guide), settings file will be configured automatically during this process)
    1. (optional for manual changes) Select correct device and Xilinx install path on "design_basic_settings.cmd" and create Vivado project with "vivado_create_project_guimode.cmd"
      Note: Select correct one, see alsoTE Board Part Files
      1. Important: Use Board Part Files, which ends with *_tebf0808
  5. Create XSA and export to prebuilt folder
    1. Run on Vivado TCL: TE::hw_build_design -export_prebuilt
      Note: Script generate design and export files into \prebuilt\hardware\<short dir>. Use GUI is the same, except file export to prebuilt folder
  6. Create Linux (bl31.elf, uboot.elf , Image and system.dtb) with exported XSA
    1. XSA is exported to "prebuilt\hardware\<short name>"
      Note: HW Export from Vivado GUI create another path as default workspace.
    2. Create Linux images on VM, see PetaLinux KICKstart
      1. Use TE Template from /os/petalinux/
      2. Execute the script file for Debian/Ubuntu
  7. Add Linux files (bl31.elf, uboot.elf , Image and system.dtb) to prebuilt folder
    1. "prebuilt\os\petalinux\<ddr size>" or "prebuilt\os\petalinux\<short name>"
  8. Generate Programming Files with Vitis
    1. Run on Vivado TCL: TE::sw_run_vitis -all
      Note: Scripts generate applications and bootable files, which are defined in "sw_lib\apps_list.csv"
    2. (alternative) Start SDK with Vivado GUI or start with TE Scripts on Vivado TCL: TE::sw_run_vitis
      Note:  TCL scripts generate also platform project, this must be done manuelly in case GUI is used. See Vitis
  9. Preparing SD card for SD Filesystem and hard disk for HD Filesystem → See Programming section

Launch

Page properties
hiddentrue
idComments

Note:

  • Programming and Startup procedure

...