Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI have found out that the nios2-bsp-generate-files executable is in (for default location):
C:\altera\11.1sp1\nios2eds\sdk2\bin If you go there on the command line in windows, you can type:
nios2-bsp-generate-files.exe --settings=<path to bsp folder>\settings.bsp --bsp-dir=<path to bsp folder>
For me it was for example:
C:\altera\11.1sp1\nios2eds\sdk2\bin>nios2-bsp-generate-files.exe --settings=C:\rts\rts_jwp_2011\hw\software\rts_experiment_bsp\set
tings.bsp --bsp-dir=C:\rts\rts_jwp_2011\hw\software\rts_experiment_bsp
Then it will indeed generate the bsp manually again like it says in the help text of the error. Won't have to reinstall eclipse!bryancitu
New Contributor
4 years agoin my case, I did something similar, the difference is that I have version 18.1
C:\intelFPGA_lite\18.1\nios2eds\sdk2\bin>nios2-bsp-generate-files --settings=C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\settings.bsp --bsp-dir=C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp INFO: Generating BSP files... INFO: nios2-bsp-generate-files --settings C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\settings.bsp --bsp-dir C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp INFO: Initializing BSP components... . INFO: Finished initializing BSP components. Total time taken = 4 seconds INFO: Searching for BSP components with category: os_software_element INFO: Initializing SOPC project local software IP INFO: [Info] <b>C:/Users/Bryan/Documents/UNI/Microcontroladores/tutorial3/*</b> matched 31 files in 0,05 seconds INFO: [Info] <b>C:/Users/Bryan/Documents/UNI/Microcontroladores/tutorial3/*/*_sw.tcl</b> matched 0 files in 0,01 seconds INFO: [Info] <b>C:/Users/Bryan/Documents/UNI/Microcontroladores/tutorial3/ip/**/*_sw.tcl</b> matched 0 files in 0,00 seconds INFO: [Info] <b>C:/Users/Bryan/Documents/UNI/Microcontroladores/ip/**/*_sw.tcl</b> matched 0 files in 0,00 seconds INFO: Finished initializing SOPC project local software IP. Total time taken = 2 seconds INFO: Searching for BSP components with category: driver_element INFO: Searching for BSP components with category: software_package_element INFO: No memory regions found in BSP Settings File. Default memory regions generated. INFO: Loading drivers from ensemble report. INFO: Finished loading drivers from ensemble report. INFO: Generating BSP files in "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp" INFO: Default memory regions will not be persisted in BSP Settings File. INFO: Generated file "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\settings.bsp" INFO: Generated file "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\summary.html" INFO: Generated file "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\public.mk" INFO: Generated file "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\mem_init.mk" INFO: Generated file "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp\Makefile" INFO: Finished generating BSP files. Total time taken = 2 seconds INFO: BSP files generated in "C:\Users\Bryan\Documents\UNI\Microcontroladores\tutorial3\software\lights_bsp"
and then you can build without problem