Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

error when flash program

Altera_Forum
Honored Contributor II
1,029 Views

I use nios2 IDE6.0 to program my program to flash(am29lv160db) 

but there is a error as follow: 

#! /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:/fpga/practise/uclinux/software/hello_world_0/debug 

 

# creating .flash file for the project 

$sopc_kit_nios2/bin/elf2flash --base=0x00000000 --end=0xfffff --reset=0x0 --inpu 

t=hello_world_0.elf --output=cfi_flash.flash --boot=$sopc_kit_nios2/components/a 

ltera_nios2/boot_loader_cfi.srec 

 

# programming flash with the project 

$sopc_kit_nios2/bin/nios2-flash-programmer --sidp=0x00201058 --id=4258846621 --t 

imestamp=1201594370 --base=0x00000000 cfi_flash.flash 

using cable "usb-blaster [usb-0]", device 1, instance 0x00 

resetting and pausing target processor: ok 

reading system id at address 0x00201058: verified 

 

: checksumming existing contents  

 

00000000 : reading existing contents  

 

00004000 : reading existing contents  

 

00006000 : reading existing contents  

 

00008000 : reading existing contents  

 

00010000 : reading existing contents  

 

checksummed/read 59kb in 1.3s  

 

00000000 ( 0%): erasing  

 

00004000 (12%): erasing  

 

00006000 (18%): erasing  

 

00008000 (25%): erasing  

 

00010000 (50%): erasing  

 

erased 128kb in 0.9s (142.2kb/s)  

 

00000000 ( 0%): programming  

 

00004000 (12%): programming  

 

00006000 (18%): programming  

 

00008000 (25%): programming  

 

00010000 (50%): programming  

 

program failed at offset 10158  

leaving target processor paused 

 

 

 

 

 

 

can you tell me why I receive that error message and can you give some advice to solve it? 

thank you!!!!
0 Kudos
0 Replies
Reply