--- Quote Start ---
originally posted by grante@Dec 4 2006, 10:20 PM
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
nios2-configure-sof should be a snap to use... it will even browse your cwd for a sof if you don't specify any arguments. --- Quote End ---
No joy.
$ ./nios2-configure-sof dm_1port.sof
Searching for SOF file:
in .
dm_1port.sof
Internal Error: Sub-system: DEV, File: /quartus/ddb/dev/dev_family_info_mgr_body.cpp, Line: 2005
Failed reading FGEN-generated ASCII family info data /home/grante/h/dev_part_manager_auto.part
Stack Trace:
0x373A : ERR_STACKWALKER::get_stack_trace(ERR_STACKWALKER::NEXT_INSTRUCTION**, int, int, void*) + 0x2C (ccl_err)
0x4DC6E : MSG_INTERNAL_ERROR::report(char const*, char const*, char const*, int) + 0xBE (ccl_msg)
0x1725D3 : DEV_FAMILY_INFO_MGR_BODY::read_default_family_data() + 0x21B (ddb_dev)
0x16FC2E : DEV_FAMILY_INFO_MGR_BODY::load_data_from_pdb(DEV_FAMILY_ENUM, DEV_FAMILY_INFO_MGR_BODY::DEV_FAMILY_DATA_TYPE, FIO_PATH const*) + 0x5AA (ddb_dev)
0x16C7B7 : DEV_FAMILY_INFO_MGR_BODY::get_desc_of(DEV_FAMILY_ENUM) + 0xA5 (ddb_dev)
0x11BE47 : DEV_FAMILY_MANAGER::test_trait_of(DEV_FAMILY_ENUM, DEV_FAMILY_TRAIT_ENUM) const + 0x223 (ddb_dev)
0xA0307 : PGMIO_DEVICE_MANAGER::pgmio_process_parts_file(FIO_PATH, bool) + 0x973 (pgm_pgmio)
0xA2277 : PGMIO_DEVICE_MANAGER::PGMIO_DEVICE_MANAGER() + 0x42D (pgm_pgmio)
0x9DA10 : PGMIO_DEVICE_MANAGER::get_device_mgr() + 0x66 (pgm_pgmio)
0x9CEBC : PGM_DEVICE_INDEX::lookup_device(_Dinkum_std::basic_string<char, _Dinkum_std::char_traits<char>, MEM_STL_ALLOCATOR<char> > const&) + 0x36 (pgm_pgmio)
0x109EF : QPGM_FRAMEWORK::create_chain() + 0x239 (quartus_pgm)
0x11B74 : QPGM_FRAMEWORK::process_operation(_Dinkum_std::basic_string<char, _Dinkum_std::char_traits<char>, MEM_STL_ALLOCATOR<char> >*) + 0x806 (quartus_pgm)
0xDB0A : QPGM_FRAMEWORK::post_check_arguments() + 0x1A4 (quartus_pgm)
0x1C563 : (comp_qexe)
0x27DCE : qexe_standard_main(QEXE_FRAMEWORK*, QEXE_OPTION_DEFINITION const**, int, char const**) + 0x26 (comp_qexe)
0x136E2 : qpgm_main(int, char const**) + 0x56 (quartus_pgm)
0x3B3F1 : msg_exe_main(int, char const**, int (*)(int, char const**)) + 0xB7 (ccl_msg)
0x1372A : main + 0x40 (quartus_pgm)
0x15896 : __libc_start_main + 0xE6 (c.so.6)
0xA1E1 : __gxx_personality_v0 + 0x81 (quartus_pgm)
End-trace
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19827)</div>
[/b]
--- Quote End ---
Haven't seen that one before. In general, if nios2-download and debug (GDB or Insight) function, then all else should just work. They all use the same jtag interface to access the FPGA.
What platform (OS and version of tools....Quartus II, Nios II, etc.) are you running? It might be a known issue, though I've not heard of it. If you're running any sort of unsupported OS, especially some odd Linux flavor, it always takes more tweaking to get things functional. I run AMD64-based Gentoo Linux, with just a few modifications for setup/initialization and library path detection issues.
Cheers,
- slacker