Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

flash download verify failure?

dear all,

when i download file with flash programmer in ide 5.0,but verify error ?why?thanks!

# ! /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:/work/1011/hello_led_0/Debug

# Creating .flash file for the FPGA configuration

$SOPC_KIT_NIOS2/bin/sof2flash --flash=U14 --offset=0x00700000 --input=E:/work/10

11/sopc_jj.sof --output=sopc_jj.flash

Info: *******************************************************************

Info: Running Quartus II Convert_programming_file

Info: Command: quartus_cpf --no_banner --convert E:/work/1011/sopc_jj.sof sopc_j

j.rbf

Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings

Info: Processing ended: Mon Oct 17 15:19:54 2005

Info: Elapsed time: 00:00:01

WARNING: Default charset GBK not supported, using ISO-8859-1 instead

# Programming flash with the FPGA configuration

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=sopc_jj.flash --sof=E:/work/1

011/FZH_KIT_BOARD/system/FZH_KIT_BOARD.sof --cable='ByteBlasterII [LPT1]' --devi

ce=1 --base=0x00800000

Oct 17, 2005 3:19:55 PM - (??) nios2-flash-programmer: Launching Quartus Program

mer to download:

E:/work/1011/FZH_KIT_BOARD/system/FZH_KIT_BOARD.sof

Pre-Reading 142KBytes of data from U14:

|----.----+----.----|

********************* (8.157 sec).

Writing 64KBytes :

|----.----+----.----|

********************* (6.421 sec).

Verifying 64KBytes of data:

|----.----+----.----|

*********************Oct 17, 2005 3:20:21 PM - (??) nios2-flash-programmer:

Verification failure after write.

WARNING: Default charset GBK not supported, using ISO-8859-1 instead

# Creating .flash file for the project

$SOPC_KIT_NIOS2/bin/elf2flash --flash=U14 --base=0x00000000 --end=0x7fffff --res

et=0x0 --input=hello_led_0.elf --output=cfi_flash_0.flash --boot=$SOPC_KIT_NIOS2

/components/altera_nios2/boot_loader_cfi.srec

WARNING: Default charset GBK not supported, using ISO-8859-1 instead

# Programming flash with the project

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=cfi_flash_0.flash --sof=__NO_

SOF_PLEASE__ --cable='ByteBlasterII [LPT1]' --device=1 --base=0x00800000

Oct 17, 2005 3:20:22 PM - (??) nios2-flash-programmer: SOF-download skipped.

Pre-Reading 0KBytes of data from U14:

|----.----+----.----|

********************* (2.859 sec).

Oct 17, 2005 3:20:28 PM - (??) nios2-flash-programmer: Success. Zero bytes writ

ten to U14-

(because device matched contents of cfi_flash_0.flash)

Oct 17, 2005 3:20:29 PM - (??) nios2-flash-programmer: Flash programming complet

e

WARNING: Default charset GBK not supported, using ISO-8859-1 instead
No RepliesBe the first to reply