首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

flash 烧写问题

flash 烧写问题

我用的QUARTUS 和 NIOS 都是 7.2版本,开发板是DE1 的EP2C20系列

NIOS IDE 中烧程序出现

#!/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:/VGA_Display/software/nios_vga_display/Debug

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x01400000 --end=0x17fffff --reset=0x1400
000 --input="nios_vga_display.elf" --output="cfi_flash.flash" --boot="E:/altea/q
uartusii7.2/ip/nios2_ip/altera_nios2/boot_loader_cfi.srec"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01400000 --cable='USB-Blas
ter [USB-0]' --sidp=0x01901048 --id=406684963 --timestamp=1249891810 --instance=
0 "cfi_flash.flash"
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x01901048: verified

: Checksumming existing contents

00000000 : Reading existing contents

00002000 : Reading existing contents

00004000 : Reading existing contents

Checksummed/read 2kB in 0.2s

00000000 ( 0%): Erasing

00002000 (33%): Erasing

00004000 (66%): Erasing

Erased 24kB in 0.7s (34.2kB/s)

00000000 ( 0%): Programming

00002000 (33%): Programming

00004000 (66%): Programming

Programmed 23KB +1KB in 1.2s (20.0KB/s)
Device contents checksummed OK
Leaving target processor paused

# Creating .flash file for the datafile
"$SOPC_KIT_NIOS2/bin/bin2flash" --base=0x01400000 --location=0x10 --input="nios_
vga_display.elf" --output="nios_vga_display.flash"

# Programming flash with the datafile
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01400000 --cable='USB-Blas
ter [USB-0]' --sidp=0x01901048 --id=406684963 --timestamp=1249891810 --instance=
0 "nios_vga_display.flash"
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x01901048: verified

: Checksumming existing contents

00000000 : Reading existing contents

00002000 : Reading existing contents

00004000 : Reading existing contents

00006000 : Reading existing contents

00008000 : Reading existing contents

0000A000 : Reading existing contents

0000C000 : Reading existing contents

0000E000 : Reading existing contents

00010000 : Reading existing contents

Checksummed/read 1kB in 0.0s

00000000 ( 0%): Erasing

00002000 ( 6%): Erasing

00004000 (12%): Erasing

00006000 (18%): Erasing

00008000 (25%): Erasing

0000A000 (31%): Erasing

0000C000 (37%): Erasing

0000E000 (43%): Erasing

00010000 (50%): Erasing

Erased 128kB in 3.2s (40.0kB/s)

00000000 ( 0%): Programming

00002000 ( 5%): Programming

00004000 (10%): Programming

00006000 (16%): Programming

00008000 (21%): Programming

0000A000 (26%): Programming

0000C000 (32%): Programming

0000E000 (37%): Programming

00010000 (43%): Programming

Program failed at offset 15569
Leaving target processor pause

我用的QUARTUS 和 NIOS 都是 7.2版本,开发板是DE1 的EP2C20系列

求高人指点

返回列表