Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
723 Views

Programmer wrong using Nios IDE5.1+SP1

hi, I cann't flash programmer ,I need help!!. 

I use Quartus5.1+sp1,NiosIDE5.1+sp1.I use EP2C35 board of altera. 

1. In SOPCBuildr,I add nios2 cpu,onchip-memory,jtag uart,epcscontroller. 

2.I generate it 

3.in Quartus,I update it to Ep2c35.bdf,and comopile. 

4.create "hello world" project in NiosIDE,and builder it,there is no err. 

5.in NiosIDE,select "tool->Quartus programmer",and load the configure file EP2C35.sof. 

6. in NiosIDE,select "hello world" project and run. it work right. 

7.in NiosIDE,select "tool->Flash programmer", I check FPGA configure and select hardware image:epcs:U69+0x0 

8.press apply and programe flash. 

 

the following is the result,I can't solve it for days. I cann't flash programmer with NiosIDE even I add systemID in SOPCBuilder. whether there is something wrong with NiosIDE flash programmer. 

# ! /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 D:/EP2C35/software/test/Debug 

# Creating .flash file for the FPGA configuration 

$SOPC_KIT_NIOS2/bin/sof2flash --epcs --input=D:/EP2C35/EP2C35.sof --output=EP2C3 

5.flash 

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

Info: Running Quartus II Convert_programming_file 

Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=EP2C35 

.opt D:/EP2C35/EP2C35.sof EP2C35.pof 

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

Info: Processing ended: Wed Mar 01 15:40:29 2006 

Info: Elapsed time: 00:00:04 

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

Info: Running Quartus II Convert_programming_file 

Info: Command: quartus_cpf --no_banner --convert EP2C35.pof EP2C35.rpd 

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

Info: Processing ended: Wed Mar 01 15:40:32 2006 

Info: Elapsed time: 00:00:03 

# Programming flash with the FPGA configuration 

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --epcs  

--base=0x00000000 EP2C35.flash 

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 

Resetting and pausing target processor: OK 

 

: Checksumming existing contents  

 

00000000 : Verifying existing contents  

 

00010000 : Verifying existing contents  

 

00020000 : Verifying existing contents  

 

00030000 : Verifying existing contents  

 

00040000 : Verifying existing contents  

 

Checksummed/read 296kB in 8.3s  

Erase not required 

 

00000000 ( 0%): Programming  

 

00010000 ( 0%): Programming  

 

00020000 ( 0%): Programming  

 

00030000 ( 0%): Programming  

 

00040000 ( 0%): Programming  

 

Programmed 296KB in 0.0s  

No change to device contents 

Leaving target processor paused 

# Creating .flash file for the project 

$SOPC_KIT_NIOS2/bin/elf2flash --epcs --after=EP2C35.flash --input=test.elf --out 

put=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_lo 

ader_epcs.srec 

# Programming flash with the project 

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --epcs  

--base=0x00000000 epcs_controller.flash 

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 

Resetting and pausing target processor: OK 

 

: Checksumming existing contents  

 

00040000 : Verifying existing contents  

 

Checksummed/read 7kB in 0.1s  

Erase not required 

 

00040000 ( 0%): Programming  

 

Programmed 7KB in 0.0s  

No change to device contents 

Leaving target processor paused
0 Kudos