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

Error in creating flash files-**Error in creating intermediate files **

Hi Friends , 

 

I'm getting error while generating flash files using sof2flash command 

i used "sof2flash --input=TR4.sof --output=TR4_hw.flash --offset=0x00020000 --pfl --optionbit=0x18000 --programmingmode=FPP" 

 

then i'm seeing the following errors  

 

 

 

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

Info: Running Quartus II 32-bit Convert_programming_file 

Info: Version 11.1 Build 173 11/01/2011 SJ Full Version 

Info: Copyright (C) 1991-2011 Altera Corporation. All rights reserved. 

Info: Your use of Altera Corporation's design tools, logic functions 

Info: and other software and tools, and its AMPP partner logic 

Info: functions, and any output files from any of the foregoing 

Info: (including device programming or simulation files), and any 

Info: associated documentation or information are expressly subject 

Info: to the terms and conditions of the Altera Program License 

Info: Subscription Agreement, Altera MegaCore Function License 

Info: Agreement, or other applicable license agreement, including, 

Info: without limitation, that your use is for the sole purpose of 

Info: programming logic devices manufactured by Altera and sold by 

Info: Altera or its authorized distributors. Please refer to the 

Info: applicable agreement for further details. 

Info: Processing started: Mon May 27 17:32:49 2013 

Info: Command: quartus_cpf -c tr4_hw.pof tr4_hw.hexout 

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

nings 

Info: Peak virtual memory: 410 megabytes 

Info: Processing ended: Mon May 27 17:33:33 2013 

Info: Elapsed time: 00:00:44 

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

java.lang.nullpointerexception 

at com.altera.utilities.launcher.read(launcher.java:307) 

at com.altera.utilities.launcher.read(launcher.java:362) 

at com.altera.sof2flash.pflflashgenerator.converthextosrec(pflflashgener 

ator.java:241) 

at com.altera.sof2flash.pflflashgenerator.pflgen(pflflashgenerator.java: 

37) 

at com.altera.sof2flash.sof2flash.<init>(sof2flash.java:122) 

at com.altera.sof2flash.sof2flash.main(sof2flash.java:77) 

may 27, 2013 5:33:33 pm - (severe) sof2flash: error creating intermediate files, 

exiting 

 

 

 

 

 

And not able to generate flash files .. 

Please friends help me out ..I'm using quartusII 11.1 & Nios II 11.1 EDS , windows 7 32 bit OS.. 

 

Thanks & Regards, 

Rohit
0 Kudos
3 Replies
Highlighted
Valued Contributor III
51 Views

hi , 

 

Have you ever solved this , because i have this message too : 

Error: Error code: 3 for command: sof2flash --input="C:/altera/13.1/projects/My_System_time_limited.sof" --output="C:/altera/13.1/projects/flash/My_System_time_limited_CFI_Flash.flash" --offset=0x0 --verbose  

 

thanks in advance ,
0 Kudos
Highlighted
Valued Contributor III
51 Views

Me too. ~SysTom

0 Kudos
Highlighted
Valued Contributor III
51 Views

Found elsewhere - must run from Nios cmd shell. So much for easy integration with make

0 Kudos