55
4.3
Flash Programming with Users Design
Users can program the flash memory device so that a custom design loads from flash
memory into the FPGA on power up. For convenience, the translation and
programming batch files are available on the following folder in the System CD.
Demonstrations/Hello/flash_programming_batch
There folder contains five files as shown in
Table 4-2
Table 4-2Content of flash_programming_batch folder
Files Name
Description
TR10A_HL_PFL.sof Parallel Flash Loader Design
flash_program.bat
Top batch file to download TR10A_HL_PFL.sof and launch
batch flash_program.sh
flash_program.sh
Translate .sof and .elf into .flash and programming flash with
the generated .flash file
TR10A_HL.sof
Hardware design file for Hello Demo
HELLO_NIOS.elf
Software design file for Hello Demo
To apply the batch file to users
’.sof and .elf file, users can change the sof and .elf
filename in the flash_program.sh file as shown in
Figure 4-3
.
Figure 4-3 Change to usrs
’.sof and .elf filename
If your design does not contain a NIOS II processor, users can add “#” to comment
(disable) the elf2flash and nios-flash-programmer commands (marked with green lines
as below) in the flash_program.sh file as shown in
Figure 4-4
.
Figure 4-4 Disable .elf translation and programming
Содержание TR10a-HL
Страница 1: ...1...
Страница 3: ...3...
Страница 71: ...71 Figure 5 14 Si5340A Demo Figure 5 15 Si5340B Demo...
Страница 82: ...82 Figure 6 3 Progress and Result Information for the QDRII Demonstration...
Страница 107: ...107...
Страница 111: ...111 Figure 8 5QSFP Transceiver Loopback Test in Progress Figure 8 6QSFP Transceiver Loopback Done...