Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

mk_target_board and Quartus/Nios2 ver 5.1 fails

Hi

I'm getting script errors when using the mk_target_board util. when using Quartus 5.1 and Nios2 5.1

/cygdrive/c/altera/work/fpga/rev3/oipax_flash_loader
$ mk_target_board --name=TEST_BOARD --family=CycloneII --clock=10
0 --index=1 --buffer_size=4096 --class=TEST_FLASH_LOADER --verbose
Make Target Board version 1.01
Switch summary:
   Verbose mode enabled.
   Board name: "TEST_BOARD"
   Board class: TEST_FLASH_LOADER
   Device family: "Cyclone II"
   Clock frequency: 100000000hz
   Payload buffer size: 4096 bytes
ERROR:
c:/altera/kits/nios2_51/bin/create-board.pl 1279 CALLED (main)
 c:/altera/kits/nios2_51/bin/create-board.pl 99 CALLED (cb_setup_directories)
  c:/altera/kits/nios2_51/bin/create-board.pl 511 CALLED (europa_utils::find_com
ponent_dir)
   /cygdrive/c/altera/quartus51/sopc_builder/bin/europa/europa_utils.pm 2016 CAL
LED (europa_utils::ensure_class_ptfs) WHERE
'get_class_ptf and ensure_class_ptfs must be called with g{system_directory}' OC
CURRED on /cygdrive/c/altera/quartus51/sopc_builder/bin/europa/europa_utils.pm 1
909

I've tried to reinstall Quartus 5.1, Nios2 5.1 but the error persists.

has anybody seen this before?

Regards.

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'll second the motion by slacker! You WILL get those errors if you don't follow that workaround (it doesn't work out of the box). My problem is that when I do it from the command line as instructed - it gets all the way through erasing and programming, and then the verify fails and the contents of flash are incorrect. Even though I have tested in a program that the flash device works fine as connected.

    Let's ponder this one. Altera never once tried it on their own..??

    http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You need to create yourself a Board Description, using the editor in SOPC Builder

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You need to create yourself a Board Description, using the editor in SOPC Builder