chun2495 发表于 2011-8-5 11:35:37

flash问题 求帮助

#!/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:/Bladder_Scanner_EP3C40/dev/software/bladder_english/Debug

# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --offset=0x0 --input="E:/Bladder_Scanner_EP3C40/
dev/Bladder_Scanner.sof" --output="Bladder_Scanner.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert E:/Bladder_Scanner_EP3C40/dev/B
ladder_Scanner.sof Bladder_Scanner.rbf
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 58 megabytes
    Info: Processing ended: Fri Aug 05 11:33:38 2011
    Info: Elapsed time: 00:00:01
    Info: Total CPU time (on all processors): 00:00:00

# Programming flash with the FPGA configuration
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x02000000
--id=2095008322 --timestamp=1312512631 --accept-bad-sysid --instance=0 "Bladder
_Scanner.flash"
Using cable "USB-Blaster ", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x02000000:
    ID value does not match: read 0xFFFFFFFF; expected 0x7CDF4A42
    Timestamp value does not match: image on board is older than expected
    Read timestamp7:59:59 1970/01/01; expected 10:50:31 2011/08/05
Warning: The software you are downloading may not run on the system which
is currently configured into the device.

            : Checksumming existing contents         

00000000      : Reading existing contents               

00020000      : Reading existing contents               

00040000      : Reading existing contents               

00060000      : Reading existing contents               

00080000      : Reading existing contents               

000A0000      : Reading existing contents               

000C0000      : Reading existing contents               

000E0000      : Reading existing contents               

00100000      : Reading existing contents               

00120000      : Reading existing contents               

Checksummed/read 117kB in 3.7s                                       

00000000 ( 0%): Erasing                                 

00020000 (10%): Erasing                                 

00040000 (20%): Erasing                                 

00060000 (30%): Erasing                                 

00080000 (40%): Erasing                                 

000A0000 (50%): Erasing                                 

000C0000 (60%): Erasing                                 

000E0000 (70%): Erasing                                 

00100000 (80%): Erasing                                 

00120000 (90%): Erasing                                 

Erased 1280kB in 3.9s (328.2kB/s)                     

00000000 ( 0%): Programming                           

00020000 (10%): Programming                           

00040000 (20%): Programming                           

00060000 (30%): Programming                           

00080000 (40%): Programming                           

000A0000 (50%): Programming                           

000C0000 (60%): Programming                           

000E0000 (70%): Programming                           

00100000 (80%): Programming                           

00120000 (90%): Programming                           

Programmed 1164KB +116KB in 26.2s (48.8KB/s)               
Verify failed at offset 0
Verify failed at offset 20000
Verify failed at offset 40000
Verify failed at offset 60000
Verify failed at offset 80000
Verify failed at offset A0000
Verify failed at offset C0000
Verify failed at offset E0000
Verify failed at offset 100000
Leaving target processor paused

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00000000 --end=0x1ffffff --reset=0x0 --
input="bladder_english.elf" --output="cfi_flash.flash" --boot="C:/altera/91/ip/a
ltera/nios2_ip/altera_nios2/boot_loader_cfi.srec"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x02000000
--id=2095008322 --timestamp=1312512631 --accept-bad-sysid --instance=0 "cfi_fla
sh.flash"
Using cable "USB-Blaster ", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x02000000:
    ID value does not match: read 0xFFFFFFFF; expected 0x7CDF4A42
    Timestamp value does not match: image on board is older than expected
    Read timestamp7:59:59 1970/01/01; expected 10:50:31 2011/08/05
Warning: The software you are downloading may not run on the system which
is currently configured into the device.

            : Checksumming existing contents         

00160000      : Verifying existing contents            

001A0000      : Verifying existing contents            

001E0000      : Verifying existing contents            

00220000      : Verifying existing contents            

00260000      : Verifying existing contents            

002A0000      : Verifying existing contents            

00000000      : Reading existing contents               

00020000      : Reading existing contents               

00040000      : Reading existing contents               

00060000      : Reading existing contents               

00080000      : Reading existing contents               

000A0000      : Reading existing contents               

000C0000      : Reading existing contents               

000E0000      : Reading existing contents               

00100000      : Reading existing contents               

00120000      : Reading existing contents               

00140000      : Reading existing contents               

00180000      : Reading existing contents               

001C0000      : Reading existing contents               

00200000      : Reading existing contents               

00240000      : Reading existing contents               

00280000      : Reading existing contents               

Checksummed/read 721kB in 21.8s                                       

00000000 ( 0%): Erasing                                 

00020000 ( 6%): Erasing                                 

00040000 (12%): Erasing                                 

00060000 (18%): Erasing                                 

00080000 (25%): Erasing                                 

000A0000 (31%): Erasing                                 

000C0000 (37%): Erasing                                 

000E0000 (43%): Erasing                                 

00100000 (50%): Erasing                                 

00120000 (56%): Erasing                                 

00140000 (62%): Erasing                                 

00180000 (68%): Erasing                                 

001C0000 (75%): Erasing                                 

00200000 (81%): Erasing                                 

00240000 (87%): Erasing                                 

00280000 (93%): Erasing                                 

Erased 2048kB in 5.8s (353.1kB/s)                     

00000000 ( 0%): Programming                           

00020000 ( 4%): Programming                           

00040000 ( 9%): Programming                           

00060000 (13%): Programming                           

00080000 (18%): Programming                           

000A0000 (23%): Programming                           

000C0000 (27%): Programming                           

000E0000 (32%): Programming                           

00100000 (36%): Programming                           

00120000 (41%): Programming                           

00140000 (46%): Programming                           

00160000 (50%): Programming                           

00180000 (50%): Programming                           

001A0000 (55%): Programming                           

001C0000 (55%): Programming                           

001E0000 (60%): Programming                           

00200000 (60%): Programming                           

00220000 (64%): Programming                           

00240000 (64%): Programming                           

00260000 (69%): Programming                           

00280000 (69%): Programming                           

002A0000 (73%): Programming                           

Programmed 2769KB in 42.0s (65.9KB/s)                     
Verify failed at offset 0
Verify failed at offset 20000
Verify failed at offset 40000
Verify failed at offset 60000
Verify failed at offset 80000
Verify failed at offset A0000
Verify failed at offset C0000
Verify failed at offset 100000
Verify failed at offset 120000
Verify failed at offset 140000
Verify failed at offset 180000
Verify failed at offset 1C0000
Verify failed at offset 200000
Verify failed at offset 240000
Verify failed at offset 280000
Leaving target processor paused
这是怎么回事呢上电重启还是没反应
页: [1]
查看完整版本: flash问题 求帮助