Forum Discussion

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

nios2-flash-programmer

Hi,

I'd like download a .sof in memory, so I used this code:
$ sof2flash --input=de2_net.sof --output=de2_net.flash --offset=0x0
$ nios2-flash-programmer --base=0x0 DE2_net.flash

but I think that the --base adress is not good.

<div class='quotetop'>QUOTE </div>

--- Quote Start ---

No CFI table found at adress 0x00000000

Leaving target processor paused[/b]

--- Quote End ---

Should I better create a "srec" file ?

What is the --base adress for the SREC or the FLASH file (in DE2 board) ?

Thanks!

1 Reply

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

    --- Quote Start ---

    originally posted by pairin20@May 15 2006, 07:03 AM

    hi,

    i&#39;d like download a .sof in memory, so i used this code:
    $ sof2flash --input=de2_net.sof --output=de2_net.flash --offset=0x0
    $ nios2-flash-programmer --base=0x0 de2_net.flash

    but i think that the --base adress is not good.

    <div class='quotetop'>quote </div>

    --- quote start ---

    no cfi table found at adress 0x00000000

    leaving target processor paused

    --- Quote End ---

    Should I better create a "srec" file ?

    What is the --base adress for the SREC or the FLASH file (in DE2 board) ?

    Thanks!

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

    [/b]

    --- Quote End ---

    DE2 uses EPCS16 for configuration, not CFI.

    You have to program sof to EPCS.