Forum Discussion

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

nios ii flash programming error

Hi:

When I program *.elf to flash ,there something wrong with it.

The infomation like

# !/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:/altera/80/workplace/RA8835/hello_world_1/Debug# Creating .flash file for the project

"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00200000 --end=0x3fffff --reset=0x20000

0 --input="hello_world_1.elf" --output="cfi_flash.flash" --boot="E:/altera/80/ip

/nios2_ip/altera_nios2/boot_loader_cfi.srec"# Programming flash with the project

"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00200000 --sidp=0x000010b0

--id=148608136 --timestamp=1252545047 --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 0x000010B0: verified

: Checksumming existing contents

00000000 : Reading existing contents

00004000 : Reading existing contents

Checksummed/read 7kB in 0.2s

00000000 ( 0%): Erasing

00004000 (66%): Erasing

Erased 24kB in 0.4s (60.0kB/s)

00000000 ( 0%): Programming

00004000 (66%): Programming

Programmed 18KB +6KB in 0.3s (80.0KB/s)

Verify failed at offset 0

Verify failed at offset 4000

Leaving target processor paused

//end

Who can help me resave it?Please!

Thanks

20 Replies