- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I downloaded latest eCos release for NIOS1.1.I installed quartus4.2 and NIOS1.1 on my system to build eCos2.0. When I gave command nios2configtool --ptf=std_1s10.ptf --cpu=nios2 it resulted into errors as mentioned below. c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_SYSCLK_DEV, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_TEXT_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_RODATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_RWDATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_TEXT_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_RODATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/ADMINI~1.WIN/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_RWDATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} I checked nios2_auto.cdl file which is generated automatically. It is like, cdl_option CYGHWR_HAL_NIOS2_TEXT_REGION { display "text region" parent CYGPKG_HAL_NIOS2 flavor data legal_values { } default_value { CYG_HAL_STARTUP == "ROM" ? "UNDEFINED VARIABLE %LARGEST_ROM_MODULE%" : "UNDEFINED VARIABLE % LARGEST_RAM_MODULE%" } description " This option allows you to define the memory region used for the text section. The names of the available memory regions are the names assigned in SOPC builder." } There is nothing specified in legal_values option which is causing problem. This problem is same for all of the above mentioned errors. Can anybody help me with this problem. Thanks and Regards,Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Firstly a quick note on version numbers, since this may cause confusion. eCos 2.0 was released for Nios II 1.0 service pack 1. The version of ecos that has been subsequently released for Nios II 1.1 incorporates a number of bug fixes and enhancments from the public eCos CVS repository. It is therefore not eCos 2.0. It hasn't been assigned an official release number by the eCos community, and so I refer to it simply as "eCos for Nios II 1.1".
I hope that's the version you are trying to run. In any case, I'm guessing that you have assigned the wrong cpu name. The value passed to the --cpu option for nios2configtool is the name assigned to the processor in SOPC builder, rather than the type of processor. In all the Altera example designs the name is simply "cpu", so the command line you were looking for was probably: nios2configtool --ptf=std_1s10.ptf --cpu=cpu
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page