Forum Discussion

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

programing flash with RS232

i'm using

Nios 2 development kit

how can i program the flash using the RS232 (i don't want to use the USB, since it won't be available in my final hardware)

2 Replies

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

    You might want to consider using the u-boot monitor. It supports

    kermit and srec download, and has flash programming capability.

    Regards,

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

    http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif after a talk with altera support this is the answer i got:

    There are two methods of writing software for Nios II. Once uses our new IDE and the other uses what we call the Legacy SDK flow. The IDE only supports programming flash over JTAG, it does not support programming flash via RS232.

    The Legacy SDK flow will support RS232. However, we are recommending that all new designs for Nios II use the IDE instead of the Legacy SDK flow. You can find more information on the differences between the two software flows at:

    http://www.altera.com/literature/an/an350.pdf (http://www.altera.com/literature/an/an350.pdf)

    if you use the Legacy SDK you lose out on all of the benefits provided by the Nios II IDE.

    another option is to write your own RS232 flash programming drivers.