⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lq2.sh

📁 FPGA flash 编程序,使用CYCLONE和FLASH
💻 SH
字号:
#! /bin/sh
#
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#

cd D:/aaa/liang/new_04010_20/cpu_sdk/new

# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --epcs --input=D:/aaa/liang/new_04010_20/design_5.sof --output=design_5.flash

# Programming flash with the FPGA configuration
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterII [LPT1]' --sidp=0x00000070 --id=1625977725 --timestamp=1145434281 --epcs --base=0x00002000 design_5.flash

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --epcs --after=design_5.flash --input=main3.elf --output=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_epcs.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterII [LPT1]' --sidp=0x00000070 --id=1625977725 --timestamp=1145434281 --epcs --base=0x00002000 epcs_controller.flash

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00200000 --end=0x2fffff --reset=0x2000 --input=main3.elf --output=cfi_flash_0.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterII [LPT1]' --sidp=0x00000070 --id=1625977725 --timestamp=1145434281 --base=0x00200000 cfi_flash_0.flash


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -