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

bin2flash help

I am trying to program a binary file to epcs serial flash. However using the flash programmer, i get an error. The error message isn't very detailed, and just provides an error code. Does anyone know where I can get more information regarding what the error codes mean? 

 

bin2flash --input="C:/Documents and Settings/nsatyanarayana/My Documents/Nishanth/GPS-DTI Antenna/test.bin" --output="C:/src/GPS_DTI_Antenna/New_Board_Test2/flash/test_epcs_flash_controller.flash" --location=0x0 --verbose  

 

Error: Error code: 2 for command: nios2eds/bin/bin2flash --input="C:/Documents and Settings/nsatyanarayana/My Documents/Nishanth/GPS-DTI Antenna/test.bin" --output="C:/src/GPS_DTI_Antenna/New_Board_Test2/flash/test_epcs_flash_controller.flash" --location=0x0 --verbose
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
40 Views

hi 

 

1 - are u at nios2 command shell ? 

2 - do you set the PATH to perl or perl5 ? 

 

 

 

i use elf2flash and i use elf2flash --base="yourbaseadd" --epcs --input="file" --boot="bootfile" --reset="cpureset" --output="outfile" 

 

 

good luck 

 

Franz Wagner
Reply