...
Page properties |
---|
|
Template Revision 12.0 8 - on construction Design Name always "TE Series Name" + Design name, for example "TEI0010 TE0720 Test Board" |
HTML |
---|
<!-- 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> |
...
Page properties |
---|
|
Important General Note: Export PDF to download, if vivado 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)
- ...
|
Scroll pdf ignore |
---|
Table of contents |
Overview
NIOS II Design with SDRAM Controller and controller, different sensors and LED sequences, that can be toggled using the user button.
Refer to http://trenz.org/analogmax-info for the current online version of this manual and other available documentation.
...
Page properties |
---|
|
Notes : - Add basic key futures, which can be tested with the design
|
Excerpt |
---|
- Quartus 18Prime Lite 19.1
- NIOS II
- SPI
- I2C
- UART
- ADC
- User Flash flash memory
- SDRAM memory
- 3-axis accelerometer
- Temperature sensor
- Smoke detector
- User LEDs
- User buttons
|
...
Scroll Title |
---|
anchor | Table_DRH |
---|
title | Design Revision History |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Date | Quartus | Project Built | Authors | Description |
---|
2020-05-13 | 19.1 Lite | TEI0010-test_board_noprebuilt-quartus_19.1.0-20200513105940.zip TEI0010-test_board-quartus_19.1.0-20200513110730.zip | Thomas Dück | | 2019-11-11 | 18.1 | TEI0010-test_board_noprebuilt-quartus_18.1-20191111104210.zip TEI0010-test_board-quartus_18.1-20191111104330.zip | Thomas Dück | - create project with TE scripts
- new board variants
| 2019-04-17 | 18.1 | TEI0010-02-08-C8-test_board-quartus_18.1-20190417.zip | Thomas Dück | |
|
...
Scroll Title |
---|
anchor | Table_SW |
---|
title | Software |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Software | Version | Note |
---|
Quartus Prime Lite | 1819.1 | needed | NIOS II SBT for Eclipse | 18.1 | --- | optionalneeded |
|
Hardware
Page properties |
---|
|
Notes : - list of software which was used to generate the design
|
Complete List is available on <design_name>/board_files/*_devices.csv
Design supports following modules:
Scroll Title |
---|
anchor | Table_HWM |
---|
title | Hardware Modules |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Module Model | PCB Revision Support | Board Part Short Name | DDR | QSPI Flash | Others | Notes |
---|
TEI0010-02-08-C8 | REV01, REV02 | 08_C8_8MB | 8 MByte8MByte | 64 MBit64MBit | NA | NA |
|
Design supports following carriers:
...
Scroll Title |
---|
anchor | Table_AHW |
---|
title | Additional Hardware |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Additional Hardware | Notes |
---|
USB Cable cable for JTAG/UART | Check Carrier Board and Programmer for correct type |
|
...
Scroll Title |
---|
anchor | Table_DS |
---|
title | Design sources |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Type | Location | Notes |
---|
Quartus | <design_name>/source_files/quartus | Quartus Project project will be generated by TE Scripts | Software | <design_name>/source_files/software | Additional Software software will be generated by TE Scripts |
|
...
Scroll Title |
---|
anchor | Table_PF |
---|
title | Prebuilt files (only on ZIP with prebuilt content) |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
File | File-Extension | Description |
---|
SOPC Information File | *.sopcinfo | File with description of the .qsys file to create software for the target hardware | Programmer Object File | *.pof | FPGA Configuration Fileconfiguration file | Diverse Reports | --- | Report files in different formats | Software - Application - File | *.elf | Software Application application for NIOS II processor system |
|
...
Reference Design is only usable with the specified Quartus version. Do never use different Versions versions of Quartus Software software for the same Projectproject.
Reference Design is available on:
Design Flow
...
The Trenz Electronic FPGA Reference Designs are TCL-script based projects. Command files for execution will be generated with "_create_win_setupTo create a project, open a project or program a device execute "create_project_win.cmd" on Windows OS and "create_createproject_linux_setup.sh" on Linux OS.
TE Scripts are only needed to generate the quartus project, all other additional steps are optional and can also executed by Intel Intel Quartus/SDK GUI. For currently Scripts limitations on Win and Linux OS see: Project Delivery - Intel devices → Currently limitations of functionality
- Open create_createproject_win_setup.cmd/create_createproject_linux_setup.sh and follow instructions on shell:
- Press 0 and enter to start "Module Selection Guide"
- :
Image Added'Create Project' GUI example - Select Board in "Board selection"
- Click on "Create project" button to create projectCreate Project (follow instruction of the product selection guide), settings file will be configured automatically during this process
- (optional for manual changes) Select correct device and Quartus install path on "design_basic_settings.cmd"/"quartus installation path in "<design_name>/settings/design_basic_settings.sh" and create Quartus project with "quartus_create_project_batchmode.cmd"/"quartus_create_project_batchmode.sh"
Launch
Programming
JTAG
...
- tcl"
Launch
Page properties |
---|
|
Note: - Programming and Startup procedure
|
Programming
Note |
---|
Check Module and Carrier TRMs for proper HW configuration before you try any design. |
MAX10 Flash
- Connect the Module to USB-Port
- Open Quartus project with "quartus_open_existingcreate_project_guimodewin.cmd"/"quartus_open_existing_create_project_guimodelinux.sh"
- Open the Quartus Prime Programmer from Tools → Programmer
- If the Arrow-USB-Blaster is not visible:
- Click "Hardware Setup..."
- Choose at the drop-down menu "Currently selected hardware" Arrow-USB-Blaster [USB0]
- Close "Hardware Setup"
- If the correct configuration file is not set:
- Delete other files
- Click "Add file..."
- Select the correct .pof file (created project file: <design_name>/quartus/output_files/test_board.pof or prebuilt file: <design_name>/prebuilt/<boardpart_shortname>/programming_files/*.pof)
- Click "Start"
- Select correct board in "Board selection"
- Click on "Program device" button
- if prebuilt files are available: select "Program prebuilt file"
- using own generated programming file: select "Program other file" and click on "Browse ..." to open own generated programming file
- (optional) click on "Open programmer GUI" to program device with Quartus programmer GUI
- Click on "Start program device" button
JTAG
Not used on this Example.
Usage
- Prepare Hardware like described on section Programming
- Connect UART USB (most cases same as JTAG)
UART
- Open Serial Console "PuTTY"(e.g. PuTTY)Change settings in category "Session"
Connection Type: Serial- COM Port: Win OS → see device manager, Linux OS → OS see dmesg | grep ttytty (UART is *USB1)
- Speed: 115200
- Select "Implicit CR in every LF" in category "Terminal"
- Click Open
- Press reset button on the module
- Toggle You can toggle between following modes by pressing user button
- Spirit level
- Winbond SPI flash memory test
- Temperature measurement
- Smoke detector
- ADC - AD5592R
System Design - Quartus
Block Design
Scroll Title |
---|
anchor | Figure_BD |
---|
title | Block Design - Project |
---|
|
Image AddedBlock Design - test_board.bdf |
Scroll Title |
---|
anchor | Figure_BD |
---|
title | Block Design - Platform Design |
---|
|
Image AddedBlock Design - NIOS_test_board.qsys |
Software Design - SDK
Application
Template location: <design_name>/source_files/software/
test_board
Software example to test TEI0010 module.
Appx. A: Change History and Legal Notices
Document Change History
To get content of older revision revision got to "Change History" of this page and select older document revision number.
...
Scroll Title |
---|
anchor | Table_dch |
---|
title | Document change history. |
---|
|
Scroll Table Layout |
---|
orientation | portrait |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default |
---|
style | |
---|
widths | 2*,*,3*,4* |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Date | Document Revision | Authors | Description |
---|
Page info |
---|
infoType | Modified date |
---|
dateFormat | yyyy-MM-dd |
---|
type | Flat |
---|
|
| Page info |
---|
infoType | Current version |
---|
dateFormat | yyyy-MM-dd |
---|
prefix | v. |
---|
count | 1 |
---|
type | Flat |
---|
|
| Page info |
---|
infoType | Modified by |
---|
type | Flat |
---|
|
| | 2019-11-11 | v.3 | Thomas Dück | - change design to TE scripts
- new variants
| 2019-04-17 | v.1 | Thomas Dück | | -- | all | Page info |
---|
infoType | Modified users |
---|
dateFormat | yyyy-MM-dd |
---|
type | Flat |
---|
|
| -- |
|
...