#!/bin/sh
#
# This file was automatically generated.
#
# It can be overwritten by nios2-flash-programmer-generate or nios2-flash-programmer-gui.
#

#
# Converting SOF File: D:\Work_Dir\Demos\cytech_kit\Easy_GX\NIOS_TEST_tse\NIOS_SOC.sof to: "..\flash/NIOS_SOC_epcs_flash_controller.flash"
#
$SOPC_KIT_NIOS2/bin/sof2flash --input="D:/Work_Dir/Demos/cytech_kit/Easy_GX/NIOS_TEST_tse/NIOS_SOC.sof" --output="../flash/NIOS_SOC_epcs_flash_controller.flash" --epcs 

#
# Programming File: "..\flash/NIOS_SOC_epcs_flash_controller.flash" To Device: epcs_flash_controller
#
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer "../flash/NIOS_SOC_epcs_flash_controller.flash" --base=0x0 --epcs --accept-bad-sysid --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program 

#
# Converting ELF File: D:\Work_Dir\Demos\cytech_kit\Easy_GX\NIOS_TEST_tse\software\ssss_rgmii\ssss_rgmii.elf to: "..\flash/ssss_rgmii_epcs_flash_controller.flash"
#
$SOPC_KIT_NIOS2/bin/elf2flash --input="D:/Work_Dir/Demos/cytech_kit/Easy_GX/NIOS_TEST_tse/software/ssss_rgmii/ssss_rgmii.elf" --output="../flash/ssss_rgmii_epcs_flash_controller.flash" --epcs --after="../flash/NIOS_SOC_epcs_flash_controller.flash" 

#
# Programming File: "..\flash/ssss_rgmii_epcs_flash_controller.flash" To Device: epcs_flash_controller
#
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer "../flash/ssss_rgmii_epcs_flash_controller.flash" --base=0x0 --epcs --accept-bad-sysid --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program 

