Altera_Forum
Honored Contributor
21 years agoProblem with ecos2.0 release
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,