Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

DE0_Nano_QSYS_DEMO BSP error with Quartus 15.1

Altera_Forum
Honored Contributor II
911 Views

Hello, 

I downloaded the DE0_Nano_QSYS_DEMO from the DE0-Nano_V.1.2.0_CDROM, and can't run the demo under latest Quartus (15.1) 

 

Here are the steps I followed: 

 

* Upgrade IP cores in quartus 

* Regenerate design in Qsys 

* Open the software/DE0_nano and software/DE0_nano_BSP in Nios II Eclipse 

* Try to generate the BSP since the IP core changed 

 

Generating BSP in eclipse gives out a pop up with this error: 

 

--- Quote Start ---  

Error executing 'nios2-bsp-generate-files --bsp-dir . --settings settings.bsp', unexpected return code 1. 

 

Error message: 

 

SEVERE: The device is not ready 

SEVERE: nios2-bsp-generate-files failed. 

 

 

--- Quote End ---  

 

 

Running it from cmd.exe, with the debug flag I get this log: 

 

--- Quote Start ---  

 

INFO: Generating BSP files...ugsdk2/bin/nios2-bsp-generate-files.exe --bsp-dir. - 

INFO: nios2-bsp-generate-files --bsp-dir . --settings settings.bsp --debug 

INFO: Initializing BSP components... 

FINER: Creating librarian with search path: null 

FINER: Creating librarian with factory search path: null 

FINER: Altera Environment: C:/altera_lite/15.1/nios2eds/ 

FINER: Altera Environment: C:/altera_lite/15.1/quartus/ 

FINER: Altera Environment: C:/altera_lite/15.1/quartus/sopc_builder/ 

FINER: Altera Environment: C:/altera_lite/15.1/quartus\bin64 

FINER: --librarian-verbose 

FINER: >> >> >> initializing BSP Components: 3 seconds 

2016.02.22.23:07:28 Conan.addPluginPath:477 (3) adding search path "C:/altera_lite/15.1/quartus/sopc_builder/bin/root_components.ipx" as "C:/altera_lite/15.1/quartus/sopc_builder/b 

- in/root_components.ipx" because ipx file 

FINER: [Progress] min: 0 

FINER: [Progress] max: 1 

FINER: [Progress] current: 1 

FINER: [Progress] (1) searching <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/root_components.ipx</b> (ipx file) 

FINER: [Info] Reading index <b>C:\altera_lite\15.1\quartus\sopc_builder\bin\root_components.ipx</b> 

FINER: [Info] <b>C:\altera_lite\15.1\quartus\sopc_builder\bin\root_components.ipx</b>: Loading now from components.ipx 

FINER: [Info] Reading index <b>C:\altera_lite\15.1\quartus\sopc_builder\bin\ip_component_categories.ipx</b> 

FINER: [Info] <b>C:\altera_lite\15.1\quartus\sopc_builder\bin\ip_component_categories.ipx</b> described 0 plugins, 0 paths, in 0,11 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/ip_component_categories.ipx</b> matched 1 files in 0,13 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/$$IP_PROJECTDIR/ip/**/*</b> matched 0 files in 0,00 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/$$IP_PROJECTDIR/*</b> matched 0 files in 0,00 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/$$IP_PROJECTDIR/*/*</b> matched 0 files in 0,00 seconds 

FINER: [Info] <b>C:/Users/louis/.altera.quartus/ip/15.1/**/*</b> matched 0 files in 0,00 seconds 

FINER: >> >> >> initializing BSP Components: 6 seconds 

FINER: [Info] Reading index <b>C:\altera_lite\15.1\ip\altera\altera_components.ipx</b> 

FINER: [Info] <b>C:\altera_lite\15.1\ip\altera\altera_components.ipx</b> described 1698 plugins, 0 paths, in 3,99 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/ip/**/*</b> matched 134 files in 3,99 seconds 

FINER: [Info] Reading index <b>C:\altera_lite\15.1\quartus\sopc_builder\builtin.ipx</b> 

FINER: [Info] <b>C:\altera_lite\15.1\quartus\sopc_builder\builtin.ipx</b> described 82 plugins, 0 paths, in 0,03 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/**/*</b> matched 8 files in 0,03 seconds 

FINER: [Info] Reading index <b>C:\altera_lite\15.1\quartus\common\librarian\factories\index.ipx</b> 

FINER: [Info] <b>C:\altera_lite\15.1\quartus\common\librarian\factories\index.ipx</b> described 151 plugins, 0 paths, in 0,03 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/common/librarian/factories/**/*</b> matched 4 files in 0,05 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/$IP_IPX_PATH</b> matched 1 files in 0,00 seconds 

FINER: [Info] <b>C:\altera_lite\15.1\quartus\sopc_builder\bin\root_components.ipx</b> described 0 plugins, 9 paths, in 4,24 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/quartus/sopc_builder/bin/root_components.ipx</b> matched 1 files in 4,24 seconds 

FINER: >> >> >> initializing BSP Components: 9 seconds 

FINER: >> >> >> initializing BSP Components: 12 seconds 

FINER: >> >> >> initializing BSP Components: 15 seconds 

FINER: >> >> >> initializing BSP Components: 18 seconds 

FINER: [Progress] min: 0 

FINER: [Progress] max: 2 

FINER: [Progress] current: 1 

FINER: [Progress] current: 2 

FINER: [Progress] (1870) searching <b>C:/altera_lite/15.1/nios2eds/components/components.ipx</b> (Nios II Software Tcl Components) 

FINER: [Info] Reading index <b>C:\altera_lite\15.1\nios2eds\components\components.ipx</b> 

FINER: [Info] <b>C:\altera_lite\15.1\nios2eds\components\components.ipx</b> described 18 plugins, 0 paths, in 0,00 seconds 

FINER: [Info] <b>C:/altera_lite/15.1/nios2eds/components/components.ipx</b> matched 1 files in 0,00 seconds 

INFO: Finished initializing BSP components. Total time taken = 7 seconds 

FINER: Searching for BSP components of subtype: IBaseSoftwareElement category: os_software_element 

FINER: Adding catalog card: Altera HAL 

FINER: Adding catalog card: Micrium MicroC/OS-II 

FINER: >> >> >> searching BSP components: 3 seconds 

FINER: Finished searching for BSP components. Total time taken = 2 seconds 

FINER: Executing Tcl Script: "C:\altera_lite\15.1\nios2eds\components\altera_hal\altera_hal_sw.tcl

FINER: Finished executing Tcl Script. 

FINER: Adding Tcl initialized 'Altera HAL' (C:\altera_lite\15.1\nios2eds\components\altera_hal\altera_hal_sw.tcl) os software to catalog 

FINER: BSP type found: Altera HAL(hal - 15.1 - [os_software_element]) 

FINER: Executing Tcl Script: "C:\altera_lite\15.1\nios2eds\components\micrium_uc_osii\micrium_ucosii_sw.tcl

FINER: Finished executing Tcl Script. 

FINER: Adding Tcl initialized 'Micrium MicroC/OS-II' (C:\altera_lite\15.1\nios2eds\components\micrium_uc_osii\micrium_ucosii_sw.tcl) os software to catalog 

FINER: BSP type found: Micrium MicroC/OS-II(ucosii - 15.1 - [os_software_element]) 

SEVERE: The device is not ready 

java.io.IOException: The device is not ready 

at java.io.WinNTFileSystem.canonicalize0(Native Method) 

at java.io.WinNTFileSystem.canonicalize(Unknown Source) 

at java.io.File.getCanonicalPath(Unknown Source) 

at java.io.File.getCanonicalFile(Unknown Source) 

at com.altera.embeddedsw.bsp.utils.LibraryUtils.addSopcProjectPathToLibrarian(LibraryUtils.java:123) 

at com.altera.embeddedsw.bsp.BspFactory.create(BspFactory.java:286) 

at com.altera.embeddedsw.bsp.BspFactory.open(BspFactory.java:165) 

at com.altera.embeddedsw.commandline.bsp.BspGenerateFilesCommand.execute(BspGenerateFilesCommand.java:86) 

at com.altera.embeddedsw.utilities.commandline.AbstractBuildCommandLine.executeCommand(AbstractBuildCommandLine.java:150) 

at com.altera.embeddedsw.commandline.bsp.BspGenerateFilesCommand.main(BspGenerateFilesCommand.java:118) 

 

--- Quote End ---  

 

 

I don't really understand what's going on and can't pinpoint the error. What can I do to fix this? 

 

Regards
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
181 Views

FINER: Adding Tcl initialized 'Micrium MicroC/OS-II' (C:\altera_lite\15.1\nios2eds\components\micrium_u c_osii\micrium_ucosii_sw.tcl) os software to catalog 

FINER: BSP type found: Micrium MicroC/OS-II(ucosii - 15.1 - [os_software_element]) 

SEVERE: The device is not ready 

 

Looks like you are trying to configure the BSP to include the Micrium RTOS. Might be a license issue. Try generating the BSP without the MicroC/OS-II. I doubt you need an OS on your softcore processor.
Reply