The Trenz Electronic FPGA Reference Designs are TCL-script based projects. 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 quartus project, all other additional steps are optional and can also executed by Intel Quartus/SDK GUI.
- Open _create_win_setup.cmd/_create_linux_setup.sh and follow instructions on shell:
- Press 0 and enter to start "Module Selection Guide"
- Create 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"/ "design_basic_settings.sh" and create Quartus project with "quartus_create_project_batchmode.cmd"/"quartus_create_project_batchmode.sh"
Not used on this Example.
- Connect the Module to USB-Port
- Open Quartus project with "quartus_open_existing_project_guimode.cmd"/ "quartus_open_existing_project_guimode.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/<board_part_short_name>/programming_files/*.pof)
- Click "Start"
- Open Serial Console "PuTTY"
- Change settings in category "Session"
- Connection Type: Serial
- COM Port: Win OS → see device manager (Win OS), Linux OS → see dmesg |grep tty
- Speed: 115200
- Select "Implicit CR in every LF" in category "Terminal"
- Click Open
- Press reset button at module
- Flash test is running
- After test finished, you can toggle between following LED sequences by pressing user button
- Spirit level
- Case statement sequence
- Shift register sequence
- Knightrider sequence
- Pulse-width modulation sequence