Versions Compared

Key

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


Page properties
hiddentrue
idComments

Template Revision 1.0 - on construction

Design Name always "TE Series Name" + Design name, for example "TE0720 Test Board"

Custom_table_size_100


Page properties
hiddentrue
idComments

Important General Note:

  • Export PDF to download, if Libero or SoftConsole revision is changed!

  • Designate all graphics and pictures with a number and a description, Use "Scroll Title" macro

    • Use "Scroll Title" macro for pictures and table labels. Figure number must be set manually at the moment (automatically enumeration is planned by scrollPDF)
      • Figure template (note: inner scroll ignore/only with drawIO object):

        Scroll Title
        anchorFigure_xyz
        titleText


        Scroll Ignore

        Create DrawIO object here: Attention if you copy from other page, use


        Scroll Only

        image link to the generate DrawIO PNG file of this page. This is a workaround until scroll pdf export bug is fixed



      • Table template:

        • Layout macro can be use for landscape of large tables
        • Set column width manually(can be used for small tables to fit over whole page) or leave empty (automatically)

          Scroll Title
          anchorTable_xyz
          titleText

          Scroll Table Layout
          orientationportrait
          sortDirectionASC
          repeatTableHeadersdefault
          style
          widths
          sortByColumn1
          sortEnabledfalse
          cellHighlightingtrue

          ExampleComment
          12



  • ...

Overview

Page properties
hiddentrue
idComments

Notes :

This demo is a Webserver which utilizes SmartFusion2 SoC ARM Cortex-M3, Ethernet, USB / COM-port, Real Time Clock and the on-board LEDs.

The demo is offered in two variants, one which is stored into the embedded non-volatile memory (eNVM) and the seconde one which stored to the external DDR3/L SDRAM memory and therefore volatile.

Refer to http://trenz.org/tem0002tem0005-info for the current online version of this manual and other available documentation.

Key Features

Page properties
hiddentrue
idComments

Notes :

  • Add basic key futures, which can be tested with the design


Excerpt
  • Libero 12.4            (FPGA IDE)
  • SoftConsole 6.2    (Software IDE)
  • FreeRTOS V7.0.1 1   (Free real time operating system)
  • lwIP 1.4.1 1              (lightweight IP) 
  • ETH
  • UART
  • DDR
  • eNVM
  • User LEDs
  • User LED accessbutton
  • Real Time Clock

Revision History

Page properties
hiddentrue
idComments

Notes :

  • add every update file on the download
  • add design changes on description
  •  
  • Datum & Ordnernamen UPDATEN / CHECKEN


11
Scroll Title
anchorTable_DRH
titleDesign Revision History

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

DateLiberoProject BuiltAuthorsDescription
2020
2021-
11
06-
23
0212.4
TEM0002
TEM0005-01-
SmartBerry
010C_
Webserver-Demo_Libero-12.4_20201123-1511
ReferenceDesigns01_Lib12.4-SC6.2_20210602-1940.zipKilian Jahn
Added "Hello World" (into SoftConsole workspace)
  • Demo Webserver ported from TEM0002/Libero 11.8
Improved its
  • Adapted the User Interface
2018-02-26
  • Added "Hello World" (into SoftConsole workspace)
  • Added "SoC Erase" (into SoftConsole workspace)
2018-02-2611.8Smartberry_Webserver_Demo.zip--
  • Initial release


Release Notes and Know Issues

Page properties
hiddentrue
idComments
Notes :
  • add known Design issues and general notes for the current revision
  • do not delete known issue, add fixed version time stamp if  issue fixed


Scroll Title
anchorTable_KI
titleKnown Issues

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

IssuesDescriptionWorkaround/SolutionTo be fixed version
Webserver Demo
  • Google search page
Search failsUnknownUnknown


Requirements

Software

Page properties
hiddentrue
idComments

Notes :

  • list of software which was used to generate the design


Scroll Title
anchorTable_SW
titleSoftware

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

SoftwareVersionNote
Windows 102004 / 19041
Libero Release12.4
SoftConsole6.2Included in the Libero installation
Microsemi Flash Pro 5 module driver2.10.0.0Utilize onboard programmer and USB / comport connection. Included in the Libero installation
FTDI Driver for the TEM0002 TEM0005 module2.12.28.0
UART / COM-port terminal
Capturing the modules messages
Web browser
Optional for the Demo Webserver, an ordinary Web browser (supporting MS-HTML > 6.0)


Hardware

Page properties
hiddentrue
idComments

Notes :

  • list of hardware which was used to generate the design

Design supports following modules:

1
Scroll Title
anchorTable_HWM
titleHardware Modules

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

Module Model
Board Part Short Name
PCB Revision SupportDDRembedded SRAMembedded FlashNotes
TEM0002
TEM0005-01-010C
SmartBerry
REV02
REV01
2 GBit /
128
256 MB64 kB256 kB       NA


Additional hardware Requirements:

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
Carrier TEMB0005
Micro USB to USB Type A CablePower supply,  JTAG: Programming the board, UART: Communication Interface to the board.
ETH cableHardware for the Demo Webserver.
Router / LAN to USB bridgeHardware for the Demo Webserver.


Content

Page properties
hiddentrue
idComments

Notes :

  • content of the zip file
  •  

Content of the zip archive "TEM0002TEM0005-01-SmartBerry010C_Webserver-Demo_Libero-X.y_DatumReferenceDesigns01_LibXY.Z-SCX.Y_Date-Time":

Design Sources

Scroll Title
anchorTable_DS
titleDesign sources

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

Softconsole-X.y-Workspace
TypeLocation

Notes

Libero<zip archive>
      / Libero-X.y_Referenz-Design_XYRefDes_vXY

Libero Project containing the modules
Hardware Reference Design

SoftConsole
FlashPro Express<zip archive>
      /
FlashPro_Express
            / Libero-RefDes-v01
                  /SoC_HW_RefDes_v01.pro
FlashPro Express Hardware Design programming file
SoftConsole<zip archive>
      / SC-Workspace
            / Smartberry_Hello_World_X.y
            / Smartberry_Webserver_X.y
            / Smartberry_Webserver_DDR_X.y

SoftConsole Workspace
contains the Software Projects :

  • Hello_World

and two variants of the Demo :

  • Smartberry_Webserver
SoftConsole<zip archive>
      / Softconsole-X.y-Workspace
            / microsemi-smartfusion2-smartberry-ddr .cfg

Board configuration file, needed to

debug / run applications


Download

The Trenz Electronic Reference Designs and Demos are usable with the specified Microsemi Libero / SoftConsole version. Usage of a different Microsemi Libero / SoftConsole software versions is not recommended.

Page properties
hiddentrue
idComments

Reference Designs / Demos are available via the following link:

The download is a ZIP compressed archive. Extract the archive before usage.

Design Flow

Page properties
hiddentrue
idComments
Notes :
  • Basic Design Steps

  • Add/ Remove project specific description

The Hardware and Software Reference / Demo -Designs Projects are available as a prebuild zip archive. The archive contains a Libero Hardware Project and a SoftConsole Workspace folder, they were created and tested in windows environment.

This SoftConsole Workspace contains the Software Project Projects Webserver, Hello World and the Demo Webserver, the demo is offered in two variantsSoC erase flash. The board configuration file "microsemi-smartfusion2-smartberry-ddr.cfg" which is required for the usage of the Software projects via the IDE SoftConsole.

Launch

Page properties
hiddentrue
idComments

Note:

  • Programming and Startup procedure
  •  

Executing a Reference / Demo Design on a module requires the powering of it and a JTAG or UART Connection for Programming and Communication. Often the programming is a two fold process, where the first programming configures the FPGA and the second programming flashes Software code to be executed inside the FPGA / ARM processor.

Connecting

Connect the modules carriers micro USB connector to your host pc , this enables the powering of the module and and power it via barrel connector (5 V, plus pole inside), this powers the module and a simultaneous JTAG and UART connection is possible.

Only necessary for running the Demo Webserver:
The demo is configured to establish a network connection via the DHCP protocol, therefore, if a a free router port is used, no further port setup is required.
If a "direct Ethernet Connection" between Host PC and module is used, the user must know how to setup this connection type. Further down in this chapter is explained how to setup the Demo Webserver and recompile it, so that it uses a static IP.

Driver check

When the module is connected via USB cable to your demo host computer, in the Windows Device Manager appear the following tree board driver related devices:

In section Ports (COM & LPT):

  • FlashPro5 Port (ComX)

In section Universal Serial Bus controllers:

  • USB FP5 Serial Converter A
  • USB FP5 Serial Converter B

The Device Manager is accessible via "Right mouse click context menu" from the Windows Start Menu Button. When these devices are not visible, the driver installation through libero could be faulty.

Programming the Hardware design

Via Libero

Programming of the Hardware reference Design requires to open the FPGA Design IDE Libero.

Scroll Title
anchorFigure_1
titleLibero GUI "Run PRGORAMM ACTION"

The Hardware Reference Design can be opened via   "Project > Open Project" in the top right corner of Libero (picture above - upper green rectangle). A file dialogue opens, point the dialogue along the extracted download to the folder containing the Hardware Reference Design.

Disk :\ Path-to-the-Demodemo-archive \ Extracted ZIP-archive \ Libero-X.y_Referenz-DesignRefDesign_vXY\

Double left mouse click onto the project file "Referenz-Design_XY .prjx" to open it. The board is automatically selected and setup to be flashed by Libero.

In the upper left section of Libero, select the tab "Design Flow" (picture above - lover green rectangle) and flash it to the board via   "Program Design > and double left mouse click onto   "Run PROGRAM Action" (picture above - row with blue background).

Warnings should not affect the functionality of a Reference / Demo -Design.

UART connection

Before flashing any Software Project to the module, open a comport terminal to the boards comport, so that it's messages can be captured.

Programming a Software project

Open SoftConsole and press "Browse..." near the right edge. A file dialogue opens, point the dialogue along the extracted download to the folder containing the SoftConsole Workspace.

Disk :\ Path-to-the-Demo-archive \ Extracted ZIP-archive \ Softconsole-X.y-Workspace \

Confirm your selectioin by pressing "Ok" , the dialogue closes, and open The SoftConsole by pressing "Launch"

Scroll Title
anchorFigure_2
titleSoftConsole "Select the Workspace"

Image Removed

Subsequently the program opens and shows the software project's who are contained inside the workspace to the left, under "Project Explorer".

Scroll Title
anchorFigure_3
titleSoftConsole GUI

Image Removed

To simply run a Project, press the triangle right to the button marked with a "R" in the picture above and select a variant of the demo.

Pressing the triangle next to the button marked with "D" let you select which variant to be executed in debug mode.

Debug controls - Resume - Pause - Stop

Scroll Title
anchorFigure_4
titleSoftConsole "Debug controlls"
Image Removed

Via FlashPro Express

Open "FlashPro Express", to the left, in section "Job Project", click on  "Open..." .

In the appearing file dialogue, point to the projects "Programming job file (.pro-file)" and confirm.

Image Added

The programm windows changes through opening the file. Now click "Refresh/Rescan Programmers", wait untill the scan is finished.

Image Added

Click "RUN" to programm the module. 

Image Added

When the programming is done, you can close FlashPro Express.

UART connection

Before flashing any Software Project to the module, open a comport terminal to the boards comport, so that it's messages can be captured.

Programming a Software project

Open SoftConsole and press "Browse..." near the right edge. A file dialogue opens, point the dialogue along the extracted download to the folder containing the SoftConsole Workspace.

Disk :\ Path-to-the-demo-archive \ Extracted ZIP-archive \ SC-Workspace \

Confirm your selection by pressing "Ok" , the dialogue closes, and open The SoftConsole by pressing "Launch" Switch between Debug and Run perspective (upper right corner program window)

Scroll Title
anchorFigure_52
titleSoftConsole "Switch GUI layoutSelect the Workspace"

Image Removed

System Design - Libero

Page properties
hiddentrue
idComments

Note:

  • Description of Block Design, Constrains... BD Pictures from Export...

Smart Design

Image Added

Subsequently the program opens and shows the software project's which are contained inside the workspace. The projects and their files can be accessed in the section "Project Explorer".

Scroll Title
anchorFigure_BD3
titleBlock DesignSoftConsole GUI
Image Removed

Constrains

Image Added

To simply run a Project, press the triangle right to the button marked with a "R" in the picture above and select a demo.

Pressing the triangle next to the button marked with "D" let you select which variant to be executed in debug mode.

Debug controls - Resume - Pause - Stop

Scroll Title
anchorFigure_4
titleSoftConsole "Debug controlls"
Image Added

Switch between Debug and Run perspective (upper right corner program window)

Scroll Title
anchorFigure_5
titleSoftConsole "Switch GUI layout"

Image Added

System Design - Libero

Page properties
hiddentrue
idComments

Note:

  • Description of Block Design, Constrains... BD Pictures from Export...

Smart Design

Scroll Title
anchorFigure_BD
titleBlock Design
Image Added

Constrains

IO constrains

Code Block
languageruby
titleuser.pdc
linenumberstrue
collapsetrue
# Microsemi I/O Physical Design Constraints file

# User I/O Constraints file 

# Version: v12.4 12.900.0.16

# Family: SmartFusion2 , Die: M2S010 , Package: 400 VF

# Date generated: Wed May 26 09:19:42 2021 
Code Block
languageruby
titleuser.pdc
linenumberstrue
collapsetrue
# Microsemi I/O Physical Design Constraints file

# User I/O Constraints file 

# Version: v12.4 12.900.0.16

# Family: SmartFusion2 , Die: M2S010 , Package: 400 VF

# Date generated: Mon Nov 16 11:11:16 2020 


# 
# User Locked I/O Bank Settings
# 


# 
# Unlocked I/O Bank Settings
# The I/O Bank Settings can be locked by directly editing this file
# or by making changes in the I/O Attribute Editor
# 


# 
# User Locked I/O settings
# 

set_io Eth_LED1ACLK0_PAD       \
    -pinname Y10 \
-fixed yes \
-DIRECTION OUTPUT


set_io Eth_LED1B \
-pinname U12 \
Y12      \
    -fixed yes        \
    -DIRECTION OUTPUTINPUT


set_io Eth_LED2AETH_COL        \
    -pinname V14 D2       \
    -fixed yes        \
    -DIRECTION OUTPUTINPUT


set_io EthETH_LED2B CRS        \
    -pinname U14 E3       \
    -fixed yes        \
    -DIRECTION OUTPUTINPUT


set_io GLED ETH_MDC         \
    -pinname G17 F3        \
    -fixed yes         \
    -DIRECTION OUTPUT


set_io GPIO_5_F2M_taster_S4ETH_MDIO       \
    -pinname E17 F4       \
    -fixed yes        \
    -DIRECTION INPUTINOUT


set_io GPIO_6_F2M_taster_S5ETH_RST         \
    -pinname E16 H6        \
    -fixed yes \
-DIRECTION INPUT


set_io MAC_GMII_MDC \
-pinname N1        \
-fixed yes \
-iostd LVCMOS15 \
-DIRECTION OUTPUT


set_io PHY_LED0ETH_RXC        \
    -pinname U11 G1       \
    -fixed yes        \
    -DIRECTION INPUT


set_io PHY_LED1ETH_RXDV       \
-pinname T14    -pinname E1       \
    -fixed yes        \
    -DIRECTION INPUT


set_io PHY_MDIO{ETH_RXD[0]}   \
    -pinname J7      N2 \
    -fixed yes        \
-iostd   LVCMOS15 \
-DIRECTION INOUTINPUT


set_io {PHYETH_RDRXD[01]}   \
    -pinname F1      K5 \
    -fixed yes        \
-iostd   LVCMOS15 \
-DIRECTION INPUT


set_io {PHYETH_RDRXD[12]}   \
    -pinname H1 H5       \
    -fixed yes        \
-iostd   LVCMOS15 \
-DIRECTION INPUT


set_io {PHYETH_RDRXD[23]}   \
    -pinname H2H4       \
    -fixed yes        \
-iostd   LVCMOS15 \
-DIRECTION INPUT


set_io {PHY_RD[3]}ETH_RXER       \
    -pinname J4 E2       \
    -fixed yes        \
-iostd   LVCMOS15 \
-DIRECTION INPUT


set_io PHYETH_RESETNTXC \
-pinname R13 \
-fixed yes      \
-DIRECTION OUTPUT


set_io PHY_RX_CTL \
-pinname K1 \
    -pinname G2       \
    -fixed yes        \
-iostd   LVCMOS15 \
-DIRECTION INPUT


set_io {PHYETH_TDTXD[0]}    \
    -pinname L1 G4        \
    -fixed yes \
-iostd LVCMOS15       \
    -DIRECTION OUTPUT


set_io {PHYETH_TDTXD[1]}    \
    -pinname M2 F5        \
    -fixed yes         \
-iostd   LVCMOS15 \
-DIRECTION OUTPUT


set_io {PHYETH_TDTXD[2]}    \
    -pinname M1 G6        \
    -fixed yes \
-iostd  LVCMOS15 \
      \
    -DIRECTION OUTPUT


set_io {PHYETH_TDTXD[3]}    \
    -pinname M3 F7        \
    -fixed yes         \
-iostd   LVCMOS15 \
-DIRECTION OUTPUT


set_io PHYETH_TX_CTLEN       \
    -pinname K3 G3        \
    -fixed yes \
-iostd LVCMOS15        \
    -DIRECTION OUTPUT


set_io RGB_BLED3_Y13        \
    -pinname H6 Y13       \
    -fixed yes         \
    -DIRECTION OUTPUT


set_io RGB_GLED4_Y10        \
    -pinname F6 Y10       \
    -fixed yes \
        \
    -DIRECTION OUTPUT


set_io RGB_RTASTER_C19     \
    -pinname H5C19 \
-fixed yes \
-DIRECTION OUTPUT


set_io RLED \
-pinname   G16 \
-fixed yes   \
-DIRECTION OUTPUT


set_io RXC \
-pinname J2 \
-fixed yes \
-iostd LVCMOS15 \
-DIRECTION INPUT


set_io TXC U6_EN_VADJ_N20  \
    -pinname K7 N20       \
    -fixed yes         \
-iostd   LVCMOS15 \
-DIRECTION OUTPUT



# 
# Dedicated Peripheral I/O Settings
# 


# 
# Unlocked I/O settings
# The set_io U6_SEL_VADJ_R15  \
    -pinname R15        \
    -fixed yes          \
    -DIRECTION OUTPUT



# 
# Dedicated Peripheral I/O Settings
# 


# 
# Unlocked I/O settings
# The I/Os in this section are unplaced or placed but are not locked
# the other listed attributes have been applied
# 


#
#Ports using Dedicated Pins

#

set_io DEVRST_N       \
-pinname U17    -pinname U17      \
    -DIRECTION INPUT

Software Design - SoftConsole

Page properties
hiddentrue
idComments
Note:
  • optional chapter separate

  • sections for different apps

Application




set_io XTL            \
    -pinname Y18      \
    -DIRECTION INPUT


Clock constrains

Code Block
languageruby
titleuser.sdc
linenumberstrue
collapsetrue
create_clock -name {XTAL_12MHz} -period 83.3333 -waveform {0 41.6667 } [ get_ports { XTL } ]
create_clock -name {Clk0pad_30MHz_Y12} -period 33.3333 -waveform {0 16.6667 } [ get_ports { CLK0_PAD } ]
create_clock -name {SoC_sb_0___SoC_sb_MSS_0___FIC_2_APB_M_PCLK} -period 10 -waveform {0 5 } [ get_nets { SoC_sb_0/SoC_sb_MSS_0/FIC_2_APB_M_PCLK } ]
create_clock -name {SoC_sb_0___FABOSC_0___N_RCOSC_25_50MHZ_CLKOUT} -period 10 -waveform {0 5 } [ get_nets { SoC_sb_0/FABOSC_0/N_RCOSC_25_50MHZ_CLKOUT } ]
create_clock -name {MAC_RXC_TXC} -period 40 -waveform {0 20 } [ get_ports { ETH_RXC ETH_TXC } ]
create_clock -name {SoC_sb_0___CCC_0___GL0} -period 10000 -waveform {0 5000 } [ get_nets { SoC_sb_0/CCC_0/GL0_net } ]
create_clock -name {FCCC_C0_FCCC_C0_0_FCCC___GL0_net_inferred_clock} -period 10000 -waveform {0 5000 } [ get_pins { FCCC_C0_0/FCCC_C0_0/CCC_INST/GL0 } ]


Software Design - SoftConsole

Page properties
hiddentrue
idComments
Note:
  • optional chapter separate

  • sections for different apps


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

FPGA Example

scu

MCS Firmware to configure SI5338 and Reset System.

srec_spi_bootloader

TE modified 2019.2 SREC

Bootloader to load app or second bootloader from flash into DDR

Descriptions:

  • Modified Files: blconfig.h, bootloader.c
  • Changes:
    • Add some console outputs and changed bootloader read address.
    • Add bugfix for 2018.2 qspi flash

xilisf_v5_11

TE modified 2019.2 xilisf_v5_11

Changed default Flash type to 5.
Page properties
hiddentrue
idComments
Page properties
hiddentrue
idComments

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

Zynq FPGA Example

HEADING:

zynq_fsbl

scu

MCS Firmware to configure SI5338 and Reset System.

HEADING: srec_spi_bootloader

TE modified 2019.2 FSBLSREC

Bootloader to load app or second bootloader from flash into DDR

DescriptionsGeneral:

  • Modified Files: mainblconfig.c, fsbl_hooks.h/.c (search for 'TE Mod' on source code)
  • Add Files: te_fsbl_hooks.h/.c(for hooks and board)\n\

  • General Changes: 
    • Display FSBL Banner and Device ID

Module Specific:

  • Add Files: all TE Files start with te_*
    • READ MAC from EEPROM and make Address accessible by UBOOT (need copy defines on uboot  platform-top.h)
    • CPLD access
    • Read CPLD Firmware and SoC Type
    • Configure Marvell PHY
zynq_fsbl_flash
  • h, bootloader.c
  • Changes:
    • Add some console outputs and changed bootloader read address.
    • Add bugfix for 2018.2 qspi flash

HEADING: xilisf_v5_11

TE modified 2019.2 FSBL

General:

  • Modified Files: main.c
  • General Changes:
    •  Display FSBL Banner
    • Set FSBL Boot Mode to JTAG
    • Disable Memory initialisation

ZynqMP Example:

xilisf_v5_11

  • Changed default Flash type to 5.

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

zynqmp

Zynq Example:

HEADING: zynq_fsbl

TE modified 2019.2 FSBL

General:

  • Modified Files: xfsbl_main.c, xfsblfsbl_hooks.h/.c, xfsbl_board.h/.c (search for 'TE Mod' on source code)
  • Add Files:

     

    te_

    xfsbl

    fsbl_hooks.h/.c(for hooks and board)\n\

  • General Changes: 
    • Display FSBL Banner and Device NameID

Module Specific:

  • Add Files: all TE Files start with te_*
    • Si5338 Configuration
    • ETH+OTG Reset over MIO
zynqmp

    • READ MAC from EEPROM and make Address accessible by UBOOT (need copy defines on uboot  platform-top.h)
    • CPLD access
    • Read CPLD Firmware and SoC Type
    • Configure Marvell PHY

HEADING: zynq_fsbl_flash

TE modified 2019.2 FSBL

General:

  • Modified Files: xfsbl_initialisation.c, xfsbl_hw.h, xfsbl_handoff.c, xfsbl_ main.c
  • General Changes:
    •  Display FSBL Banner
    • Set FSBL Boot Mode to JTAG
    • Disable Memory initialisation

zynqmp_pmufw

Xilinx default PMU firmware.

ZynqMP Example:

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

HEADING: zynqmp_fsbl

TE modified 2019.2 FSBL

General:

  • Modified Files: xfsbl_main.c, xfsbl_hooks.h/.c, xfsbl_board.h/.c(search for 'TE Mod' on source code)
  • Add Files:  te_xfsbl_hooks.h/.c (for hooks and board)\n\
  • General Changes: 
    • Display FSBL Banner and Device Name

Module Specific:

  • Add Files: all TE Files start with te_*
    • Si5338 Configuration
    • ETH+OTG Reset over MIO

HEADING: zynqmp_fsbl_flash

TE modified 2019.2 FSBL

General:

  • Modified Files: xfsbl_initialisation.c, xfsbl_hw.h, xfsbl_handoff.c, xfsbl_main.c
  • General Changes:
    •  Display FSBL Banner
    • Set FSBL Boot Mode to JTAG
    • Disable Memory initialisation


HEADING: zynqmp_pmufw

Xilinx default PMU firmware.

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

General Example:

HEADING: hello_te0820

Hello TE0820 is a Xilinx Hello World example as endless loop instead of one console output.

HEADING: u-boot

U-Boot.elf is generated with PetaLinux. SDK/HSI is used to generate Boot.bin.

Applications

Webserver

The demo projects "Webserver_DHCP" and "Webserver_DDR_STATIC" are identical variants of the demo, they only differ in their memory location:

  • Webserver_DHCP - Application code is stored to the FPGA's embedded non-volatile memory (eNVM)
  • Webserver_DDR_STATIC -

General Example:

hello_te0820

Hello TE0820 is a Xilinx Hello World example as endless loop instead of one console output.

u-boot

U-Boot.elf is generated with PetaLinux. SDK/HSI is used to generate Boot.bin.

  • Application code is stored to the FPGA's external volatile memory (DDR3 RAM) and lost during power down or reset

Initialization UART messages after programming:

Scroll Title
anchorFigure_6
titleCOM-port Terminal Webserver "Welcome / IP -message"

Image Added

Webpage in the browser:

Scroll Title
anchorFigure_7
titleCOM-port Terminal Webserver "Welcome / IP -message"

Image Added

Static IP configuration

To change IP and Gateway Address of the project Webserver_DDR_STATIC, open the project in SoftConsole. Open the file main_WebServer_DDR_Static and scroll to line 253. Change the addresses to your needs.

Demo - Webserver_...

The demo projects "Smartberry_Webserver_X.y" and "Smartberry_Webserver_DDR_X.y" are identical variants of the demo, they only differ in their memory location:

  • Smartberry_Webserver_X.y - Application code is stored to the FPGA's embedded non-volatile memory (eNVM)
  • Smartberry_Webserver_DDR_X.y - Application code is stored to the FPGA's external volatile memory (DDR3/L SDRAM) and lost during power down

UART output:

Scroll Title
anchorFigure_6
titleCOM-port Terminal Webserver "Welcome / IP -message"

Image Removed

Static IP configuration

Image Removed
Scroll Title
anchorFigure_78
titleSoftConsole "main.c - Set IP"

Image Added

Disengage the DHCP service

To disengaging the DHCP mode one has to setup up an IP and Gateway Address in the code unit "main.c" roughly at line 270, this is discribed in the chapter above. Alternativly, the demo hosts IP Address can be changed.

Furthermore the corresponding compiler flag needs to be deleted in the project setting. To do so, in the "Project Explorer" tab, right mouse click onto the project and select Properties in the appearing menu.

Scroll Title
anchorFigure_89
titleSoftConsole "Static IP- Change Defines""

In the left section of the properties window select "C/C++ Build   >   Settings" in the right section select the tab "Tool Settings   >   GNU ARM Cross C Compiler   >   Preprocessor" under "Defined symbols (-D)" delete the compiler flag "NET_USE_DHCP" and press "Apply". Confirm the following dialogue and press "Cancel".

Lastly, the project needs to be recompiled. In the top menu of the SoftConsole select "Project   >   Build ALL / Build Project".

Warnings should not affect the demo . and can be ignored.

Reference Design -

HelloWorld

_...

Hello World example as endless loop instead of one console output. Each loop lights up each LEDloop contains the updated current loop and RTC/system time.

The user LED's are continuously blinking. The user buttons responds with a message at any time.

UART output:

Scroll Title
anchorFigure_910
titleCOM-port Terminal "Hello World loop""

Image Added

SoC-erase

The SoC's embedded non-volatile memory (eNVM) can only be erased from within.
Scroll Title
anchorFigure_11
titleCOM-port Terminal "SoC erase flash"

Image Added

Image Removed

Appx. A: Change History and Legal Notices

Document Change History

To get content of older revision  got to "Change History"  of this page and select older document revision number.

Page properties
hiddentrue
idComments
  • Note this list must be only updated, if the document is online on public doc!
  • It's semi automatically, so do following
    • Add new row below first

    • Copy "Page Information Macro(date)" Macro-Preview, Metadata Version number, Author Name and description to the empty row. Important Revision number must be the same as the Wiki document revision number Update Metadata = "Page Information Macro (current-version)" Preview+1 and add Author and change description. --> this point is will be deleted on newer pdf export template

    • Metadata is only used of compatibility of older exports


Scroll Title
anchorTable_dch
titleDocument change history.

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths2*,*,3*,4*
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

DateDocument Revision

Authors

Description

Page info
infoTypeModified date
dateFormatyyyy-MM-dd
typeFlat

Page info
infoTypeCurrent version
dateFormatyyyy-MM-dd
prefixv.
typeFlat

Page info
infoTypeModified by
typeFlat

  • Link updates
  • table of content update
20-11-24v.41Kilian Jahn
  • Libero12.4 release
--all

Page info
infoTypeModified users
dateFormatyyyy-MM-dd
typeFlat

--


Legal Notices

Include Page
IN:Legal Notices
IN:Legal Notices











Custom_fix_page_content


Scroll pdf ignore

Table of contents

Table of Contents
outlinetrue
excludeTable of contents