Altera_Forum
Honored Contributor
19 years agonios2configtool not able to read target ptf
When running nios2configtool with the demo ptf file everything works
nios2configtool --ptf=../../examples/demo_2c35/sopc_system.ptf --cpu=cpu When running nios2configtool with the target ptf file like so (cpu called cpu_0): nios2configtool --ptf=/path_to_ptf/St_cpu.ptf --cpu=cpu_0 it says: Error loading the default hardware template 'nios2_dev_board': Package CYGPKG_HAL_NIOS2, 1 error occurred while reading the CDL data. I would really like to know what the error is that occurred. How do I find out? Can I look in a log-file somewhere? Update: I find that if I edit the file "hal_nios2.cdl" so that the section "cdl_component CYGHWR_MEMORY_LAYOUT" is commented out, the nios2configtool starts the GUI. So I am guessing the error has something to do with the memory layout. Our target contains DDR SDRAM that is not connected to the NIOS. Could this be an issue? Cheers Aksel