Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
683 Views

ELF is not getting flashed !

:confused: 

 

Hi all, 

 

I am getting my quartus code (.sof) flashed correctly using the NIOS II IDE 11.1 - Flash programmer. But the nios code is not getting flashed.  

 

i am getting the following warning in problems tab -  

 

"WARNING: The expected CPU name does not match the selected target CPU name." 

 

and am getting the following messages in processing tab 

 

 

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

Info: Info: Running Quartus II 32-bit Convert_programming_file 

Info: Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=flash/rpctrl_epcs_flash_controller_0.opt G:/rp_ctrl/rpctrl_q101/rpctrl/rpctrl.sof flash/rpctrl_epcs_flash_controller_0.pof 

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

Info: Info: Peak virtual memory: 150 megabytes 

Info: Info: Processing ended: Fri Jan 20 10:53:36 2012 

Info: Info: Elapsed time: 00:00:05 

Info: Info: Total CPU time (on all processors): 00:00:06 

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

Info: Info: Running Quartus II 32-bit Convert_programming_file 

Info: Info: Command: quartus_cpf --no_banner --convert flash/rpctrl_epcs_flash_controller_0.pof flash/rpctrl_epcs_flash_controller_0.rpd 

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

Info: Info: Peak virtual memory: 144 megabytes 

Info: Info: Processing ended: Fri Jan 20 10:53:40 2012 

Info: Info: Elapsed time: 00:00:03 

Info: Info: Total CPU time (on all processors): 00:00:04 

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

Info: Resetting and pausing target processor: OK 

Info: Reading System ID at address 0x000818E8: verified 

Info:  

Info: : Checksumming existing contents  

Info:  

Info: 00000000 : Verifying existing contents  

Info:  

Info: 00010000 : Verifying existing contents  

Info:  

Info: 00020000 : Verifying existing contents  

Info:  

Info: 00030000 : Verifying existing contents  

Info:  

Info: 00040000 : Verifying existing contents  

Info:  

Info: 00050000 : Verifying existing contents  

Info:  

Info: 00060000 : Verifying existing contents  

Info:  

Info: 00070000 : Verifying existing contents  

Info:  

Info: 00080000 : Verifying existing contents  

Info:  

Info: 00090000 : Verifying existing contents  

Info:  

Info: 000A0000 : Verifying existing contents  

Info:  

Info: 000B0000 : Verifying existing contents  

Info:  

Info: 00000000 : Reading existing contents  

Info:  

Info: 00010000 : Reading existing contents  

Info:  

Info: 00020000 : Reading existing contents  

Info:  

Info: 00030000 : Reading existing contents  

Info:  

Info: 00040000 : Reading existing contents  

Info:  

Info: 00050000 : Reading existing contents  

Info:  

Info: 00060000 : Reading existing contents  

Info:  

Info: 00070000 : Reading existing contents  

Info:  

Info: 00080000 : Reading existing contents  

Info:  

Info: 00090000 : Reading existing contents  

Info:  

Info: 000A0000 : Reading existing contents  

Info:  

Info: 000B0000 : Reading existing contents  

Info:  

Info: Checksummed/read 44kB in 1.6s  

Info:  

Info: 00000000 ( 0%): Erasing  

Info:  

Info: 00010000 ( 8%): Erasing  

Info:  

Info: 00020000 (16%): Erasing  

Info:  

Info: 00030000 (25%): Erasing  

Info:  

Info: 00040000 (33%): Erasing  

Info:  

Info: 00050000 (41%): Erasing  

Info:  

Info: 00060000 (50%): Erasing  

Info:  

Info: 00070000 (58%): Erasing  

Info:  

Info: 00080000 (66%): Erasing  

Info:  

Info: 00090000 (75%): Erasing  

Info:  

Info: 000A0000 (83%): Erasing  

Info:  

Info: 000B0000 (91%): Erasing  

Info:  

Info: Erased 768kB in 7.6s (101.0kB/s)  

Info:  

Info: 00000000 ( 0%): Programming  

Info:  

Info: 00010000 ( 8%): Programming  

Info:  

Info: 00020000 (16%): Programming  

Info:  

Info: 00030000 (25%): Programming  

Info:  

Info: 00040000 (33%): Programming  

Info:  

Info: 00050000 (41%): Programming  

Info:  

Info: 00060000 (50%): Programming  

Info:  

Info: 00070000 (58%): Programming  

Info:  

Info: 00080000 (66%): Programming  

Info:  

Info: 00090000 (75%): Programming  

Info:  

Info: 000A0000 (83%): Programming  

Info:  

Info: 000B0000 (91%): Programming  

Info:  

Info: Programmed 725KB +43KB in 18.7s (41.0KB/s)  

Info: Did not attempt to verify device contents 

Info: Leaving target processor paused 

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

Info: Resetting and pausing target processor: OK 

Info: Reading System ID at address 0x000818E8: verified 

Info:  

Info: : Checksumming existing contents  

Info:  

Info: 000B0000 : Verifying existing contents  

Info:  

Info: 000C0000 : Verifying existing contents  

Info:  

Info: 000B0000 : Reading existing contents  

Info:  

Info: 000C0000 : Reading existing contents  

Info:  

Info: Checksummed/read 58kB in 1.7s  

Info:  

Info: 000B0000 ( 0%): Erasing  

Info:  

Info: 000C0000 (50%): Erasing  

Info:  

Info: Erased 128kB in 1.3s (98.4kB/s)  

Info:  

Info: 000B0000 ( 0%): Programming  

Info:  

Info: 000C0000 (50%): Programming  

Info:  

Info: Programmed 71KB +57KB in 2.1s (60.9KB/s)  

Info: Did not attempt to verify device contents 

Info: Leaving target processor paused 

 

I am testing with a Char LCD code.. i am not getting the processor to start. I have tested the same code with SRAM and On-Chip memory for the program memory, same result 

 

Please help.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
26 Views

Hello! 

 

How did you solve this issue? We are fighting the EXACT same thing. 

 

Appreciate your help, 

Thanks!