Forum Discussion
Altera_Forum
Honored Contributor
16 years ago#!/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 I:/ruanjianceshi/forNIOSII/software/hello_world_small_0/Release# Creating .flash file for the FPGA configuration "$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="I:/ruanjianceshi/forNIOSII/myNIO SII.sof" --output="myNIOSII.flash" Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=myNIO SII.opt I:/ruanjianceshi/forNIOSII/myNIOSII.sof myNIOSII.pof Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 70 megabytes Info: Processing ended: Fri Jul 17 14:41:05 2009 Info: Elapsed time: 00:00:04 Info: Total CPU time (on all processors): 00:00:02 Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert myNIOSII.pof myNIOSII.rpd Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 66 megabytes Info: Processing ended: Fri Jul 17 14:41:08 2009 Info: Elapsed time: 00:00:03 Info: Total CPU time (on all processors): 00:00:02# Programming flash with the FPGA configuration "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00003800 --accept-b ad-sysid --instance=0 "myNIOSII.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK : Checksumming existing contents 00000000 : Verifying existing contents 00010000 : Verifying existing contents 00020000 : Verifying existing contents 00030000 : Verifying existing contents 00040000 : Verifying existing contents 00050000 : Verifying existing contents 00000000 : Reading existing contents 00010000 : Reading existing contents 00020000 : Reading existing contents 00030000 : Reading existing contents 00040000 : Reading existing contents 00050000 : Reading existing contents Checksummed/read 22kB in 0.6s 00000000 ( 0%): Erasing Erase failed at offset 0 Leaving target processor paused# Creating .flash file for the project "$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --after="myNIOSII.flash" --input="hello_w orld_small_0.elf" --output="epcs_controller.flash"# Programming flash with the project "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00003800 --accept-b ad-sysid --instance=0 "epcs_controller.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK : Checksumming existing contents 00050000 : Verifying existing contents 00050000 : Reading existing contents Checksummed/read 61kB in 1.8s 00050000 ( 0%): Erasing Erase failed at offset 50000 Leaving target processor paused -------------------------------------------------------------------- above is my NIOSII console whole message during the flash programmer I want to know why 00000000 00010000 00020000 00030000 00040000 00050000 what is the meaning, Flash address?or Sectors? why I erase 00000000 ( 0%): Erasing Erase failed at offset 0