Template Revision 1.0 - on construction Design Name always "TE Series Name" + Design name, for example "TE0720 Test Board" |
<!-- tables have all same width (web max 1200px and pdf full page(640px), flexible width or fix width on menu for single column can be used as before) --> <style> .wrapped{ width: 100% !important; max-width: 1200px !important; } </style> |
Important General Note:
|
Table of contents |
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 other executed from the external DDR3/L SDRAM memory.
Refer to http://trenz.org/tem0002-info for the current online version of this manual and other available documentation.
Notes :
|
|
Notes :
|
|
Notes :
|
|
Notes :
|
|
Notes :
|
Design supports following modules:
|
Hardware Requirements:
|
Notes :
|
Content of the zip archive:
|
Reference Design is only usable with the specified Libero/SoftConsole version. Usage of a different Microsemi Software versions is not recommended.
|
Reference Design is available on:
Notes :
|
The reference design is available as a prebuild zip archive, which contains a Libero hard ware project folder and a SoftConsole Workspace with the 2 variants of the demo and the board configuration file "microsemi-smartfusion2-smartberry-ddr.cfg". It was created and tested in windows environment.
Connect the board via USB cable to your demo host computer. Check in the Windows Device Manager the appearance of the tree board driver related devices:
The Device Manager is accessible via "Right mouse click context menu" from the Windows Start Menu Button.
Connect the boards Ethernet port to your demo host computer. The demo is configured 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.
Note:
|
Open Libero 12.4, in the to left corner, open the demo hardware project via "Project > Open Project" and point the file dialogue to the demo archives hardware project Disk:\Path_to_the_Demo_archive\Smartberry_Webserver_Libero-12.4\ , double left mouse click onto the project file "Smartberry_Webserver.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 - 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 demo.
The hardware design is volatile and therefore lost when powering down the board.
Open SoftConsole 6.2 and point the "Workspace:" to the folder "SmartberrySoftconsole-6.2" inside the demo folder.
Subsequently the program opens.
The SoftConsole display to the left the projects which the Workspace contains.
The two demo projects "Smartberry_Webserver_6.2" and "Smartberry_Webserver_DDR_6.2" are identical variants of the demo, they only differ in their memory location. The first one is stored in embedded non volatile memory (eNVM) and the later is stored volatile in the external DDR ram and therefore lost during power down.
Before flashing the demo, open a comport terminal to the boards comport, so that its messages about the used IP Address and executed Demo-Variant can be captured.
To simply run the demo 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
Switch between Debug and Run perspective (upper right corner program window)
To disengaging the DHCP mode one has to setup up an IP and Gateway Address in the code unit "main.c" line 274. 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.
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. can be ignored.
Open a new tab in a web browser and enter the IP Address from the comport terminal. The start page, picture below, should appear immediately.
Note:
|
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design] set_property BITSTREAM.CONFIG.UNUSEDPIN PULLNONE [current_design] |
Note:
|
---------------------------------------------------------- FPGA Example scuMCS Firmware to configure SI5338 and Reset System. srec_spi_bootloaderTE modified 2019.2 SREC Bootloader to load app or second bootloader from flash into DDR Descriptions:
xilisf_v5_11TE modified 2019.2 xilisf_v5_11
---------------------------------------------------------- Zynq Example: zynq_fsblTE modified 2019.2 FSBL General:
Module Specific:
zynq_fsbl_flashTE modified 2019.2 FSBL General:
ZynqMP Example: ---------------------------------------------------------- zynqmp_fsblTE modified 2019.2 FSBL General:
Module Specific:
zynqmp_fsbl_flashTE modified 2019.2 FSBL General:
zynqmp_pmufwXilinx default PMU firmware. ---------------------------------------------------------- General Example: hello_te0820Hello TE0820 is a Xilinx Hello World example as endless loop instead of one console output. u-bootU-Boot.elf is generated with PetaLinux. SDK/HSI is used to generate Boot.bin. |
SDK template in ./sw_lib/sw_apps/ available.
TE modified 2019.2 FSBL
General:
Module Specific:
TE modified 2019.2 FSBL
General:
Xilinx default PMU firmware.
Hello TE0808 is a Xilinx Hello World example as endless loop instead of one console output.
To get content of older revision got to "Change History" of this page and select older document revision number.
|
|