Forum Discussion

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

Flash Programmer!

Hi,hippo

I following WiKiHome's "Flash Programmer Guide" try out flash.

I have to test the new kerenl image with nios2-download.

Don't run nios2-terminal, use Hyper-terminal on Windows.

Make sure it runs correctly over the RS-232C COM port.

It'sOK!

But when i programmer image on EPCS flash,than power up my Hyper-terminal message has no any message.

What's problem?

I make sure "sof file" it already program on EPCS flash.

I have a doubt, when i want to program "sof on EPCS flash" and "image on CFI flash" how to select "reset address"?

Can you give me some hint?

PS: my dev board is DE2.

Thank you very much!

NiosQ

6 Replies

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

    Hi NIOSQ:

    You have to select your reset addres in SOPC Builder when building the NIOS system. There you must set it to point to CFI flash.

    I hope this helps,

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

    --- Quote Start ---

    originally posted by luisalba@Mar 27 2007, 02:14 AM

    hi niosq:

    you have to select your reset addres in sopc builder when building the nios system. there you must set it to point to cfi flash.

    i hope this helps,

    luis

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

    --- quote end ---

    --- Quote End ---

    Hi,luisalba

    Thank you for your reply.

    I look "nios2_systems.h" found my EPCS flash can uses space only 800KB,so I thank the size is to small , my build "sof file is 310KB" and "image file is 1300KB".

    Anyone know howe to increase EPCS flash size?

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

    --- Quote Start ---

    originally posted by hippo@Mar 27 2007, 11:18 PM

    i have just updated the wiki page with more details. please check.

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

    --- quote end ---

    --- Quote End ---

    Hi,hippo

    Thank you very much!

    Can you give me DE2_NET v1.4a project?

    My project is DE2_NET v1.1

    Please!

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

    --- Quote Start ---

    originally posted by hippo@Mar 28 2007, 02:17 AM

    you can use v1.5, it should be the same.

    ftp://ftp.altera.com/up/pub/de2/de2_system_v1.5.zip (ftp://ftp.altera.com/up/pub/de2/de2_system_v1.5.zip)

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

    --- quote end ---

    --- Quote End ---

    Hi,hippo

    It&#39;s work!!!

    Thank you very much.

    I try out it many day.

    I deeply appreciated your helped, because you it just can work!

    Thx!

    NiosQ