#!/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 F:/SOPC4000/base/E40/TechshinVGA_4CE40/software/VGA_test/Debug
# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00000000 --end=0x1ffffff --reset=0x0 --
input="VGA_test.elf" --output="ext_flash.flash" --boot="C:/altera/91/ip/altera/n
ios2_ip/altera_nios2/boot_loader_cfi.srec"
# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x06204108
--id=2033200688 --timestamp=1306907849 "ext_flash.flash"
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x06204108: verified
No CFI table found at address 0x00000000
Leaving target processor paused
# Creating .flash file for the datafile
"$SOPC_KIT_NIOS2/bin/bin2flash" --base=0x00000000 --location=0x010000 --input="F
:/SOPC4000/base/E40/TechshinVGA_4CE40/荷花.bmp" --output="荷花.flash"
# Programming flash with the datafile
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x06204108
--id=2033200688 --timestamp=1306907849 "荷花.flash"
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x06204108: verified
No CFI table found at address 0x00000000
Leaving target processor paused