FPGA - Trizeps VIII -Hardware
- 1 Programming
- 2 Firmware
- 2.1 Default-Firmware
- 2.2 Read Version
- 3 Download
http://gitlab.keith-koep.com/tr8firmware/tr8_fpga
Default Firmware | ssh://git@gitlab.keith-koep.com:30001/tr8firmware/tr8_fpga.git | master |
The Trizeps VIII can be equipped with a Lattice MachXO3 FPGA with either 640, 1300, 2100 or 4300LUT.
Programming
The FPGA may be programmed through JTAG using connector J401 (see datasheet for details) or in system through I2C.
In-System-Programming through I2C has not been verified yet.
MachXO3 FPGAs are available in two different programmable-versions:
Multi-Programmable: LCMXO3L up to 9 times programmable
Programmable Flash: LCMXO3LF 100.000 write/erase-cycles
Firmware
The Trizeps VIII is able to boot without any firmware programmed to the FPGA.
Customers may request access to the source-code of the firmware to modify it for their needs.
Default-Firmware
The following describes the current default-firmware, which is designed to offer best compatibility to previous Trizeps modules functionality and Seco baseboards.
I2C-Address: 0x41 (7bit) | ||||
---|---|---|---|---|
Reg. | Name | Access | Description | Default-Value |
0x00 | I2C_REG_ID | read | Return ID-value | 0x61 |
0x10 | I2C_REG_DISPLAY | write | Display-Control-Register for
MIPI-DSI to parallel RGB converter
0x8. Invert Pixel-Clock polarity
0x4. Invert HSync polarity
0x2. Invert VSync polarity
0x1. Invert DE polarity
0x.C Use RGB24, LCD_D[23..0]
0x.8 Use RGB18, LCD_D[17..0]
0x.4 Use RGB16, LCD_D[15..0]
0x.1 Enable converter | 0x00 |
0x20 | I2C_REG_PINMUX | write | Pin-Mux-Control-Register
0x.0 UART4/SPI2 not routed.
0x.1 UART4 routed to on-board
BT-module.
0x.2 SPI2 routed to SODIMM
(Pins: 86 SS,88 CLK,90 MISO,92 MOSI)
0x.3 SPI2 routed to SODIMM
(Pins: 170 MOSI,172 CLK,178 SS,180 MISO)
0x.4 SPI2 routed to SODIMM
(Pins: 170 MISO,172 SS,178 CLK,180 MOSI) | 0x00 |
0xF0 | I2C_REG_VERSION | read | Read Version of FPGA-Code | xx |
Read Version
The currently programmed version can be read in bootloader through:
or in linux through:
Versions prior to version 1 return „read failure“ on attempt to read register 0xF0.
Download
Date | Version | Description | Download |
---|---|---|---|
11.03.2021 | 1 | ||
27.11.2019 | none | ||
14.08.2019 | none | ||
17.07.2019 | none | ||
03.07.2019 | none | ||
26.04.2019 | none | Firmware for LCMXO3LF-2100E-6MG121C |
( We use the „Diamond Programmer Version 3.12.0.240.2 and the HW-USBN-2A , both provided by Lattice)