Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

programing flash with RS232

Altera_Forum
Honored Contributor II
984 Views

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)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
315 Views

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

kermit and srec download, and has flash programming capability. 

 

Regards, 

--Scott
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

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.
0 Kudos
Reply