Custom_table_size_100 |
---|
To configure the flash memory of some modules with Intel FPGA(/SoCs from Trenz Electronic, a .jic file is needed. This file is built from the .sof file from the Quartus project and optionally the .hex file from the software application.
This is a short tutorial on how to create the .jic file.
More detailed instructions can be found directly on the Intel website:
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Prepare Quartus Project:
Prepare Nios II software project:
Prepare Nios V software project:
Code Block | ||
---|---|---|
| ||
elf2flash --input path/to/sw_example.elf --output path/to/sw_example.srec \
--reset <flash memory controller base address + CPU reset offset> \
--base <flash memory controller base address> --end <flash memory controller end address> \
--boot <quartus_installation_path>/niosv/components/bootloader/niosv_bootloader.srec //check directory for correct bootloader file name
riscv32-unknown-elf-objcopy --input-target srec --output-target ihex path/to/sw_example.srec path/to/sw_example.hex |
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Do following steps to convert the .sof + .hex file to a .jic file:
Make the following settings in the Convert Programming File window
draw.io Diagram | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
File name: specify the target directory and the output file name
draw.io Diagram | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Highlight Flash Loader in Input files to convert window
Click Add Device..., select correct Device family and Device name and click OK
draw.io Diagram | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Highlight SOF Data in Input files to convert window
Click Add File..., browse to the .sof file you want to convert and click open
draw.io Diagram | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Highlight selected .sof file
draw.io Diagram | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
draw.io Diagram | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
You can use the Quartus Programmer to program the flash configuration device with the .jic file.
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Scroll Only | ||
---|---|---|
|
Scroll pdf ignore | |
---|---|
|
Configuration data is downloaded to Intel Cyclone 10 devices each time they power up. Trenz Electronic GmbH uses different flash memory devices on their boards to store the configuration data.
...
|