Forum Discussion
Altera_Forum
Honored Contributor
15 years agoLarry, which Stratix device you are using? You need more onchip memory if you haven't external one. You can change this in SOPC builder. If you don't have enough ram resources you have to reduce your code. Running Iniche Stack in superloop mode instead of using uCosII is a possibility. Other way is to use a smaller TCP/IP stack. For older Nios2 versions Altera was providing a so called lightweigt IP stack. But it I think it wokrs only for 10/100 Ethernet (with LAN91c111 MAC Chip).
An other way to reduce code is discussed here: http://www.alteraforum.com/forum/showthread.php?t=18376&highlight=lightweight (http://www.alteraforum.com/forum/showthread.php?t=18376&highlight=lightweight) I'm using Iniche in superloop mode and TSE-Mac from Altera. Depending on firmware I need about 275 up to 340 kBytes (external) RAM. What do you mean with slave mode operation? May be you could transfer a reduced TCP/IP protocoll engine to hardware. But you have to change/extend the FPGA design in that case. Jens