Forum Discussion

DBarn22's avatar
DBarn22
Icon for New Contributor rankNew Contributor
5 years ago

RAM for NIOS II (with Ethernet)

Background: We are in the process of designing a system that requires an embedded UDP server. Our first prototype uses a MAX10 FPGA to connect to the system hardware and does the fast processing of input, and this communicates with another processor that collates information and transmits it via UDP.

We are currently looking at removing the processor and using a NIOS II instead. I am looking for advice on this.
1) All the Ethernet examples/tutorials that I can find using the NIOS rely on uCOSII. Is it possible to run Ethernet without an OS? If so, is there any information or examples for this?
2) Ideally we would have no external RAM. I can build a uCOSII Hello World application on a DECA development board, using 100kB of RAM. If I change the application very slightly (just including a "%d" in a printf), then it runs out of RAM. I cannot build a system with significantly more than 100kB (presumably the other 100kB of memory blocks is used internally to the NIOS?). Is this expected? i.e. is it possible to run a not insignificant uCOSII application with no external memory.
3) Any other advice/suggestions on writing a UDP server on a MAX10 with minimal external components?

2 Replies