Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12687 Discussions

nios2configtool not able to read target ptf

Altera_Forum
Honored Contributor II
1,113 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
384 Views

 

--- Quote Start ---  

originally posted by aksel@Nov 30 2006, 11:17 PM 

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 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19713) 

--- quote end ---  

 

--- Quote End ---  

 

 

I have same problem. Does anyone know why?
0 Kudos
Reply