Forum Discussion

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

problem in NIOSII IDE 5.1 Flash Program

Hello!

I newly installed NIOSII_5.1 version.

And tried Hello_led with NiosII evaluation Board(Cyclone_1c12_eval).

It works fine until RUN AS.

After programming the project through flash programmer tool,

it does not work.

I expect that the led on the board are blinking sequencealy.

But no Blinking.

There is no error message as bellow flash-program log;

Please help!!!!!

"# ! /bin/sh# # This file was automatically generated by the Nios II IDE Flash Programmer.# # It will be overwritten when the flash programmer options change.#

cd C:/altera/kits/nios2_51/examples/verilog/niosII_cyclone_1c12_eval/standard/so

ftware/hello_led_0/Debug

# Creating .flash file for the project

$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --inp

ut=hello_led_0.elf --output=ext_flash.flash --boot=$SOPC_KIT_NIOS2/components/al

tera_nios2/boot_loader_cfi.srec

# Programming flash with the project

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x00801088 --id=2335580406 --t

imestamp=1129864794 --base=0x00000000 ext_flash.flash

Using cable "Nios II Evaluation Board [USB-0]", device 1, instance 0x00

Resetting and pausing target processor: OK

Reading System ID at address 0x00801088: verified

: Checksumming existing contents

00000000 : Reading existing contents

Checksummed/read 64kB in 1.4s

00000000 ( 0%): Erasing

Erased 64kB in 0.4s (160.0kB/s)

00000000 ( 0%): Programming

Programmed 1KB +63KB in 1.0s (64.0KB/s)

Device contents checksummed OK

Leaving target processor paused

"

The above message indicates no error.

I assumed that flash programmed anyway.

When the *.sof file is newly loaded, then leds are blinking sequencely.

If reset button is pushed, blinking stops.

The Board works well at NIOSII_1.1 version.

Please help!!!!

aforz

2 Replies

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

    --- Quote Start ---

    originally posted by aforz@Feb 20 2006, 12:27 AM

    hello!

    i newly installed niosii_5.1 version.

    and tried hello_led with niosii evaluation board(cyclone_1c12_eval).

    it works fine until run as.

    after programming the project through flash programmer tool,

    it does not work.

    i expect that the led on the board are blinking sequencealy.

    but no blinking.

    there is no error message as bellow flash-program log;

    please help!!!!!

    "# ! /bin/sh# # this file was automatically generated by the nios ii ide flash programmer.# # it will be overwritten when the flash programmer options change.#

    cd c:/altera/kits/nios2_51/examples/verilog/niosii_cyclone_1c12_eval/standard/so

    ftware/hello_led_0/debug

    # creating .flash file for the project

    $sopc_kit_nios2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --inp

    ut=hello_led_0.elf --output=ext_flash.flash --boot=$sopc_kit_nios2/components/al

    tera_nios2/boot_loader_cfi.srec

    # programming flash with the project

    $sopc_kit_nios2/bin/nios2-flash-programmer --sidp=0x00801088 --id=2335580406 --t

    imestamp=1129864794 --base=0x00000000 ext_flash.flash

    using cable "nios ii evaluation board [usb-0]", device 1, instance 0x00

    resetting and pausing target processor: ok

    reading system id at address 0x00801088: verified

    : checksumming existing contents

    00000000 : reading existing contents

    checksummed/read 64kb in 1.4s

    00000000 ( 0%): erasing

    erased 64kb in 0.4s (160.0kb/s)

    00000000 ( 0%): programming

    programmed 1kb +63kb in 1.0s (64.0kb/s)

    device contents checksummed ok

    leaving target processor paused

    "

    the above message indicates no error.

    i assumed that flash programmed anyway.

    when the *.sof file is newly loaded, then leds are blinking sequencely.

    if reset button is pushed, blinking stops.

    the board works well at niosii_1.1 version.

    please help!!!!

    aforz

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

    --- quote end ---

    --- Quote End ---

    Hi!!!!

    I have found the reason of problem.

    It is caused by missing installing quartusII 5.1 patch.

    Thanks for your interesting.

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

    hello,aforz. Do you solve your question, I meet the same problme with you. Please see my post "Programmer wrong using Nios IDE5.1+SP1".

    can you give me some suggestion? Thanks!

    I have already installed NiosIDE5.1 +sp1