Forum Discussion

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

flash address

hello everyone!

When I upload the .bin of kernel or filesystem file into flash, where can I assign the offset address in nios IDE environment?

I found that there is a file : project_name.stf, can I modify it ! Maybe the offset address could be changed!

Best Regards!

Feiwu

2 Replies

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

    Hi Feiwu,

    > where can I assign the offset address in nios IDE environment?

    In the stf file, e.g.:<div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    <?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?>

    <stf>

    <project name=&#39;PCI5441_linux&#39; ptf=&#39;C:\work\PCI5441\fpga\n2cpu.ptf&#39; cpu=&#39;cpu&#39;>

    </project>

    <location_on_target offset=&#39;0x00800000&#39;>

    flash

    </location_on_target>

    <execution_location>

    sdram

    </execution_location>

    </stf>

    [/b]

    --- Quote End ---

    > I found that there is a file : project_name.stf, can I modify it !

    Yep ... that&#39;s the one.

    Regards,

    --Scott