#!/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 E:/Project/SOPC_Project/EP2C8Q208C8/TEST/test_3/software/test_3_sopc/Debug
# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="E:/Project/SOPC_Project/EP2C8Q20
8C8/TEST/test_3/test_3.sof" --output="test_3.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=test_
3.opt E:/Project/SOPC_Project/EP2C8Q208C8/TEST/test_3/test_3.sof test_3.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Peak virtual memory: 70 megabytes
Info: Processing ended: Wed Mar 09 20:24:04 2011
Info: Elapsed time: 00:00:07
Info: Total CPU time (on all processors): 00:00:05
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert test_3.pof test_3.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Peak virtual memory: 68 megabytes
Info: Processing ended: Wed Mar 09 20:24:11 2011
Info: Elapsed time: 00:00:06
Info: Total CPU time (on all processors): 00:00:06
# Programming flash with the FPGA configuration
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00000000 --sidp=0x0
0001848 --id=922810432 --timestamp=1299670691 --instance=0 "test_3.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x00001848: verified
: Checksumming existing contents
00000000 : Verifying existing contents
00010000 : Verifying existing contents
00000000 : Reading existing contents
00010000 : Reading existing contents
Checksummed/read 20kB in 0.8s
00000000 ( 0%): Erasing
00010000 (50%): Erasing
Erased 128kB in 0.0s
00000000 ( 0%): Programming
Program failed
Leaving target processor paused
# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --after="test_3.flash" --input="test_3_so
pc.elf" --output="epcs.flash"
# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00000000 --sidp=0x0
0001848 --id=922810432 --timestamp=1299670691 --instance=0 "epcs.flash"
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x00001848: verified
: Checksumming existing contents
00010000 : Verifying existing contents
00020000 : Verifying existing contents
00010000 : Reading existing contents
00020000 : Reading existing contents
Checksummed/read 75kB in 3.2s
00010000 ( 0%): Erasing
00020000 (50%): Erasing
Erased 128kB in 0.6s (213.3kB/s)
00010000 ( 0%): Programming
Program failed
Leaving target processor paused |